Closed
Bug 985958
Opened 9 years ago
Closed 9 years ago
Bookmarks toolbar open bookmark folder background depends on hover state when it shouldn't
Categories
(Firefox :: Theme, defect)
Tracking
()
VERIFIED
FIXED
Firefox 31
People
(Reporter: rvjanc, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
(Keywords: regression, Whiteboard: [Australis:P4])
Attachments
(2 files)
12.92 KB,
image/png
|
Details | |
2.09 KB,
patch
|
mconley
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release) Build ID: 20140318013849 Steps to reproduce: Go to folder on bookmark toolbar 1 - Hover 2 - Click & Hold 3 - Click with cursor in dropdown 4 - Click with cursor out of dropdown Actual results: 1 - Hover - Light gray background 2 - Click & Hold - Dark gray background 3 - Click with cursor in dropdown - Light gray background 4 - Click with cursor out of dropdown - Dark gray background See attached file. This occurs on FF29b, FF30a2 and FF31a1. I "think" I first noticed this when FF29 was in the Aurora channel but not sure. Expected results: 1 - Hover - Light gray background 2 - Click & Hold - Dark gray background 3 - Click with cursor in dropdown - DARK GRAY BACKGROUND 4 - Click with cursor out of dropdown - Dark gray background
Assignee | ||
Comment 1•9 years ago
|
||
This doesn't seem like a terribly big deal to me, but yes, we should ideally fix it.
Blocks: australis-cust
Status: UNCONFIRMED → NEW
Component: Untriaged → Theme
Ever confirmed: true
Whiteboard: [Australis:P4]
Assignee | ||
Updated•9 years ago
|
Summary: Bookmark folder on toolbar background states are wrong → Bookmarks toolbar open bookmark folder background depends on hover state when it shouldn't
Here is the regression range 3-13-14 NO BUG 3-14-14 BUG THERE
Assignee | ||
Updated•9 years ago
|
Keywords: regression
(In reply to :Gijs Kruitbosch from comment #1) > This doesn't seem like a terribly big deal to me, but yes, we should ideally > fix it. I agree "it doesn't seem" like a big deal; however, on a Mac it looks like the bookmark folder background FLASHES. It is rather annoying. Hopefully with the regression range and knowledge of the code architecture (which I don't have), it will require only a few minutes to identify the "guilty" CSS. Cheers all
Here is a hack to fix the bug. I inserted this in userChrome.css #PlacesToolbarItems > .bookmark-item[open="true"] { background-color: #555555 !important; } Now if this is inserted/modified in the actual code; all should be good. At least for now the bookmark folder background is not FLASHING. Cheers again and have a good weekend.
Assignee | ||
Comment 6•9 years ago
|
||
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=46041cc216fd&tochange=f073b3d6db1f
Assignee | ||
Comment 7•9 years ago
|
||
I broke this in bug 982835, apparently. I don't really understand why, though. :-\
Assignee | ||
Comment 8•9 years ago
|
||
Oh, yes I do - the [open] selector gets overridden by the :hover one because of the extra :not(.subviewbutton). Sigh.
So a fix is on the way? I had found this range of code using the DOMi but had no idea what other things were involved. Simple fix, yes?
Assignee | ||
Comment 10•9 years ago
|
||
So I don't understand why we have two identical selectors that apply 'hover' and 'active' styling to [open] things, but I just got rid of the one that gets overridden, and adjusted the one that shouldn't be overridden by the actual ':hover' selector so that it doesn't. This fixes things for me. Mike, am I sane (at least as far as this patch goes)?
Attachment #8398732 -
Flags: review?(mconley)
Comment 11•9 years ago
|
||
Comment on attachment 8398732 [details] [diff] [review] fix CSS rules to make :active style work, Review of attachment 8398732 [details] [diff] [review]: ----------------------------------------------------------------- Nutty. I'm tempted to go back through the rev log and see what happened here, but I'm gonna guess an unintended collision of old and new code. This looks better. Let's go for it.
Attachment #8398732 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 12•9 years ago
|
||
remote: https://hg.mozilla.org/integration/fx-team/rev/822b3855dc4b
status-firefox29:
--- → affected
status-firefox30:
--- → affected
status-firefox31:
--- → affected
Whiteboard: [Australis:P4] → [Australis:P4][fixed-in-fx-team]
Assignee | ||
Comment 13•9 years ago
|
||
Comment on attachment 8398732 [details] [diff] [review] fix CSS rules to make :active style work, (I am not around for a week after today, so pre-emptively asking for approval) [Approval Request Comment] Bug caused by (feature/regressing bug #): Australis / bug 982835 User impact if declined: bookmark folders have strange 'open' styling Testing completed (on m-c, etc.): on m-c, locally Risk to taking this patch (and alternatives if risky): low. Can't really get worse than it is right now. :-\ String or IDL/UUID changes made by this patch: none
Attachment #8398732 -
Flags: approval-mozilla-beta?
Attachment #8398732 -
Flags: approval-mozilla-aurora?
Comment 14•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/822b3855dc4b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P4][fixed-in-fx-team] → [Australis:P4]
Target Milestone: --- → Firefox 31
Updated•9 years ago
|
Updated•9 years ago
|
Attachment #8398732 -
Flags: approval-mozilla-beta?
Attachment #8398732 -
Flags: approval-mozilla-beta+
Attachment #8398732 -
Flags: approval-mozilla-aurora?
Attachment #8398732 -
Flags: approval-mozilla-aurora+
Reporter | ||
Comment 15•9 years ago
|
||
Sorry but not familiar with how this works. Nightly is definitely fixed; when will the fix land on 30Aurora and 29Beta?
Comment 16•9 years ago
|
||
Aurora: https://hg.mozilla.org/releases/mozilla-aurora/rev/0d716cd5c4dd Beta: https://hg.mozilla.org/releases/mozilla-beta/rev/2a9de2deeb0a
Reporter | ||
Comment 17•9 years ago
|
||
Thanks. I'll watch for them to show up.
Comment 18•9 years ago
|
||
Reproduced with Nightly from 2014-03-20. Verified as fixed with latest Nightly (Build ID: 20140401030203), latest Aurora (Build ID: 20140402004007) and Firefox 29 beta 4 (Build ID: 20140331125246) on Mac OS X 10.9.2: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•