Closed Bug 306971 Opened 19 years ago Closed 19 years ago

Blank area appears above preferences tree when collapsing it

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9alpha1

People

(Reporter: sgautherie, Assigned: neil)

References

Details

(Keywords: regression)

Attachments

(2 files)

[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b) Gecko/20050217] (<-- 1.8b1 !)
(W98SE)

No bug.

[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.9a1) Gecko/20050902 SeaMonkey/1.1a]
(nightly) (W98SE)
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.9a1) Gecko/20050903 SeaMonkey/1.1a]
(nightly) (W98SE)

1. Open Browser Preferences
2. Expand 1+ node
3. Scroll to bottom
4. Collapse 1+ node

R. The tree moves down;
   instead of staying at the top of the window.
Ewww. I remember at one point I had it such that it didn't scroll up and left
blank space at the bottom but this is definitely worse :-)
Another regression from bug 212789 - the old code didn't bother updating hidden
scrollbars because it caused the range to be negative.
Attached patch Proposed patchSplinter Review
Since we can't early return any more I copied the horizontal scrollbar code.
Assignee: prefs → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Attachment #194786 - Flags: superreview?(roc)
Attachment #194786 - Flags: review?(roc)
Blocks: 212789
Severity: minor → normal
Component: Preferences → XP Toolkit/Widgets: Trees
OS: Windows 98 → All
Product: Mozilla Application Suite → Core
Hardware: PC → All
I saw something like this yesterday or this AM in the 31 or 02 trunk, but in
history. When I collapsed the last open folder, a column of empty twisties (all
blank to their right) was left above the valid folders. I have not been able to
repro.
Attached image screenshot
What I mentioned in comment 4 just happened again in same 2005090203 OS/2
trunk.
Comment on attachment 194921 [details]
screenshot

Yup, that's the same bug. The basic bug is that the top line is negative.
Anything painted above line 0 is just basically random.
Attachment #194786 - Flags: superreview?(roc)
Attachment #194786 - Flags: superreview+
Attachment #194786 - Flags: review?(roc)
Attachment #194786 - Flags: review+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Verified FIXED using SeaMonkey 1.1a

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050917 Mozilla/1.0
Status: RESOLVED → VERIFIED
Target Milestone: --- → mozilla1.9alpha
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: