Closed Bug 1633810 Opened 5 years ago Closed 3 years ago

[Wayland/Sway] Downloads popup is wrongly positioned on Wayland with x3 scaling

Categories

(Core :: Widget: Gtk, defect, P3)

75 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: konstantin.ponomarenko, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(8 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

Click on a "downloads" icon on the right of the address bar.

Actual results:

The "downloads" popup is wrongly positioned on Wayland, with x3 scaling.
And scroll doesn't work in the popup - not possible to see all items downloaded in the session.

Window manager: sway 1:1.4-8 , wlroots 0.10.1-1

$ swaymsg -t get_outputs
Output eDP-1 'Unknown 0x212B 0x00000000' (focused)
Current mode: 3840x2160 @ 60.001999 Hz
Position: 0,0
Scale factor: 3.000000
Scale filter: nearest
Subpixel hinting: unknown
Transform: normal
Workspace: 2
Max render time: off
Available modes:
1280x720 @ 59.966999 Hz
3840x2160 @ 48.028000 Hz
3840x2160 @ 60.001999 Hz

Expected results:

The "downloads" popup is correctly positioned on Wayland, with x3 scaling.
A list of items is scrollable - scroll works to so it's possible to see all items downloaded in the session.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is -- (non,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → --
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: Downloads popup is wrongly positioned on Wayland with x3 scaling → [Wayland/Sway] Downloads popup is wrongly positioned on Wayland with x3 scaling
Blocks: wayland-sway

Looks like it is fixed as of version 77.0.1.

Is it still fixed? https://nightly.mozilla.org
Are you running Firefox with its native Wayland backend or with Xwayland? (about:support > "Window Protocol")

I run it with its native Wayland support, and the page you mentioned says "wayland".
I've just tried Firefox Nightly (native Wayland) (79.0a1 (2020-06-19) (64-bit)) and this bug remains fixed there.
Though, the problem with wrongly sized popups still remains (this one: https://bugzilla.mozilla.org/show_bug.cgi?id=1633803)

Sorry, I take my words back. Looks like the behavior changed in a better way, but this is not fully fixed - some extensions are still wrongly positioned on my current version of Firefox 77.0.1 (64-bit). I haven't fully tried this on the nightly yet.

Blocks: 1633816
No longer blocks: 1633816
Blocks: 1633816
Blocks: wayland-popup
No longer blocks: wayland-sway, 1633816
Priority: -- → P3

Can you please test latest nightly under Wayland? A new popup handling code landed there.
Thanks.

Please re-test with new nightly as it gets another popup fixes.
Thanks.

It looks like this is fixed now. I will attach screenshots below.

1 monitor (13", 4k, scaling 300%), sway wm

2 monitor setup (13", 4k, scaling 300%), (27", 4k, 200%), sway wm.

Okay, Thanks.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: