Closed Bug 57178 Opened 24 years ago Closed 24 years ago

xp filepicker scrollbar hidden when dir menulist very wide

Categories

(Core :: XUL, defect, P3)

Other
FreeBSD
defect

Tracking

()

RESOLVED FIXED
mozilla0.9

People

(Reporter: pete, Assigned: bryner)

Details

Attachments

(2 files)

Using the file picker, i loose scrollbars when i start getting deep into my dir
tree.

They come back if i resize the FP window to the width of the dir tree string
displayed.
This is on the branch.

--pete
Target Milestone: --- → Future
don't see this on Linux - How deep?  ->future
I'm seeing this on linux.

Do a ln -s . someveryveryverylongname, then go into that dir a few (5 or so) times.
What happens is that the dir select menulist at the top resizes and the tree
resizes with it. The right side goes out of view, thus hiding the scrollbar.

Suggested solutions:
1) make this menulist use an ellipsis at the beginning instead of resizing
2) resize the whole window along with the rest
Summary: File picker looses scrollbars when dir list gets long → xp filepicker scrollbar hidden when dir menulist very wide
cc'ing some people, updating summary.
Thanks Jag, but I think 'future' is the right place for this.
Attached image image
->bryner
Assignee: trudelle → bryner
Status: NEW → ASSIGNED
mozilla 0.9, doesn't sound too hard to fix
Target Milestone: Future → mozilla0.9
Nope.

Ben suggested something like adding ``crop="left"'' to the menulist should do
the trick, except it currently doesn't. Either we need to add flex attribs in
places I haven't discovered yet, or there's a bug.
Attached patch patchSplinter Review
ok, we have a fix.  In addition to adding crop=left for the menulist, there was
a bug in the modern skin's XBL binding for menulist- flex=1 is needed on the
xul:text element in order for cropping to work properly.

ben, hewitt, can you review this?
r=hyatt
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: