Closed Bug 602895 Opened 9 years ago Closed 9 years ago

When the window gets too small for the deck we need to show a horizontal scrollbar


(Toolkit :: Add-ons Manager, defect)

Not set



Tracking Status
blocking2.0 --- final+


(Reporter: mossop, Assigned: mossop)



(1 file, 1 obsolete file)

No description provided.
We have certain content that we cannot wrap or do anything better with now and when the window gets so small that that overflows we must add a global horizontal scrollbar. This is probably going to look like crap.
blocking2.0: --- → final+
Attached patch patch rev 1 (obsolete) — Splinter Review
This is about the best compromise I could come up with given the constraints. It makes the list headings start to be hidden when the window gets too small. We can't make the whole view scrollable since that would scroll the vertical scrollbar for the list out of view in a of of cases. All in all it is very usable except when getting to window sizes that are unreasonably small. Only downside is I couldn't get it to work and keep the global status messages wrapping and had to switch to scrolling.
Assignee: nobody → dtownsend
Attachment #487414 - Flags: review?(bmcbride)
Whiteboard: [has patch][needs review Unfocused]
Comment on attachment 487414 [details] [diff] [review]
patch rev 1

Have been playing around with this, and it seems like the best approach. Couple of things would make it less painful though (the first being far more important than the second):

* Add a tooltip to the warnings, so when they're cropped, you can still see the full message. Would also like the tooltip on the icon as well (see next point).

* When the window gets small enough (before the sorters go off-screen), the warning text should just collaspe (ie, stop being visible). This makes it so the sorters are still usable, and removes the massively-cropped text you can't read anyway. With the tooltip on the icon (which would still be visible), the message isn't completely lost - and the "Enable" button would still show, and that already has its own tooltip. The icon might need some glow-effect or something to make it stand out more in this case. I can make the icon stand out more (or, all of this point) in bug 601022, if you want.

Something like this works:

@media all and (max-width: 550px) {,, {
    display: none;
Attachment #487414 - Flags: review?(bmcbride) → review-
Attached patch patch rev 2Splinter Review
Updated, though I found that 550px was rather too small so I upped it to 700.
Attachment #487414 - Attachment is obsolete: true
Attachment #487985 - Flags: review?(bmcbride)
Comment on attachment 487985 [details] [diff] [review]
patch rev 2

Sorry for the delay - I kinda forgot about this... multiple times :(

(In reply to comment #4)
> Updated, though I found that 550px was rather too small so I upped it to 700.

Oh, I had tried 550px with bug 601022 applied (the category names collapse at 800px) - without that, 550px would indeed be too small. I'll play around with that threshold in 601022, and see what feels good with all those other changes.
Attachment #487985 - Flags: review?(bmcbride) → review+
Not sure if this is worth a Litmus test or not.
Closed: 9 years ago
Flags: in-testsuite-
Flags: in-litmus?
Resolution: --- → FIXED
Whiteboard: [has patch][needs review Unfocused]
(In reply to comment #6)
> Not sure if this is worth a Litmus test or not.

With the changes on bug 601022 we now support really small window sizes, which are rarely used. So I would tend to say, no we don't need a Litmus test for it.

Verified fixed with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b8pre) Gecko/20101204 Firefox/4.0b8pre ID:20101204030328
Flags: in-litmus? → in-litmus-
OS: Mac OS X → All
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.