Open
Bug 1431555
Opened 7 years ago
Updated 2 years ago
windows disappear from bad-parsing of registry hex value
Categories
(Core :: Widget: Win32, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: geoff_groos, Unassigned)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20180103231032
Steps to reproduce:
setting `Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorPrevalence` to 1, which causes any theme colors to be applied to the title bars of applications, causes firefox to render improperly and _loose track_ of windows.
to repro:
0. run on windows, x64, firefox 57.0.4
1. open regedit with admin rights
2. navigate to `Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM`
3. change "ColorPrevalence" to "1".
4. run firefox, attempt window management (snap, resize, etc)
Actual results:
firefox window border & title pane is not rendered correctly.
additionally:
- if multiple windows are opened, background windows will occasionally refuse to enter foreground. The only recovery is to close and re-open the window
- maximize maximizes over top of the taskbar
- snap doesnt work
- resizing doesnt work
Expected results:
firefox renders as it would when the registry value is set to 0. Snapping, resizing, and other window management features work as they do when the registry value is set to 0.
Component: Untriaged → Theme
OS: Unspecified → Windows 10
Hardware: Unspecified → x86
Comment 1•7 years ago
|
||
What version of Windows 10 are you using? Please run winver and let me know the exact version and build ID.
Flags: needinfo?(geoff_groos)
Reporter | ||
Comment 2•7 years ago
|
||
Flags: needinfo?(geoff_groos)
Reporter | ||
Comment 3•7 years ago
|
||
See above screenshot:
Microsoft Windows
Version 1703 (OS Build 15063.850)
Reporter | ||
Comment 4•7 years ago
|
||
I think I've got a much more specific piece of info for you: the windowing systems parsing of the regex value appears to be bad.
If I set AccentColor to 0x00123456 then I see this bug, where 12 is R, 45 is G, and 56 is B.
If I set AccentColor to 0xFF123456 then this bug goes away.
I'm going to upload some screenshots and change the name of this bug appropriately.
Updated•7 years ago
|
Priority: -- → P5
Reporter | ||
Updated•7 years ago
|
Summary: windows disappear when title bar is set to a specific colour on windows → windows disappear from bad-parsing of registry hex value
Comment 5•7 years ago
|
||
This is implemented here:
https://searchfox.org/mozilla-central/rev/062e1cf551f5bf3f0af33671b818f75a55ac497b/widget/windows/nsLookAndFeel.cpp#807
Presumably -moz-win-accentcolor becomes transparent here or something.
Component: Theme → Widget: Win32
Priority: P5 → --
Product: Firefox → Core
Updated•7 years ago
|
Priority: -- → P3
Comment 6•7 years ago
|
||
I can confirm this. I just came across this issue when the same thing happened to me. I followed the instructions here: https://www.howtogeek.com/258162/how-to-add-color-to-inactive-title-bars-in-windows-10/
Here are .reg files that will reproduce the issue: https://gist.github.com/ajthemacboy/a05fccffde98883d40d8184ad1998095
After setting these keys, the Firefox window doesn't display, but it shows up in the taskbar. When I hover over Firefox in the taskbar it's a small, blank placeholder window. Sometimes I can open Firefox right after signing in, but it has thick white borders on the right and left. These keys work like they are supposed to everywhere else - they change the title bar colors just fine.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•