Closed
Bug 612181
Opened 14 years ago
Closed 14 years ago
Clicking edge of popup notification button main action button opens the dropdown instead
Categories
(Toolkit :: Themes, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: Margaret)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
2.56 KB,
patch
|
dao
:
review+
christian
:
approval2.0+
|
Details | Diff | Splinter Review |
When Firefox shows a doorhanger asking if I want it to remember my password, the bottom pixel or two of the "Remember password" button misbehaves when clicked.
Assignee | ||
Comment 1•14 years ago
|
||
I was also able to reproduce this on Windows. It seems like clicking on the border of the button (on any side, not just the bottom) opens the menupopup, even if you are on the left side of the button.
OS: Mac OS X → All
Hardware: x86 → All
Summary: Clicking bottom edge of "Remember password" button opens the dropdown instead → Clicking edge of popup notification button main action button opens the dropdown instead
Comment 2•14 years ago
|
||
This is a problem with menu-buttons in general.
Component: General → XUL Widgets
Product: Firefox → Toolkit
QA Contact: general → xul.widgets
Comment 3•14 years ago
|
||
Hmm, or it was in the past, anyways. It's possible the popup-notification styling in particular is making the problem worse (or exposing a problem that has since been fixed in the base binding).
Comment 4•14 years ago
|
||
I don't know about Mac, but for Windows it seems that the outer button just shouldn't have a border. Instead, all borders should be part of either the inner button or the dropmarker.
Assignee | ||
Comment 5•14 years ago
|
||
Yes, setting the border on the inner elements fixed it on windows. (I had to set the !important flag for .button-menubutton-dropmarker to pick up the style.)
The pinstripe styles are already setting the border on the inner elements, so that's going to require a different fix.
Assignee: nobody → margaret.leibovic
Attachment #490999 -
Flags: review?(dao)
Comment 6•14 years ago
|
||
(In reply to comment #5)
> (I had to
> set the !important flag for .button-menubutton-dropmarker to pick up the
> style.)
Sigh... can you remove the !important flags in button.css?
Assignee | ||
Comment 7•14 years ago
|
||
Removed !important flag from style in button.css.
Attachment #490999 -
Attachment is obsolete: true
Attachment #491004 -
Flags: review?(dao)
Attachment #490999 -
Flags: review?(dao)
Comment 8•14 years ago
|
||
Comment on attachment 491004 [details] [diff] [review]
patch v2 (winstripe)
>diff --git a/toolkit/themes/winstripe/global/button.css b/toolkit/themes/winstripe/global/button.css
>--- a/toolkit/themes/winstripe/global/button.css
>+++ b/toolkit/themes/winstripe/global/button.css
>@@ -150,17 +150,17 @@ button[type="menu-button"] {
> border: none;
> }
>
> .button-menu-dropmarker,
> .button-menubutton-dropmarker {
> -moz-appearance: none !important;
> margin: 1px;
> background-color: transparent !important;
>- border: none !important;
>+ border: none;
> width: 11px;
> height: 11px;
> }
Please remove if from background-color as well.
Attachment #491004 -
Flags: review?(dao) → review+
Assignee | ||
Comment 9•14 years ago
|
||
Comment on attachment 491004 [details] [diff] [review]
patch v2 (winstripe)
I'm having a hard time figuring out how to fix this for OSX, but we should land this patch to at least fix the problem on Windows.
Attachment #491004 -
Flags: approval2.0?
Comment 10•14 years ago
|
||
Comment on attachment 491004 [details] [diff] [review]
patch v2 (winstripe)
Approved for 2.0
Attachment #491004 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 11•14 years ago
|
||
Pushed winstripe fix: http://hg.mozilla.org/mozilla-central/rev/52eebb84e381.
I'll keep the bug open to try to make a pinstripe fix.
Comment 12•14 years ago
|
||
Pinstripe fix coming? Should we file a follow-up, instead?
Whiteboard: [approved-patches-landed]
Assignee | ||
Comment 13•14 years ago
|
||
Filed bug 638582 as a follow-up for pinstripe.
Status: NEW → RESOLVED
Closed: 14 years ago
Component: XUL Widgets → Themes
OS: All → Windows 7
QA Contact: xul.widgets → themes
Resolution: --- → FIXED
Whiteboard: [approved-patches-landed]
You need to log in
before you can comment on or make changes to this bug.
Description
•