Closed Bug 345399 Opened 19 years ago Closed 1 year ago

arrowscrollbox - update scroll buttons disabled state when the scrollbox width is changed

Categories

(Toolkit :: UI Widgets, defect)

defect
Points:
2

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: asaf, Assigned: dao)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [fidefe-tabgrps-tabbrowser])

Attachments

(1 file)

In the arrowscrollbox binding, we're disabling a scroll button when there's no where to scroll in the direction it points to. We're updating its disabled state once the scrollbox overflows (at the same time we show the scroll buttons) and when the scrollbox is scrolled. However, we don't update its disabled state when the width of the boxObject of the scrollbox is changed, see bug 343585 for example. See bug 343585 comment 2 for a proposed solution.
Version: unspecified → Trunk
(In reply to comment #0) > See bug 343585 comment 2 for a proposed solution. Well we can't add a 'box has changed size event' since that would require firing many events at a time, but it could be done by supporting a 'resize' event on the popup. Is that sufficient for this case?
Severity: normal → S3
Blocks: 1913641
Depends on: 1913322
Flags: needinfo?(dao+bmo)
Assignee: nobody → dao+bmo
Blocks: 1907099
Points: --- → 2
Flags: needinfo?(dao+bmo)
Whiteboard: [fidefe-tabgrps-tabbrowser]
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5a856bace4f9 Update scroll buttons' disabled state when the scrollbox width changes. r=emilio,dwalker,tabbrowser-reviewers
Blocks: 1446134
Blocks: 1850354
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
Duplicate of this bug: 1913641
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: