Closed Bug 342841 Opened 18 years ago Closed 18 years ago

Scrolling arrow should look disabled when you can't scroll in its direction

Categories

(Toolkit :: UI Widgets, defect, P2)

1.8 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla1.8.1beta1

People

(Reporter: ancestor.ak, Assigned: asaf)

References

(Blocks 1 open bug)

Details

(Keywords: fixed1.8.1, Whiteboard: 181b1+)

Attachments

(4 files, 3 obsolete files)

Scrolling arrows introduced by patch in bug 318168 fail to indicate that you have reached the end of the tab bar and you can't scroll any further in that direction. As a result, user can't tell (i.e. has no visual indication) where he is in the tab bar.
Flags: blocking-firefox2?
Disabled appearance > hidden, since otherwise there's annoying jumps.

Not a blocker, will take patch.
Severity: normal → trivial
Flags: blocking-firefox2? → blocking-firefox2-
Can a :hover state be added to the arrows as well under this bug? Maybe a popup list of the tabs that are not yet visible?
*** Bug 342907 has been marked as a duplicate of this bug. ***
adam (and ben) point out this is needed because otherwise, it can be hard to know if you have more tabs (to the left or right)
Assignee: nobody → sspitzer
OS: Windows XP → All
Hardware: PC → All
This is a blocker I think, probably not for b1 though. Since this is new functionality, and we're going to crow about it, it should work right. Right now it's a bit misleading and has been confusing the people I've seen trying to use it. 
Flags: blocking-firefox2- → blocking-firefox2+
Whiteboard: 181b1+
Status: NEW → ASSIGNED
Target Milestone: --- → Firefox 2 beta1
in order to prevent the ui from moving out from underneath the user while scrolling (and they hit the edge), mconnor and I agree that disabling is the right fix.

see related bug #222274
Summary: Scrolling arrow should be hidden or look disabled when you can't scroll in its direction → Scrolling arrow should look disabled when you can't scroll in its direction
Taking. I'm attaching the binding changes. Could someone provide disabled arrows images (at least temporary images)?
Assignee: sspitzer → bugs.mano
Severity: trivial → normal
Status: ASSIGNED → NEW
Priority: -- → P2
Status: NEW → ASSIGNED
Component: Tabbed Browser → XUL Widgets
Product: Firefox → Toolkit
QA Contact: tabbed.browser → xul.widgets
Target Milestone: Firefox 2 beta1 → mozilla1.8.1beta1
Version: 2.0 Branch → 1.8 Branch
Attached patch patch (binding changes only) (obsolete) — Splinter Review
This is just the binding changes.

(side note: this will probably also fix bug 222274 if vertical disabled arrows images are provided as well ;) )
Attachment #227984 - Flags: second-review?(mconnor)
Attachment #227984 - Flags: first-review?(sspitzer)
Depends on: 343097
Attached patch patch (binding changes only) (obsolete) — Splinter Review
typos fixes
Attachment #227984 - Attachment is obsolete: true
Attachment #227986 - Flags: second-review?(mconnor)
Attachment #227986 - Flags: first-review?(sspitzer)
Attachment #227984 - Flags: second-review?(mconnor)
Attachment #227984 - Flags: first-review?(sspitzer)
Comment on attachment 227986 [details] [diff] [review]
patch (binding changes only)

r=sspitzer

as mentioned on irc, please remove these two lines from the _updateScrollButtonsDisabledState() method:

+            var isLTR = window.getComputedStyle(this.parentNode, "")
+                          .direction == "ltr";
Attachment #227986 - Flags: first-review?(sspitzer) → first-review+
Attachment #227986 - Flags: second-review?(mconnor) → second-review+
Actually, it looks like we do have disabled arrows images.
mozilla/toolkit/content/widgets/scrollbox.xml 1.11
Attachment #227986 - Attachment is obsolete: true
Attachment #228022 - Flags: approval1.8.1?
Comment on attachment 228022 [details] [diff] [review]
patch as checked in (binding changes only)

This can't land on the 1.8 branch without the fix for bug 314350.
Attachment #228022 - Flags: approval1.8.1?
Depends on: 314350
Attached patch Winstripe changes (obsolete) — Splinter Review
Attachment #228027 - Flags: first-review?(mconnor)
Comment on attachment 228027 [details] [diff] [review]
Winstripe changes

r=me, with the missing piece (dis) in the right places
Attachment #228027 - Flags: first-review?(mconnor) → first-review+
mozilla/toolkit/themes/winstripe/global/scrollbox.css 1.7
Attachment #228027 - Attachment is obsolete: true
This makes the above magic work for menus (e.g. bookmark folders).
Attachment #228029 - Flags: first-review?(mconnor)
Attachment #228029 - Flags: first-review?(mconnor) → first-review+
Comment on attachment 228029 [details] [diff] [review]
make this work for legacy autorepeat-based scrollboxes (checked in)

mozilla/toolkit/content/widgets/scrollbox.xml 1.12
Attachment #228029 - Attachment description: make this work for legacy autorepeat-based scrollboxes → make this work for legacy autorepeat-based scrollboxes (checked in)
Attachment #228032 - Flags: first-review?(mconnor)
Attachment #228032 - Flags: first-review?(mconnor) → first-review+
Comment on attachment 228032 [details] [diff] [review]
Pinstripe changes (checked in)

mozilla/toolkit/themes/pinstripe/global/scrollbox.css 1.5
Attachment #228032 - Attachment description: Pinstripe changes → Pinstripe changes (checked in)
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: 181b1+ → 181b1+ branch landing is pending approval for 314350 and 343097
Comment on attachment 228022 [details] [diff] [review]
patch as checked in (binding changes only)

Asking for 181approval now that the fix for bug 314350 is on the branch (my request here is on the entire set of patches for this bug).
Attachment #228022 - Flags: approval1.8.1?
Comment on attachment 228022 [details] [diff] [review]
patch as checked in (binding changes only)

All patches approved for 1.8.1 drivers.
Attachment #228022 - Flags: approval1.8.1? → approval1.8.1+
Fixed on 1.8 branch for beta 1 (branch patch is on bug 318168).
Keywords: fixed1.8.1
Whiteboard: 181b1+ branch landing is pending approval for 314350 and 343097 → 181b1+
Depends on: 402219
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: