Closed
Bug 1442755
Opened 6 years ago
Closed 6 years ago
[CSD] Titlebar does not visually distinguish between active and inactive windows
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
VERIFIED
FIXED
mozilla64
People
(Reporter: blokowski420, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(4 files, 1 obsolete file)
36.26 KB,
image/png
|
Details | |
46 bytes,
text/x-phabricator-request
|
jhorak
:
review+
|
Details | Review |
2.53 KB,
patch
|
jhorak
:
review+
|
Details | Diff | Splinter Review |
3.32 KB,
patch
|
jcristau
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180301024724 Steps to reproduce: 1. Open Firefox 2. Go to about:config and set browser.tabs.drawInTitlebar to 'true' 3. Open a different application (for example Nautilus or a Terminal) 4. Switch back and forth between the two applications (alt+tab) Actual results: The Firefox titlebar doesn't change visually, regardless of whether the window is active or inactive. Expected results: With many desktop environments and themes there is a visual indication, when a window is inactive. For example, in GNOME with the Arc GTK theme the window control buttons switch to grayscale and the overall titlebar content is muted (see attachment).
Blocks: gtktitlebar
Updated•6 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Linux
Assignee | ||
Comment 1•6 years ago
|
||
This is partially caused by wrong titlebar style which is solved at Bug 1408360 and also the style is animated which we don't support for the titlebar element.
Assignee: nobody → stransky
Assignee | ||
Comment 2•6 years ago
|
||
Let's fix headerbar in this bug and buttons at Bug 1489963.
Summary: [CSD] Titlebar and window control buttons do not visually distinguish between active and inactive windows → [CSD] Titlebar does not visually distinguish between active and inactive windows
Assignee | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Comment on attachment 9007740 [details] Bug 1442755 - Redraw titlebar widgets when application focus changes and draw inactive titlebar with GTK_STATE_FLAG_BACKDROP state, r=jhorak Jan Horak [:jhorak] has approved the revision.
Attachment #9007740 -
Flags: review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/19e2c611e889 Redraw titlebar widgets when application focus changes and draw inactive titlebar with GTK_STATE_FLAG_BACKDROP state, r=jhorak
Keywords: checkin-needed
Comment 6•6 years ago
|
||
Backed out for wpt reftest failures. Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&fromchange=19e2c611e88918e24f64fc93c4a599432dece8f1&tochange=db2ac775e38ade2e7cbbf4318d5866bafaedc2f6&filter-searchStr=wr&selectedJob=198623978 Backout link: https://hg.mozilla.org/integration/autoland/rev/ee581fe311ed557cc6dde5f510ff93255cf0a9c9 Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=198623978&repo=autoland&lineNumber=24003 https://treeherder.mozilla.org/logviewer.html#?job_id=198624121&repo=autoland&lineNumber=10670 Please also take a look at this failure: https://treeherder.mozilla.org/logviewer.html#?job_id=198621176&repo=autoland&lineNumber=52097
Flags: needinfo?(stransky)
Assignee | ||
Comment 7•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4be135c2d902fd3628af9d60c12cc184ddf13707
Assignee | ||
Comment 8•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6cc8b2d8d25652a923b95790260cb1c8ee2f56f0
Assignee | ||
Comment 9•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9c29bf1f8bb8ea5eccdb8ca00e420ba905e5ea22
Assignee | ||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Comment on attachment 9008180 [details] Bug 1442755 - Redraw titlebar widgets when application focus changes and draw inactive titlebar with GTK_STATE_FLAG_BACKDROP state, r=jhorak Jan Horak [:jhorak] has approved the revision.
Attachment #9008180 -
Flags: review+
Assignee | ||
Updated•6 years ago
|
Attachment #9007740 -
Attachment is obsolete: true
Flags: needinfo?(stransky)
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 12•6 years ago
|
||
Pushed by ebalazs@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/511150b11de9 Redraw titlebar widgets when application focus changes and draw inactive titlebar with GTK_STATE_FLAG_BACKDROP state, r=jhorak
Keywords: checkin-needed
Comment 13•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/511150b11de9
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Assignee | ||
Comment 14•6 years ago
|
||
We may disable this at Beta (Firefox 64) as it comes with a visual regressions (Bug 1506050 and Bug 1497534).
Comment 15•6 years ago
|
||
Would you mind providing a backout patch for beta?
Flags: needinfo?(stransky)
Assignee | ||
Comment 16•6 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #15) > Would you mind providing a backout patch for beta? Sure, I'll do that. Keeping needinfo to remind me.
Assignee | ||
Comment 17•6 years ago
|
||
Flags: needinfo?(stransky)
Attachment #9024657 -
Flags: review?(jhorak)
Comment 18•6 years ago
|
||
Comment on attachment 9024657 [details] [diff] [review] disable titlebar theming for Firefox 64 (Beta) Review of attachment 9024657 [details] [diff] [review]: ----------------------------------------------------------------- Please comment also in nsNativeThemeGTK::WidgetStateChanged, r+ with that fixed.
Attachment #9024657 -
Flags: review?(jhorak) → review+
Assignee | ||
Comment 19•6 years ago
|
||
Updated one, thanks.
Assignee | ||
Comment 20•6 years ago
|
||
Comment on attachment 9025562 [details] [diff] [review] patch for check-in [Beta/Release Uplift Approval Request] Feature/Bug causing the regression: Bug 1497534 User impact if declined: Back out this Bug for beta as it may cause titlebar appearance regressions (Bug 1497534). Is this code covered by automated tests?: No Has the fix been verified in Nightly?: No Needs manual test from QE?: Yes If yes, steps to reproduce: 1) disable system titlebar (Customize -> Titlebar checkbox) 2) open another application (terminal for instance) 3) switch to it by alt+tab or so and check that firefix titlebar still has active appearance and it's not changed when switching to another apps. List of other uplifts needed: None Risk to taking this patch: Low Why is the change risky/not risky? (and alternatives if risky): Back out of a fix, Linux only. String changes made/needed:
Attachment #9025562 -
Flags: approval-mozilla-beta?
Comment 21•6 years ago
|
||
Comment on attachment 9025562 [details] [diff] [review] patch for check-in Thanks Martin, approved for 64.0b11
Attachment #9025562 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•6 years ago
|
Whiteboard: [checkin-needed-beta]
Comment 22•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/d810f485f1aa
Updated•6 years ago
|
Updated•6 years ago
|
Flags: qe-verify+
Comment 23•5 years ago
|
||
I have managed to reproduce the issue using Fx60.0a1 buildID: 20180301223350 on Ubuntu 16.04. The issue is verified fixed using Fx65.0b2 and Fx65.0a1 on Ubuntu 16.04. The Firefox window is now correctly set as inactive when it is not the main focus (buttons become greyed out). This was tested using Ambience default theme on Ubuntu.
You need to log in
before you can comment on or make changes to this bug.
Description
•