:-moz-window-inactive still triggers on window drag on X11 (with titlebar enabled)
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: abspack, Assigned: emilio)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Steps to reproduce:
I still have this issue on Xubuntu 22.04 on X11 although there was a patch some time ago (see Bug 969322).
When I drag the main window of Thunderbird in version 102, then text in the menu bar changes its color but shouldn't. Also affected are the icons in the left vertical bar and selected emails. There is also the same issue with the download list items in the download window of Firefox 102.
When write in userChrome.css for Thunderbird:
menubar > menu:-moz-window-inactive {
color: red !important;
}
Then the text of the menu bar changes to red but not only when the window is inactive but also on drag. So the -moz-window-inactive seems to get triggered still on drag.
Actual results:
Wrong color on window drag for certain widgets.
Expected results:
Correct color on window drag for certain widgets.
Reporter | ||
Comment 1•2 years ago
|
||
See notes in the images.
Assignee | ||
Comment 2•2 years ago
|
||
Ah, I was going to say that I couldn't repro, but I can repro, only if I enable the titlebar. If I disable it it works fine...
Reporter | ||
Comment 3•2 years ago
|
||
Maybe related issues: Bug 1497534
this one https://gitlab.gnome.org/GNOME/gtk/-/issues/1395
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
This seems to work and should be simpler.
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Hmm, this seems to cause a bunch of timeouts on automation... https://treeherder.mozilla.org/jobs?repo=try&revision=38051ad06a181e608746e37e6e0633986451b82d
Updated•2 years ago
|
Reporter | ||
Comment 6•2 years ago
|
||
Any news on this one? Many thanks.
Description
•