Open Bug 1414311 Opened 2 years ago Updated 7 months ago

New window size is different than expected after changing screen dpi (with privacy.resistFingerprinting pref enabled)

Categories

(Core :: General, defect, P2)

58 Branch
defect

Tracking

()

Tracking Status
firefox58 --- affected
firefox59 --- ?

People

(Reporter: hani.yacoub, Assigned: timhuang)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [fingerprinting][fp-triaged])

[Affected platforms]:
Platforms: Ubuntu 16.04 x64.

Scenario 1: Open new window on high dpi 2K monitor
[Steps to reproduce]:
1. Go to about:config
2. Turn privacy.resistFingerprinting parameter to true
3. Open new browser window by clicking on "New Window"

[Expected result]: New window size should be 1000x1000.
[Actual result]: New window size is 1000x900

Scenario 2: Change the dpi value of your 2K monitor
[Steps to reproduce]:
1. Go to about:config and turn privacy.resistFingerprinting parameter to true
2. Open new browser window by clicking on "New Window"
3. Change the screen dpi to any value that is lower than the initial value (how to do it will differ by OS)
4. Open new browser window by clicking on "New Window"
5. Change the screen dpi to any value that is higher than the initial value (how to do it will differ by OS)
6. Open new browser window by clicking on "New Window"

[Expected result]: New window size should always be 1000x1000.
[Actual result]: The window size with same resolution is 1000x1000, after changing to a lower resolution the new window is 1000x900 which is not correct according to expected results, and after changing the screen dpi to any value that is higher than the initial value the new window is 1000x1000


Scenario 3: Change the dpi value of your 4K monitor
[Steps to reproduce]:
1. Go to about:config and turn privacy.resistFingerprinting parameter to true
2. Open new browser window by clicking on "New Window"
3. Change the screen dpi to any value that is lower than the initial value (how to do it will differ by OS)
4. Open new browser window by clicking on "New Window"
5. Change the screen dpi to any value that is higher than the initial value (how to do it will differ by OS)
6. Open new browser window by clicking on "New Window"

[Expected result]: New window size should always be 1000x1000.
[Actual result]: The window size with same resolution is 1000x1000, after changing to a lower resolution the new window is 1000x900 which is not correct according to expected results, and after changing the screen dpi to any value that is higher than the initial value the new window is 1000x1000
Blocks: 1401493
Tim, could you look into this bug?
Flags: needinfo?(tihuang)
Whiteboard: [fingerprinting-breakage] → [fingerprinting]
Whiteboard: [fingerprinting] → [fingerprinting][fp-triaged]
Sorry for the late response. Yes, I will look into it.
Flags: needinfo?(tihuang)
You need to log in before you can comment on or make changes to this bug.