Closed
Bug 149448
Opened 22 years ago
Closed 21 years ago
Themes with Long Descriptions Scroll "Get New Themes" Out of View
Categories
(Core Graveyard :: Skinability, defect)
Core Graveyard
Skinability
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: unmobile+mozbugs, Assigned: durbacher)
References
Details
(Whiteboard: DUPEME)
Attachments
(3 files, 4 obsolete files)
(deleted),
text/rdf
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
patch
|
neil
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
If a theme were created with an excessively long description, the link at the
bottom of the Themes pref-panel would no longer be visible. This results from
the "Get New Themes" link being included in the text area used for display of
the description. Note that, when a theme has an excessively long description,
some of the description may no longer be visible either.
Reporter | ||
Comment 1•22 years ago
|
||
This is a modified version of chrome.rdf with the description of the classic
theme repeated numerous times, causing the "Get New Themes" link to be pushed
off-screen when the "Classic" theme is highlighted.
To use, close Mozilla, copy this file over chrome.rdf in the Mozilla\chrome
directory, reopen Mozilla, open the prefs dialog, select Appearance|Themes, and
highlight "Classic".
Expected Result:
"Get New Themes" link remains in a fixed position, maintaining UI consistency.
Actual Result:
"Get New Themes" link is pushed down by the long description text, to the point
that it is no longer visible to the user.
Reporter | ||
Comment 2•22 years ago
|
||
Bug 149543 has been created to cover the related issue of part of the
description becoming non-visible as well. However, fixing this bug only requires
moving the "Get New Themes" link out of the description text area, while fixing
that one requires adding some provision for extending that area beyond the size
of the prefs panel.
Comment 3•22 years ago
|
||
Confirming on 1.0RC3, Windows 98.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•22 years ago
|
||
This is a dupe (possible twice submitted) and this bug belongs to skinability
(since the pref panel is from there)
I can's search at the moment because the bug databse is laggy.
Whiteboard: DUPEME
Comment 6•22 years ago
|
||
*** Bug 160974 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 7•21 years ago
|
||
Makes the description scrollable when it does not fit in the dialog (with my
current default Win settings this happens as soon as there are more than three
description lines).
Assignee: bugs → durbacher
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•21 years ago
|
||
Comment on attachment 140424 [details] [diff] [review]
patch, show scrollbar for too long descriptions.
Requesting r= from Neil.
(BTW, this will also fix bug 149453, of course, which is almost - if not really
- a duplicate).
Attachment #140424 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 9•21 years ago
|
||
Comment on attachment 140424 [details] [diff] [review]
patch, show scrollbar for too long descriptions.
There are two things that I don't like with this solution (although that
doesn't mean there's a better solution) - the first is that the margin is on
the label, not the vbox, so that the scrollbar doesn't line up with the other
items in the panel, the second is that because the flex normally pushes the
link to the bottom of the panel you don't need a separator, or at least not so
large a separator.
Assignee | ||
Comment 10•21 years ago
|
||
This patch replaces the separator below by a class="thin" one; the gap between
is now smaller and now four lines do still fit without a scrollbar appearing.
I added a right margin of 5px to the vbox so the scrollbar lines up with the
items below and above. This does work across themes, I also tested Orbit and
LCARStrek.
Margins of the other elements are partly taken from formatting.css, e.g.
.description and .inset (for the preview image) get 5px from there for both
themes in lxr and for both mac/win (I think unix uses win). So those 5 px are
pretty safe to be correct.
Attachment #140424 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #140424 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 11•21 years ago
|
||
Alternatively use class="inset" which gets the margin from the current theme
and should be perfectly safe this way.
It also changes the appearance of the description to look "deeper", which looks
especially nice if there is a scrollbar (what should happen rarely, though).
Not sure if this is desired. I'll attach screenshots.
Assignee | ||
Comment 12•21 years ago
|
||
Assignee | ||
Comment 13•21 years ago
|
||
Assignee | ||
Comment 14•21 years ago
|
||
Comment on attachment 140505 [details] [diff] [review]
improved patch using class="inset"
Setting r= request for Neil; however, please consider both current patches
because I'm not sure if that inset is ok for you...
Attachment #140505 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 15•21 years ago
|
||
Comment on attachment 140505 [details] [diff] [review]
improved patch using class="inset"
Hey, that looks great. Do we still need a separator with class="inset"?
Attachment #140505 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Comment 16•21 years ago
|
||
No, we don't. This patch has the separator removed and it still looks good
(distance between is a tiny bit smaller, but still fine).
Attachment #140504 -
Attachment is obsolete: true
Attachment #140505 -
Attachment is obsolete: true
Attachment #140506 -
Attachment is obsolete: true
Assignee | ||
Comment 17•21 years ago
|
||
Comment on attachment 140552 [details] [diff] [review]
patch with inset and no separator
Again requesting r= from Neil.
Attachment #140552 -
Flags: review?(neil.parkwaycc.co.uk)
Updated•21 years ago
|
Attachment #140552 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Comment 18•21 years ago
|
||
Comment on attachment 140552 [details] [diff] [review]
patch with inset and no separator
Requesting sr= from alecf.
Attachment #140552 -
Flags: superreview?(alecf)
Comment 19•21 years ago
|
||
Comment on attachment 140552 [details] [diff] [review]
patch with inset and no separator
sr=alecf
Attachment #140552 -
Flags: superreview?(alecf) → superreview+
Comment 20•21 years ago
|
||
Checking in xpfe/components/prefwindow/resources/content/pref-themes.xul;
/cvsroot/mozilla/xpfe/components/prefwindow/resources/content/pref-themes.xul,v
<-- pref-themes.xul
new revision: 1.51; previous revision: 1.50
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•