Closed
Bug 15558
Opened 25 years ago
Closed 25 years ago
menus on personal toolbar look wrong
Categories
(SeaMonkey :: General, defect, P3)
SeaMonkey
General
Tracking
(Not tracked)
VERIFIED
FIXED
M14
People
(Reporter: dbaron, Assigned: mcafee)
Details
(Whiteboard: new patch needed)
Attachments
(5 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
image/gif
|
Details |
DESCRIPTION: The menus created on the personal toolbar when the personal
toolbar folder in the bookmarks has subfolders look wrong. In the default
bookmarks file, I believe the last item in the personal toolbar folder has a
channels folder.
There are two problems:
* The buttons for the folders (i.e., the "Channels" button) don't get a border
when they are hovered over.
* The items within the folders should have hover effects that look like the
buttons outside the folders, not like items on a menubar. That is, they should
have the icon change and probably a border, but should not have a blue stripe
cover them.
STEPS TO REPRODUCE:
* Start apprunner with default bookmarks (if the defaults are still the same as
they were a while back...)
* Hover over channels button at left edge of personal toolbar
* Click on that button and hover over the items in it
DOES NOT WORK CORRECTLY ON:
* Linux, apprunner, 1999-10-04-14-M11
WORKS CORRECTLY ON:
* NN 4.61 Linux (except for borders on items within the menus)
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Updated•25 years ago
|
Whiteboard: FIX ATTTACHED (for 90% of bug)
Reporter | ||
Comment 2•25 years ago
|
||
The above patch (to navigator.css) fixes this cosmetic bug with the drop-down
menus on the personal toolbar, except for the one touch that I couldn't get -
having the folder icon open when the menu is active. I don't know if there's an
attribute on the menus that's set by default or whether it has to be done in js.
cc:ing folks based on cvs blame: matt because he's responsible for most of the
file, and waterson because he wrote this part of the file. This bug is
basically lying unclaimed in the Browser-General queue.
Reporter | ||
Comment 3•25 years ago
|
||
BTW, this patch isn't going to work against a current tree, since the image
paths have changed since I last pulled. If you want to use my patch, you
basically have to do it by hand (not that it's that hard)...
Reporter | ||
Comment 4•25 years ago
|
||
See bug 16651 for repainting problems that already exist, but are made more
frequent by this fix (that is, they occur on submenu hovers in addition to
hovers on the main personal toolbar).
Reporter | ||
Comment 5•25 years ago
|
||
I'm working on fixing the remaining problems. I fixed the one problem described
above, but I'm still seeing some problems with nested submenus - I'll figure
those out sometime and attach a new patch.
Updated•25 years ago
|
Assignee: don → waterson
Reporter | ||
Comment 6•25 years ago
|
||
Reporter | ||
Updated•25 years ago
|
Whiteboard: FIX ATTTACHED (for 90% of bug) → FIX ATTTACHED
Reporter | ||
Comment 7•25 years ago
|
||
I tested this patch out with a submenu within a submenu - and decided to omit
the hover effect on the submenu menu since the menu opens automatically. This
patch also differs from the previous one in that it changes the folder icon when
the menu is open (the remaining piece I mentioned before).
It's also against a tree from yesterday evening, so it should be usable with
patch.
Updated•25 years ago
|
Status: NEW → ASSIGNED
Updated•25 years ago
|
Target Milestone: M11
Comment 8•25 years ago
|
||
matt: i've tried these changes in my tree; they look great. if you'll code
review, I'll check them in.
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 10•25 years ago
|
||
checked in. thanks dbaron!
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Comment 11•25 years ago
|
||
Here is an additional rule which improves the menu a bit more:
toolbar.main-bar > menu[open="true"] > titledbutton
{
border: 1px white inset;
}
Reporter | ||
Comment 12•25 years ago
|
||
There should probably be an equivalent rule for sub-submenus too... possibly
with selector
toolbar.main-bar menupopup > menu[open="true"]
but it would also need the equivalent 1px solid transparent rule without the
[open="true"] to prevent reflows.
Comment 13•25 years ago
|
||
I would actually prefer if the hover style for menu items on this menu matched
the hover style for other menus (ie. mauve colour). Is there a reason why we
are using white outset instead?
Updated•25 years ago
|
Assignee: waterson → matt
Status: REOPENED → NEW
Comment 14•25 years ago
|
||
matt, can you take a look at these changes?
Reporter | ||
Comment 15•25 years ago
|
||
Reporter | ||
Comment 16•25 years ago
|
||
Above is a patch that makes the described changes, tested on 10-21 release
build.
Comment 17•25 years ago
|
||
Clearing FIXED resolution due to reopen.
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → INVALID
Comment 18•25 years ago
|
||
The skin has change so this is no
longer valid
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Updated•25 years ago
|
Resolution: INVALID → ---
Whiteboard: FIX ATTTACHED → new patch needed
Comment 19•25 years ago
|
||
Actually, the problem is still there but the current attached patches are
invalid. Fix is still needed to add hover effect to "Channels" menu, plus add
open menu effect.
Updated•25 years ago
|
Assignee: matt → hangas
Status: REOPENED → NEW
Comment 20•25 years ago
|
||
German: do you want to help me nail this one?
Comment 21•25 years ago
|
||
Moving to M12.
Comment 22•25 years ago
|
||
Here are new style rules which fix this bug.
* To navigator.css, change:
titledbutton.bookmarkbutton:hover {
color: #CCFFFF;
}
* To...
titledbutton.bookmarkbutton:hover,
toolbar#PersonalToolbar menu:hover > titledbutton.bookmarkFolder {
color: #CCFFFF;
}
* and, add this rule:
toolbar#PersonalToolbar menu[open="true"] > titledbutton.bookmarkFolder {
border: 1px #99CCCC inset;
}
* and in file "navigator.xul", change:
<titledbutton class="bookmarkbutton" align="left"
value="&bookmarksButton.label;" crop="right"/>
* to:
<titledbutton class="bookmarkFolder" align="left"
value="&bookmarksButton.label;" crop="right"/>
Comment 23•25 years ago
|
||
i have the new changes in my tree
if anyone want to code review
Index: navigator.css
===================================================================
RCS file: /cvsroot/mozilla/xpfe/browser/resources/skin/navigator.css,v
retrieving revision 1.22
diff -c -r1.22 navigator.css
*** navigator.css 1999/11/02 01:35:42 1.22
--- navigator.css 1999/11/03 02:20:23
***************
*** 134,141 ****
background-image: none;
}
! titledbutton.bookmarkbutton:hover {
color: #CCFFFF;
}
titledbutton.bookmarkbutton:active {
--- 134,146 ----
background-image: none;
}
! titledbutton.bookmarkbutton:hover,
! toolbar#PersonalToolbar menu:hover > titledbutton.bookmarkFolder {
color: #CCFFFF;
+ }
+
+ toolbar#PersonalToolbar menu[open="true"] > titledbutton.bookmarkFolder {
+ border: 1px #99CCC inset;
}
titledbutton.bookmarkbutton:active {
Comment 24•25 years ago
|
||
The plan is that folder buttons on the personal bookmarks bar feature a small
white triangle to thir left, in order to save space and clutter we will NOT have
them show a folder icon. You accomplish by assigning class="popup" to them. The
other attributes that you guys suggested for class="Bookmarkfolder" look right to
me. Although I was specifically trying to avoid setting borders in order to save
2px of vertical space. So in order to get both your changes and the popup
triangle use class="bookmarkFolder popup"
Reporter | ||
Comment 25•25 years ago
|
||
Please use borders. Things don't look like buttons without borders. (That's
both a specific comment on this bug and a general criticism of the new UI.)
Comment 26•25 years ago
|
||
Reasons for not using borders are:
- conserving space and reducing visual clutter
- The buttons behave like links (except for folders)
Reporter | ||
Comment 27•25 years ago
|
||
As it currently stands, the personal toolbar can't be distinguished from a
border around the edge of the window. It should be visible.
Comment 28•25 years ago
|
||
Bumping to M13 when German and I hope to have time to look at this more closely.
Reporter | ||
Updated•25 years ago
|
Component: Browser-General → UE/UI
Reporter | ||
Comment 29•25 years ago
|
||
Moving to accurate component since I made the mistake of originally filing on
Browser-General.
Comment 30•25 years ago
|
||
Resetting QA Contact.
Reporter | ||
Comment 31•25 years ago
|
||
Comment 32•25 years ago
|
||
David can you attach a screen shot of what your proposal underlying the patch
you posted would look like? Thanks!
Comment 33•25 years ago
|
||
Not a mail/news bug. Reassigning to ben.
Assignee: hangas → ben
Status: ASSIGNED → NEW
Comment 34•25 years ago
|
||
I think dbaron's fix is the right idea but the BG colour is a little bright for
me... how about using the same colour as is used for the hover in the taskbar
(see attachment)
Status: NEW → ASSIGNED
Comment 35•25 years ago
|
||
Comment 36•25 years ago
|
||
looking great! Let's do it!
Comment 37•25 years ago
|
||
fix checked in...
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Comment 38•25 years ago
|
||
Vaguely menus-like bug; QA Assigning to Sarah for verification.
QA Contact: elig → sairuh
Comment 39•25 years ago
|
||
toolbars and all the widgets on 'em including menus belong to claudius... :-)
QA Contact: sairuh → claudius
Reporter | ||
Comment 40•25 years ago
|
||
Reopening. The fix did not address the main issue of the bug, which is that
*menus* within the personal toolbar are different from other things. Right now
the buttons are great, but hover on menus doesn't do anything, and hover on
items within the menus gives a different color from a hover on the buttons on
the main personal toolbar.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 41•25 years ago
|
||
Moving all UE/UI bugs to new component: User Interface: Design Feedback
UE/UI component will be deleted.
Component: UE/UI → User Interface: Design Feedback
Comment 42•25 years ago
|
||
this seems to work for me now... (02/22/00) I didn't touch anything, maybe
someone else changed a style setting, or something was fixed. I'm marking
worksforme - dbaron, if things still don't look right, please reopen again :)
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 43•25 years ago
|
||
Reopening. It *is* mostly fixed. However, the highlighting (:hover) color on
the *items* within the menus is wrong (I would think it should be the same as
the highlighting on the items on the toolbar itself).
When fixing, do make sure that submenus of submenus (ad inf.) are handled
correctly.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 44•25 years ago
|
||
i'm pretty sure those colors are the ones that german wanted. he and hangas had
me check those in a couple of days ago, and we commented on the difference.
Comment 45•25 years ago
|
||
hm.. although you're right, it might look nicer with subtler colours.
I'll let german make this call, german, reassign back to me with a directive
either way.
Assignee: ben → german
Status: REOPENED → NEW
Comment 46•25 years ago
|
||
How come this is still M14? M14 is already out!
Comment 47•25 years ago
|
||
this should go to mcaff or anyone who is working on Linux. German can't fix
this in the build. He is a UI designer :-)
re-assigned to mcafee
Assignee: german → mcafee
Reporter | ||
Comment 48•25 years ago
|
||
The new personal toolbar design checked in recently fixes all these problems.
All the comments on this bug relate to the two previous designs for the personal
toolbar. Marking FIXED (and also All/All since it was never really Linux
specific).
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
OS: Linux → All
Hardware: PC → All
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•