Closed
Bug 298704
Opened 20 years ago
Closed 20 years ago
richlistbox should call ensureElementIsVisible and not scrollToElement in selectedItem
Categories
(Toolkit :: UI Widgets, defect)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
Details
Attachments
(2 obsolete files)
The init method still needs to call scrollToElement but selectedItem should only call ensureElementIsVisible otherwise when selecting an item it will always be scrolled to the top of the viewable list even when it is already in view.
| Assignee | ||
Comment 1•20 years ago
|
||
doron, is this an acceptable approach?
Comment 2•20 years ago
|
||
Comment on attachment 187235 [details] [diff] [review] patch r=me, you do need a toolkit r (our beloved mconnor)
Attachment #187235 -
Flags: second-review?(mconnor)
Attachment #187235 -
Flags: first-review+
Attachment #187235 -
Flags: approval-aviary1.1a2?
After applying this patch to my tree the extension manager returned to the behavior it had before the fix for bug 298524 landed. After selecting an extension and reopening the extensions manager the list is scrolled so that the selected extension is always just out of view.
| Assignee | ||
Updated•20 years ago
|
Attachment #187235 -
Attachment is obsolete: true
Attachment #187235 -
Flags: second-review?(mconnor)
Attachment #187235 -
Flags: approval-aviary1.1a2?
| Assignee | ||
Comment 4•20 years ago
|
||
This fixes the mistake in the previous patch. I won't be around for the next day or two so I won't be able to pester someone for a checkin of this if it gets approved.
Attachment #187241 -
Flags: first-review?(mconnor)
Attachment #187241 -
Flags: approval-aviary1.1a2?
Updated•20 years ago
|
Flags: blocking1.8b3?
| Assignee | ||
Comment 5•20 years ago
|
||
Comment on attachment 187241 [details] [diff] [review] patch Benjamin - this approach already has doron's approval.
Attachment #187241 -
Flags: first-review?(mconnor)
Attachment #187241 -
Flags: first-review?(benjamin)
Attachment #187241 -
Flags: approval-aviary1.1a2?
| Assignee | ||
Updated•20 years ago
|
Assignee: nobody → rob_strong
Updated•20 years ago
|
Attachment #187241 -
Flags: first-review?(benjamin) → first-review+
| Assignee | ||
Updated•20 years ago
|
Attachment #187241 -
Flags: approval-aviary1.1a2?
| Assignee | ||
Comment 6•20 years ago
|
||
This bug fixes the Extension Manager and Download Manager to scroll everytime an item is selected and it isn't already located at the top of the view. It is a simple fix and would be a good thing to get in 1.1a2... I've been running the patch as is since I submitted it and a variation of it for over a week without any harmful side effects.
Updated•20 years ago
|
Attachment #187241 -
Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
| Assignee | ||
Updated•20 years ago
|
Whiteboard: [checkin needed][a+]
| Assignee | ||
Comment 7•20 years ago
|
||
checked in on trunk.
Status: NEW → RESOLVED
Closed: 20 years ago
Flags: blocking1.8b3?
Resolution: --- → FIXED
| Assignee | ||
Updated•20 years ago
|
Attachment #187241 -
Attachment is obsolete: true
| Assignee | ||
Updated•20 years ago
|
Whiteboard: [checkin needed][a+]
You need to log in
before you can comment on or make changes to this bug.
Description
•