Closed
Bug 1277199
Opened 9 years ago
Closed 9 years ago
The command-button-frames in toolbox-buttons does not have the open attribute
Categories
(DevTools :: General, enhancement, P1)
DevTools
General
Tracking
(firefox49- verified, firefox50 verified)
People
(Reporter: magicp.jp, Assigned: Honza)
References
Details
(Keywords: regression, Whiteboard: [devtools-html])
Attachments
(2 files, 1 obsolete file)
|
34.09 KB,
image/png
|
Details | |
|
4.29 KB,
patch
|
Honza
:
review+
lizzard
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160531030258
Steps to reproduce:
1. Start latest Nightly
2. Go to any sites (e.g. https://bugzilla.mozilla.org)
3. Open DevTools
4. Click command-button-frames button (Select an iframe as the currently targeted document)
5. Confirm its icon color
Actual results:
command-button-frames icon does not switch to the opening state color (highlight-blue), because it does not have the open attribute.
Regression range:
https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=3a87296fe4145138c2ce15512bb31f76fe869cb4&tochange=42fab251fe111d5f891c9bde0ee1fb6f7f946a50
Expected results:
command-button-frames should have the open attribute.
Has Regression Range: --- → yes
Has STR: --- → yes
status-firefox49:
--- → affected
Component: Untriaged → Developer Tools
The regression window points to bug 1266419. Honza, can you take a look?
Keywords: regression
Updated•9 years ago
|
Updated•9 years ago
|
Severity: normal → enhancement
status-firefox50:
--- → affected
| Assignee | ||
Comment 2•9 years ago
|
||
Patch attached.
@magicp: thanks for the report!
Honza
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Flags: needinfo?(odvarko)
Attachment #8761162 -
Flags: review?(jryans)
Updated•9 years ago
|
Iteration: --- → 50.1
Flags: qe-verify+
Priority: -- → P1
QA Contact: alexandra.lucinet
Whiteboard: [devtools-html] [triage] → [devtools-html]
Comment on attachment 8761162 [details] [diff] [review]
bug1277199.patch
Seems like :ochameau and / or :ntim have more context about this from bug 1266419.
Attachment #8761162 -
Flags: review?(poirot.alex)
Attachment #8761162 -
Flags: review?(ntim.bugs)
Attachment #8761162 -
Flags: review?(jryans)
tracking-firefox49:
--- → ?
Comment 4•9 years ago
|
||
Comment on attachment 8761162 [details] [diff] [review]
bug1277199.patch
Review of attachment 8761162 [details] [diff] [review]:
-----------------------------------------------------------------
The JS changes look fine. May be worth a test ?
::: devtools/client/themes/toolbars.css
@@ +798,5 @@
> +/* Use checked-icon state when the associated drop down menu is opened. */
> +#command-button-frames[open]::before {
> + opacity: 1;
> + filter: url(images/filters.svg#checked-icon-state);
> +}
I think this CSS isn't needed since it's already handled here: https://dxr.mozilla.org/mozilla-central/source/devtools/client/themes/toolbars.css#298, can you remove it ?
Attachment #8761162 -
Flags: review?(ntim.bugs) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8761162 [details] [diff] [review]
bug1277199.patch
Review of attachment 8761162 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for fixing that.
Attachment #8761162 -
Flags: review?(poirot.alex) → review+
| Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #4)
> The JS changes look fine. May be worth a test ?
Yes, since this is so little feature I extended an existing test.
> ::: devtools/client/themes/toolbars.css
> @@ +798,5 @@
> > +/* Use checked-icon state when the associated drop down menu is opened. */
> > +#command-button-frames[open]::before {
> > + opacity: 1;
> > + filter: url(images/filters.svg#checked-icon-state);
> > +}
>
> I think this CSS isn't needed since it's already handled here:
> https://dxr.mozilla.org/mozilla-central/source/devtools/client/themes/
> toolbars.css#298, can you remove it ?
True, done.
Thanks!
Honza
Attachment #8761162 -
Attachment is obsolete: true
Attachment #8761536 -
Flags: review+
| Assignee | ||
Comment 7•9 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/ba42259dc467
Fix CSS for command-button-frames; r=ochameau, ntim
Keywords: checkin-needed
Comment 10•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Comment 11•9 years ago
|
||
I managed to test this bug on 50.0a1 (2016-06-13)
using
- Windows 10 x64
- Mac OS X 10.11
- Ubuntu 14.04 x86
The fix has landed and it works as expected, so I am marking this issue as Verified Fixed.
Status: RESOLVED → VERIFIED
Comment 12•9 years ago
|
||
Comment on attachment 8761536 [details] [diff] [review]
bug1277199.patch
Approval Request Comment
[Feature/regressing bug #]: https://bugzilla.mozilla.org/show_bug.cgi?id=1266419
[User impact if declined]: see first comment
[Describe test coverage new/current, TreeHerder]: in nightly
[Risks and why]: low, small js fix with test
[String/UUID change made/needed]: no
Attachment #8761536 -
Flags: approval-mozilla-aurora?
Comment 13•9 years ago
|
||
Comment on attachment 8761536 [details] [diff] [review]
bug1277199.patch
Fix for regression from 49, please uplift to aurora.
Attachment #8761536 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 14•9 years ago
|
||
| bugherder uplift | ||
Comment 15•9 years ago
|
||
I tested again this bug using 49.0a2 (2016-07-03)on
- Windows 10 x64
- Mac OS X 10.11
- Ubuntu 14.04 x86
This build is Verified Fixed.
Flags: qe-verify+
Updated•9 years ago
|
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•