Closed
Bug 80494
Opened 23 years ago
Closed 23 years ago
Extra vertical separator drawn when Bookmarks & Home button are not shown.
Categories
(SeaMonkey :: UI Design, defect, P5)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: doctor__j, Assigned: bugs)
References
Details
(Keywords: polish)
Attachments
(5 files)
14.63 KB,
image/gif
|
Details | |
1.48 KB,
patch
|
Details | Diff | Splinter Review | |
1.96 KB,
patch
|
Details | Diff | Splinter Review | |
1.28 KB,
patch
|
Details | Diff | Splinter Review | |
2.00 KB,
patch
|
Details | Diff | Splinter Review |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9+) Gecko/20010512 BuildID: 2001051208 Reproducible: Always Steps to Reproduce: 1. Config Moz so that the Bookmarks and Home button is NOT shown in the Personal toolbar. 2. Show the Personal toolbar and see the extra vertical separator drawn. Expected Results: No need to draw two vertical separators.
*** Bug 85033 has been marked as a duplicate of this bug. ***
Comment 6•23 years ago
|
||
Not a themes bug, let's try XPApps. Some js needs to mark an attribute for when all icons in the left portion are hidden.
Assignee: hewitt → pchen
Component: Themes → XP Apps
QA Contact: pmac → sairuh
Updated•23 years ago
|
QA Contact: sairuh → claudius
Comment 7•23 years ago
|
||
My present for mpt :-) Here's a patch that fixes this bug, I'm not sure whether this is the correct thing to do, but it does work. CC'ing alecf since he wrote that function. Any reviews or comments? Thanks.
Comment 8•23 years ago
|
||
Comment 9•23 years ago
|
||
bzzzt. Wrong fix. There are other buttons that can appear in that toolbar in the commercial version of this product. what you need to do is see if ALL the buttons (don't hardcode "home") are hidden, then hide the separator.
Comment 10•23 years ago
|
||
-> ben
Assignee: pchen → ben
Priority: -- → P5
Target Milestone: --- → mozilla1.0
Comment 11•23 years ago
|
||
alecf: How do you test for the visibility of buttons which don't exist? For every pref which hides/shows a particular UI element, should that element be placed inside a <box id="whatever"> and the pref hide/show that box instead, just in case some distributor somewhere decides to lump other elements in next to that element, controlled by the same pref (as in this case)? If so, what sort of performance impact would would adding all those boxes have?
Component: XP Apps → XP Apps: GUI Features
Assignee | ||
Comment 12•23 years ago
|
||
I like the 'test for visibility of elts prior to separator' method that alec suggests better than the box version, as it is likely to be simpler.
Comment 13•23 years ago
|
||
Take a look at bug 85032 - we position the bookmark button permanently on the far left of the personal toolbar (which makes sense - vendors can add other buttons here, shifting the bookmarks about the place. Better to have it in a permanent place). This would probably make this bug simpler - you'd only have to check if the bookmarks button was there.
Comment 14•23 years ago
|
||
I produced my patch knowing that the home and bookmarks buttons should be swapped (see the bug mentioned above), however that is not really my problem, and it's Ben's call whether we should swap them or not. I'll get you a more generic patch tomorrow.
Comment 16•23 years ago
|
||
Comment 17•23 years ago
|
||
New patch posted. It can handle any number of buttons left of the separator. I tested it by moving the bookmarks button left of the separator and it worked fine. I added the persist="hidden" to the separator because the pref is not read on startup. I wrote a new function for clarity, but I could as easily do everything in nsButtonPrefListener. Comments or reviews? Thanks.
Comment 18•23 years ago
|
||
*** Bug 49956 has been marked as a duplicate of this bug. ***
Comment 19•23 years ago
|
||
*** Bug 91814 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 20•23 years ago
|
||
sr=ben@netscape.com for this providing you add a call to hasAttribute("hidden") to the if check in your checking function because a distributor may add buttons which do not have the hidden attribute.
Blocks: advocacybugs
Comment 21•23 years ago
|
||
Comment 22•23 years ago
|
||
Comment 23•23 years ago
|
||
r=hwaara
Comment 24•23 years ago
|
||
Fix that comment's grammar first though.
Comment 25•23 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 26•23 years ago
|
||
You do need a new profile before this will be fixed. I was wondering why I saw the check in weeks ago and I still have the divider. Verified.
Status: RESOLVED → VERIFIED
Comment 27•22 years ago
|
||
remove self
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•