Closed Bug 149406 Opened 23 years ago Closed 22 years ago

Theme prefpanel - Uninstall button jumps around for long theme names

Categories

(Core Graveyard :: Skinability, defect)

x86
Windows 2000
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kmdrms, Assigned: bugs)

References

Details

Attachments

(2 files, 2 obsolete files)

When theme name is too long, like 'orbit 3+1 1.0rc3 0.0.4' preferences form doesn't resize or truncate name, unistall button is half visible.
Build ID ? -> skinability
Assignee: Matti → ben
Component: Browser-General → Skinability
QA Contact: imajes-qa → pmac
build ID ? it was rc3
reporter: can you reproduce this bug with a recent build of mozilla (for example, 1.2)? if so, please comment again with details. if not, please resolve this bug as WORKSFORME. thanks.
I have prepared a demostration for you fellahs. Please visit my page http://www.x.dsl.pipex.com/ Chris P.S the build ID is 2002101612
Just wanted to let you know it's still there. latest build id is 2003020308
Confirming in 1.3b. Strangely though, the position of the button varies depending on what theme was highlighted before selecting the current one. Steps: 1) Install Skypilot Classic & Pinball themes. 2) In Themes pref panel, highlight themes in the following order, noting how much text is shown from the Skypilot uninstall button: a - Classic b - Skypilot c - Pinball d - Skypilot e - (Click empty space) Nothing highlighted Actual Results: Both the Skypilot button and the screenshot jump all over the place. In particular, by (d) above, nearly half the button is missing, while at (e) the button is fully visible. Expected results: Button & screenshot don't jump around.
Status: UNCONFIRMED → NEW
Ever confirmed: true
updating to more descriptive summary
Summary: preferences-appearance-themes → Theme prefpanel - Uninstall button jumps around for long theme names
*** Bug 149457 has been marked as a duplicate of this bug. ***
*** Bug 160113 has been marked as a duplicate of this bug. ***
This patch modifies pref-themes.xul to place the theme description in a separate hbox below the uninstall button. The left offset of the uninstall button for a given theme was being affected by the width of the description field of the previously highlighted theme. This patch makes it so that only the title & author fields can directly affect the left offset of the uninstall button. Specifically, the effects of this patch are: 1 - the uninstall button is more resistant to being pushed off-window. It takes a longer title or author field than before to cause the bug. 2 - The description field can extend underneath the uninstall button, making the effects described in bug 149453 and bug 149448 less likely also. 3 - zero visual difference of the theme pref window beside what's described in #2 above. This patch doesn't fix the bug, but makes its occurrence much less likely than before.
The upper case shows the effect of a long description on the theme window before & after the patch. The lower case shows how the button behaves in in step d from comment 6. BTW, the diff is from current cvs, and I tested in 1.3beta without problems.
Attachment #115732 - Flags: review?(andreww)
Attachment #115728 - Flags: review?(andreww)
Attachment #115732 - Flags: review?(andreww)
Sorry, missed the accesskey in the last patch. It's back now.
Attachment #115728 - Attachment is obsolete: true
Attachment #115760 - Flags: review?(andreww)
Attachment #115728 - Flags: review?(andreww)
Attachment #115760 - Flags: review?(andreww) → review?(neil)
Comment on attachment 115760 [details] [diff] [review] newpatch - don't remove accesskey >+ <hbox> >+ <vbox flex="1"> >+ <label id="description" flex="1"/> > </vbox> > </hbox> This is far to complicated. Just remove the flex="1" from the label, then you don't need either of the boxes.
Attachment #115760 - Flags: review?(neil.parkwaycc.co.uk) → review-
Right you are. New patch addressing previous comment.
Attachment #115760 - Attachment is obsolete: true
Attachment #122963 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #122963 - Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #122963 - Flags: superreview?(jaggernaut)
Comment on attachment 122963 [details] [diff] [review] Neil's simple patch sr=jag
Attachment #122963 - Flags: superreview?(jaggernaut) → superreview+
Attachment #122963 - Flags: approval1.4?
Comment on attachment 122963 [details] [diff] [review] Neil's simple patch a=asa (on behalf of drivers) for checkin to 1.4
Attachment #122963 - Flags: approval1.4? → approval1.4+
Guessing that Joe doesn't have cvs access, so checked fix in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: