Closed
Bug 280014
Opened 20 years ago
Closed 2 years ago
combobox dropdown vertical scrollbar unreachable if it's wider than the screen
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jlb.for, Unassigned)
References
()
Details
(Keywords: helpwanted)
Attachments
(1 file)
|
2.49 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 when a listbox has at least one item with a very long length, the vertical scrollbar becomes unreachable (listbox size can be larger than screen) listbox right side should be kept at screen right. an horizontal scrollbat would be usefull in these cases. Reproducible: Always Steps to Reproduce: 1.load a listbox with a very long text 2.open the listbox 3. or go to the url above and select the first listbox Expected Results: display a reduced size listbox droppdown list (adjust right side of dropdown to screen size). no workarround, excepted using another browser.
Bug 265614 is in the same general area (drop-down widths). By the way, you can work round this by using the keyboard/scrollable mouse to go down the list.
(In reply to comment #1) > Bug 265614 is in the same general area (drop-down widths). > > By the way, you can work round this by using the keyboard/scrollable mouse to go > down the list. Bug 265614 rather refers to a bad calculation of the scrolldown width when the vertical scrollbar comes on. for large texts, if the dropdown width is not sufficient to display the whole text, then an horizontal scollbar should be added, which could be done by adding listbox::SetHorizontalExtent(maxtextwidth) function to the source code. I hope that this will be corrected in a future version. For listboxes with many items, using the mouse wheel is not very fast to jump to the needed item, and it's not smart to have a listbox part going outside of the display... Thanks for reply.
Comment 3•20 years ago
|
||
Maybe we should just set the dropdown menu width to the button width, always?
Assignee: firefox → nobody
Status: UNCONFIRMED → NEW
Component: General → Layout: Form Controls
Ever confirmed: true
OS: Windows XP → All
Product: Firefox → Core
QA Contact: general → layout.form-controls
Version: unspecified → Trunk
Yes, this is an idea, assuming that in case of longer items you add an horizontal scrollbar to the dropdown (sethorizontalextent).
Comment 5•20 years ago
|
||
The button width? Which button? I assume we're talking about comboboxes, not listboxes, by the way?
Comment 6•20 years ago
|
||
(In reply to comment #5) > The button width? Which button? I assume we're talking about comboboxes, not > listboxes, by the way? Yes, comboboxes. By "button" I meant the width of the combobox.
Comment 7•20 years ago
|
||
The border-width to be precise.
Comment 8•20 years ago
|
||
People seem to pretty commonly set "width" on the <select> to something too small (that is, I commonly see dropdowns that are wider than the display area of the combobox). I'm ok with constraining the popup size somehow, but constraining to the width of the <select> is too small...
I am very sorry to write this in that thread, but I think that my email address has been captured by a virus sender. I will destroy that address soon. can somebody have a look at what to do to avoid this ? forums seems to be the starting point for these practices. ciao.
Comment 10•18 years ago
|
||
If we used our normal popup positioning code and constrained to the size of the screen, that would work....
Keywords: helpwanted
Comment 11•17 years ago
|
||
Neil do you think that would be somewhat feasible here?
Summary: listbox vertical scrollbar unreachable → combobox dropdown vertical scrollbar unreachable if it's wider than the screen
Comment 12•17 years ago
|
||
Do you mean something like calling the code in nsMenuPopupFrame::SetPopupPosition but for the select frame? Does this only affect the width and not the height? If so, it sounds like it would be easier just to reduce the size of the select popup by the amount it is offscreen, or move it by that amount.
Comment 13•17 years ago
|
||
Comboboxes limit the height to no more than half of screen, so yeah. This is width only. Popups have to do the same thing, so it would be really nice if we could share the code somehow...
Comment 16•17 years ago
|
||
Updated•15 years ago
|
Hardware: x86 → All
Comment 20•9 years ago
|
||
Is there still a chance, that this will be fixed someday?
Comment 21•9 years ago
|
||
Duplicate of this bug: bug#883895
Updated•2 years ago
|
Severity: normal → S3
Comment 22•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 5 duplicates.
:emilio, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Flags: needinfo?(emilio)
Comment 23•2 years ago
|
||
e10s selects fixed this.
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(emilio)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•