Closed Bug 1523855 Opened 5 years ago Closed 5 years ago

Window interactions are broken

Categories

(Core :: Graphics, defect)

Desktop
Windows 10
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1524515
Tracking Status
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix

People

(Reporter: slimsteroidalny, Unassigned)

Details

(Keywords: regression)

Attachments

(1 file)

Attached image Firefox window

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce:

Yesterday Firefox updated to 65. Later on I tried Nightly and this bug still occurs. I'm using default themes, on other themes this doesn't happen. Windows 10 17763.253.

Actual results:

Firefox window doesn't work properly, when maximized it cannot be dragged. When windowed it can't be resized. There is a weird frame around Firefox window (attached screenshot). If you go to safe mode the browser becomes completely unusable as it doesn't render properly.

Expected results:

Well... the window should behave normally ;)

Severity: normal → major
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

I cannot reproduce the issue on Firefox65 and Nightly67.0a1 with browser's safe mode, though Windows10 Home 64bit build 17763.292.

(In reply to Alice0775 White from comment #1)

I cannot reproduce the issue on Firefox65 and Nightly67.0a1 with browser's safe mode, though Windows10 Home 64bit build 17763.292.

I tried it on two different systems with fresh Firefox installs and the same bug occured. I have no idea what may be the cause as these systems are very different spec-wise, the only similarity being Intel CPU (which I highly doubt has anything to do with it). Updated my machine to 17763.292 and the issue is still present.

(In reply to Alice0775 White from comment #1)

I cannot reproduce the issue on Firefox65 and Nightly67.0a1 with browser's safe mode, though Windows10 Home 64bit build 17763.292.

Ok, so I tinkered around a bit and I found out that it's caused by having a different AccentColor set through Windows Registry
(\HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\AccentColor and \HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\AccentColorInactive).

I've tested this issue on Firefox 64.0 ->safe mode- and as well on firefox nighlty 67.0a1, beta 66.0b4, release 65.0 but I wasn't able to reproduce it.
So, I understand that in your end the problem was solved?

Flags: needinfo?(slimsteroidalny)
Severity: major → normal

(In reply to Liviu Seplecan from comment #4)

I've tested this issue on Firefox 64.0 ->safe mode- and as well on firefox nighlty 67.0a1, beta 66.0b4, release 65.0 but I wasn't able to reproduce it.
So, I understand that in your end the problem was solved?

Not really. Changing that key in registry should only change program title bar color and that's what happens in every other program, but in Firefox it makes it unusable. I managed to get around this problem by using custom theme which I assume makes the browser ignore that registry key, but that doesn't really solve the issue. In Windows Settings I've changed color to a predefined one and I have unchecked the "Automatically pick an accent color from my background" setting. Additionaly I changed AccentColor to 0x00222222 and AccentColorInactive to 0x00111111 in Windows registry

Flags: needinfo?(slimsteroidalny)

I've tried another time by entering in Setting changing the color then on windows registry and changing there the value of AccentColor - but without success, cannot reproduce the issue. Versions used are firefox 64.0 and 65.0

(In reply to Liviu Seplecan from comment #6)

I've tried another time by entering in Setting changing the color then on windows registry and changing there the value of AccentColor - but without success, cannot reproduce the issue. Versions used are firefox 64.0 and 65.0

This didn't happen on 64. I believe that it's caused by the fact that the browser is using system color for title bar in built-in themes since version 65.

Now I've noticed that there is also a setting in Windows called "Show accent color on the following surface" and "Title bars and window borders" has to be checked. So the exact steps to reproduce this bug will be: disable "Automatically pick an accent color from my background", check "Title bars and window borders", pick accent color in Windows settings (now all programs should have that color in title bar), then set AccentColor in registry to anything other that the color from Windows settings and after Firefox restarts that bug appears.

If it would be helpful I will make a video showing the issue and how to reproduce it later today and I will link it in a comment.

Thanks for your extra information and contribution.
Tested on firefox 64.0, release 65.0, beta 66.0b4, and nightly 67.0a1 - all are affected.
I will add a full description of reproducing:

  1. Go to Settings option from the taskbar
  2. Click on Personalization then Color options and pick another color from the panel.
    look that the option "Automatically pick an accent color from my background" is disabled
  3. Scroll down and check both options from "Show accent color on the following surface".
  4. Open search bar from taskbar (at the bottom) and type "regedit".
  5. Expand HKEY_CURRENT_USER -> Software->Microsoft-> Windows->CurrentVersion->Explorer
  6. Click on the 1st option, "Accent".
  7. Double-click on the 2nd option displayed on the right side, "AccentColorMenu".
  8. At the Value data input type a random value, for example "22222" - before doing that note the previous value in order to replace it after this scenario.
  9. Open Firefox and try to resize the window. -> the issue will occur.
Status: UNCONFIRMED → NEW
Component: Untriaged → Graphics
Ever confirmed: true
Product: Firefox → Core
Hardware: x86_64 → Desktop
Version: 65 Branch → Trunk

jwatt, is this something you can look in to since you worked on bug 1344917?

Flags: needinfo?(jwatt)

I'm going to dupe this over to bug 1524515 which has a deeper investigation.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(jwatt)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: