Bug 1588098 - [wayland] firefox incorrect behaviour when getting *close* to screen edge with different dpi
Summary: [wayland] firefox incorrect behaviour when getting *close* to screen edge wit...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-06 15:51 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2021-05-25 17:53 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-05-25 17:53:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot showing firefox window wrong scaling (2.03 MB, image/png)
2018-06-06 19:00 UTC, Zbigniew Jędrzejewski-Szmek
no flags Details

Description Zbigniew Jędrzejewski-Szmek 2018-06-06 15:51:36 UTC
Description of problem:
I have two screens, a HiDPI laptop screen and an external monitor. The way that firefox behaves when the window is dragged between the screens is incorrect. Essentially, *correctly* switches to HiDPI mode (everything is scaled down two times) when the window is dragged over to the HiDPI screen. But it *incorrectly* does it too early. A gnome-terminal window switches to the HiDPI mode when more than half of the window is on the HiDPI screen. Firefox switches immediately, and it even switches before *any* of the firefox window is the new screen. It is enough to drag the window *close* to the boundary to elicit a flicker and unexpected size changes (something like ~100 pixels). See the attached screenshot: it shows a firefox window which was dragged over the edge and back, and the display shows incorrect scaling that it too small for the actual window size.

Version-Release number of selected component (if applicable):
firefox-60.0.1-6.fc28.x86_64
gnome-shell-3.28.2-1.fc28.x86_64

How reproducible:
100%, but requires moving the window back and forth over the edge a few times

Steps to Reproduce:
1. open a firefox window on low-dpi screen
2. move the firefox window towards the border with a high-dpi screen
3. when the firefox window is ~100 pixels out, it briefly switches to hidpi resolution
4. when the firefox window is flush with the border, it incorrectly has hidpi resolution

Expected results:
gnome-terminal does this very nicely nowadays, it keeps the resolution which is appropriate for the part of the window that has the majority surface.

Comment 1 Zbigniew Jędrzejewski-Szmek 2018-06-06 19:00:32 UTC
Created attachment 1448415 [details]
screenshot showing firefox window wrong scaling

Comment 2 Ben Cotton 2019-05-02 20:27:04 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Zbigniew Jędrzejewski-Szmek 2019-05-04 16:50:57 UTC
This is a bit better, but still a major issue with firefox-wayland-66.0.3-1.fc30.x86_64.

Comment 4 Martin Stransky 2019-05-06 11:52:27 UTC
Can you please try latest nightly from mozilla.com? Thanks.

Comment 5 Zbigniew Jędrzejewski-Szmek 2019-05-06 12:49:35 UTC
Wow, nightly 68.0a1 (2019-05-06) (64-bit) is fixed! It seems that both this issue and
and wrong sizing of pop-up menus is all good now.

Comment 6 Martin Stransky 2019-05-06 12:55:06 UTC
Good to know, Thanks.

Comment 7 Zbigniew Jędrzejewski-Szmek 2019-05-17 12:30:45 UTC
I screwed up the test, sorry. (I was actually running the x11 version.)
This is still reproducible with 68.0a1 (2019-05-17) (64-bit).

Comment 8 Ben Cotton 2020-04-30 21:29:42 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Ben Cotton 2020-05-26 16:18:10 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 10 Zbigniew Jędrzejewski-Szmek 2020-05-26 16:53:23 UTC
Still there, although to a much lesser extent than before. (It's possible that it is a different bug.)
firefox-76.0.1-1.fc32.x86_64

I still observe an effect when the window is moved close to the boundary. When moving the window close
the boundary, there is a flash and a redrawing of the content of the window. After the content is
redrawn, there is a slight pixelization. It looks like the window is scaled to higher resolution and
then rescaled to show at the original size. Not pretty, but much better then before.

Comment 11 Fedora Program Management 2021-04-29 17:08:40 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Ben Cotton 2021-05-25 17:53:25 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.