Closed Bug 563076 Opened 16 years ago Closed 15 years ago

Minimum width for pane sidebar to prevent confusion in add-ons manager

Categories

(Toolkit :: Add-ons Manager, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

VERIFIED WONTFIX
Tracking Status
blocking2.0 --- -

People

(Reporter: aryx, Assigned: Unfocused)

References

Details

(Whiteboard: [AddonsRewriteTestday][rewrite])

Attachments

(1 file)

Implement minimum width for pane sidebar in add-ons manager to prevent confusion.
Whiteboard: [rewrite]
Blair, do we wanna cover this together with bug 553469?
Whiteboard: [rewrite] → [AddonsRewriteTestday][rewrite]
(In reply to comment #1) > Blair, do we wanna cover this together with bug 553469? I'd like Boriss's input on this first (see bug 553469 comment 6), but assuming that is the solution we want, then it makes sense to keep this bug, and mark bug 553469 as WONTFIX, rather than change the meaning of it.
Attached patch Patch v1Splinter Review
Alright, we're taking this approach. This patch also fixes the ID of the left pane (which was previously "right-pane"), and saves/restores the width of the left pane (sadly, persist/localstore doesn't seem to work in tabs).
Assignee: nobody → bmcbride
Status: NEW → ASSIGNED
Attachment #443568 - Flags: review?(robert.bugzilla)
Neil, Firefox will be adding the add-ons manager to a tab and will likely add other UI in tabs in the future. I see you've had discussions regarding using persists in content previously in the newsgroups and wanted to get your insight into what can be done for this use case. Thanks
An unfortunate side effect of bug 329677 is that persist only works on nsIURLs. But about: URIs aren't nsIURLs. So nothing gets persisted. (Presumably nobody noticed that about:config no longer persists its sort attributes. If only the warning screen had used persistence, then maybe someone would have noticed...)
Comment on attachment 443568 [details] [diff] [review] Patch v1 Mossop, though it appears there is no way to use persists in this UI atm I'd prefer not persisting until a better solution for persists is created other than using prefs. What do you think?
Attachment #443568 - Flags: review?(dtownsend)
(In reply to comment #5) > An unfortunate side effect of bug 329677 is that persist only works on nsIURLs. > But about: URIs aren't nsIURLs. So nothing gets persisted. (Presumably nobody > noticed that about:config no longer persists its sort attributes. If only the > warning screen had used persistence, then maybe someone would have noticed...) Is this something that can be fixed?
Yes; redesign persistance to not suck (e.g. use a string pair, not a string, as the key).
Comment on attachment 443568 [details] [diff] [review] Patch v1 Let's just do the min width for now and sort out persistence separately if we can get the platform to cooperate. What is the max-width needed for?
Attachment #443568 - Flags: review?(dtownsend) → review-
Attachment #443568 - Flags: review?(robert.bugzilla)
As spoken with Blair this patch will also fix the wrong naming of the left-pane. It's id right now is "right-pane". We should fix it before any add-on author starts to create overlays for the add-ons manager. We also need this fixed for our Mozmill tests. Blair will work on a new patch by tomorrow.
blocking2.0: --- → ?
Not blocking. Blair, you have r=me on just renaming the ID if you want to get that checked in anyway.
blocking2.0: ? → -
(In reply to comment #11) > Not blocking. Blair, you have r=me on just renaming the ID if you want to get > that checked in anyway. Thanks, just did exactly that in bug 569797.
Depends on: 571598
This is not needed anymore, since its no longer resizable.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: