Closed Bug 251941 Opened 21 years ago Closed 20 years ago

listbox vertical scrollbar is being misplaced

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: mark, Unassigned)

Details

Attachments

(4 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 When there is a need to show a vertical scrollbar for a listbox it is rendered at the right most edge of the content. Native listbox of windows draw the scrollbar at the right edge of the viewing port. In other words, the way the vertical scrollbar is handled now a user has to use the horizontal scrollbar in order the get the vertical one into a view, while the native listbox have it always in the view. In an effort to find out where the location of the vertical scrollbar is set I have reached the line "vRect.x = scrollBarRight ? scrollAreaRect.XMost() : clientRect.x;" in function nsGfxScrollFrameInner::Layout in nsGfxScroll.cpp IMHO scrollAreaRect.XMost() should be replaced by clientRect.XMost(), but when I have done it I lost the scrollbar completely. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Attached image A native listbox
dup of bug 55368?
No. The scrollbars here do not disapear, they exist but they are invisible to the user if there is also a horizontal scrollbar. Unlike the native listbox in which the scrollbars are alway visible.
They exist in the other bug too - read the description and dups. Resolving as dup. *** This bug has been marked as a duplicate of 55368 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
This is a XUL bug, that was a theme bug, how can they be a duplicates of each other is beyond me. Reminds me that I have decided not to report XUL bugs, I wonder why I bothered to report this one.
Reporter is correct, this is not a dupe.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
If this is a XUL bug where is the XUL that demonstrates the bug?
And here is a XUL that demonstrates the problem. Launch it in a seperate window, play with the window size to get a small viewable area, and then use the horizontal scrollbar to scroll.
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago20 years ago
Resolution: --- → EXPIRED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: