Closed Bug 700333 Opened 13 years ago Closed 13 years ago

Highlighter close button has a bogus hover state on Windows

Categories

(DevTools :: General, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

(firefox10+ verified)

RESOLVED FIXED
Firefox 11
Tracking Status
firefox10 + verified

People

(Reporter: dao, Assigned: rcampbell)

References

Details

(Keywords: verified-beta, Whiteboard: [qa+][qa!:10])

Attachments

(2 files)

Attached patch patchSplinter Review
      No description provided.
Attachment #572494 - Flags: review?
Attachment #572494 - Flags: review? → review?(rcampbell)
Shouldn't this be for Linux as well? The close button also has a weird hover state on my Ubuntu system.
Linux uses,instead of custom images, a stock icon, which is supposed to be used with the native toolbar button style.
(In reply to Dão Gottwald [:dao] from comment #2)
> Linux uses,instead of custom images, a stock icon, which is supposed to be
> used with the native toolbar button style.

True. I see the native button graphics and icon when I hover - which looks broken in the current toolbar design.
I saw this yesterday as well. Checking...
Comment on attachment 572494 [details] [diff] [review]
patch

Thanks for the patch!
Attachment #572494 - Flags: review?(rcampbell) → review+
marking this as tracking firefox 10.

This is a styling fix for a single platform. Risk is negligible. It improves the appearance of the Highlighter's toolbar on Windows.
Comment on attachment 572494 [details] [diff] [review]
patch

asking for approval on aurora 10.
Attachment #572494 - Flags: approval-mozilla-aurora?
Whiteboard: [land-in-fx-team]
Comment on attachment 572494 [details] [diff] [review]
patch

[Triage Comment]
Given this is just a styling change, approving for aurora.
Attachment #572494 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
http://hg.mozilla.org/integration/mozilla-inbound/rev/8e42e063903b
Whiteboard: [land-in-fx-team]
Target Milestone: --- → Firefox 11
Backed out of inbound for Mochitest failures on Windows:

https://tbpl.mozilla.org/php/getParsedLog.php?id=7314472&tree=Mozilla-Inbound
{
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/highlighter/test/browser_inspector_highlighter.js | transparent veil box width matches dimensions of element (no zoom) - Got 0, expected 22
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/highlighter/test/browser_inspector_highlighter.js | transparent veil box width matches width of element (2x zoom) - Got 937, expected 44
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/highlighter/test/browser_inspector_highlighter.js | transparent veil box height matches width of element (2x zoom) - Got 76, expected 44
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/highlighter/test/browser_inspector_iframeTest.js | selection matches div2 node - Got [object HTMLDivElement], expected [object HTMLDivElement]
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/highlighter/test/browser_inspector_iframeTest.js | highlighter matches selection - Got [object HTMLDivElement], expected [object HTMLDivElement] 
}

https://hg.mozilla.org/integration/mozilla-inbound/rev/f7ea68d2d546
Target Milestone: Firefox 11 → ---
What the hell... what are these tests doing?
Assignee: dao → nobody
Status: ASSIGNED → NEW
Attachment #572494 - Flags: approval-mozilla-aurora+
Did the patch apply cleanly when it went in? I had to do some tweaking to get it to apply on my machine for whatever reason. There's no way that should've affected those tests, but I will try to verify and renom for aurora.
Status: NEW → ASSIGNED
Assignee: nobody → rcampbell
(In reply to Rob Campbell [:rc] (robcee) from comment #12)
> Did the patch apply cleanly when it went in?

Yep. Bug 701212 landed in the meantime.
I can't reproduce (central + this patch rebased).
I'll see how it goes with the try-server.
Realizing only now it's a Windows XP only failure: https://tbpl.mozilla.org/?tree=Try&rev=82c7ccd6242d
Same problem with Linux here: bug 702776
Depends on: 703237
Component: Developer Tools → Developer Tools: Inspector
QA Contact: developer.tools → developer.tools.inspector
Now that bug 703237 is fixed, can we land this patch again?
Whiteboard: [land-in-fx-team]
https://hg.mozilla.org/integration/fx-team/rev/caf7c101040e
Component: Developer Tools: Inspector → Developer Tools
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/caf7c101040e
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 11
Comment on attachment 574564 [details] [diff] [review]
patch - rebased

style only fix. requires test fix in bug 703237 to prevent test failures.
Attachment #574564 - Flags: approval-mozilla-aurora?
Attachment #574564 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
patch doesn't apply cleanly due to bug 701212.
Depends on: 701212
What is the expected & unexpected hover states for QA to verify this fix?
Whiteboard: [fixed-in-fx-team] → [fixed-in-fx-team][qa?]
(In reply to Anthony Hughes, Mozilla QA (irc: ashughes) from comment #24)
> What is the expected & unexpected hover states for QA to verify this fix?

Expected: on over, the close button of the inspector toolbar should be a bit different (darker iirc, see chrome://browser/skin/devtools/toolbarbutton-close.png)
Unexpected: on over, the close button use a totally wrong and unrelated image
Whiteboard: [fixed-in-fx-team][qa?] → [fixed-in-fx-team][qa+]
I've verified this on Win XP and Win 7.
On hover, the inspector close button is red and on click gets darker.
Setting this to verified fix on Firefox 10b2.

What about the web console close button? On hover it becomes gray instead of red, although on click it turns into the same dark red as the inspector.
Keywords: verified-beta
Whiteboard: [fixed-in-fx-team][qa+] → [fixed-in-fx-team][qa+][qa!:10]
Whiteboard: [fixed-in-fx-team][qa+][qa!:10] → [qa+][qa!:10]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: