Closed
Bug 1348990
Opened 8 years ago
Closed 8 years ago
location and autocomplete drop-downs render in random sizes under XWayland + HiDPI?
Categories
(Core :: Graphics, defect, P3)
Tracking
()
RESOLVED
INVALID
People
(Reporter: dustin, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [gfx-noted])
Attachments
(2 files)
Open a browser, click the location bar, and start typing
Expected: results appear magically in a drop-down, with text about the same size as the location bar
Actual: the drop down-appears, but zooms seemingly randomly between the correct size and many sizes too small. Even at the small sizes, it still interacts correctly (up and down arrows select items, and I can see a tiny highlight).
---
This works OK in a GNOME desktop, but the browser chrome is comically large - I assume GNOME is applying some kind of scaling factor to make up for (or in my mind, waste) the high DPI screen. See attached.
However, in sway (a tiling WM for Wayland), the browser chrome is nice and tiny, but I get this rendering error.
I don't know much about scaling, Wayland, or the implications of a tiling WM on Firefox. I don't know of any other tiling WM's for Wayland to try, and I don't konw how to adjust the scaling factor in GNOME to see if this problem recurs there. Any advice or pointers that would help me learn how this works and dig deeper are appreciated!
Reporter | ||
Updated•8 years ago
|
Summary: location and autocopmlete drop-downs render in random sizes - tiling WM? Wayland? HiDPI? → location and autocomplete drop-downs render in random sizes - tiling WM? Wayland? HiDPI?
Reporter | ||
Comment 1•8 years ago
|
||
I also don't know how to get a screenshot in sway/Wayland (the X11-based screenshot libs don't work). So this is a pic taken with a phone, sorry. Still, you can see that the location bar menu is being rendered at 50% expected size, with black fill around it. If I keep typing it will sometimes be the correct size, sometimes smaller. It looks like it's always an integer multiple smaller -- maybe even a power of two -- but it's hard to say.
Comment 2•8 years ago
|
||
Linux specific bug, maybe Nical has seen this before? This is not high priority to fix.
Flags: needinfo?(nical.bugzilla)
Whiteboard: [gfx-noted]
Reporter | ||
Comment 3•8 years ago
|
||
Based on https://bugs.freedesktop.org/show_bug.cgi?id=93315 I'm guessing this has to do with Firefox being rendered via Xwayland and some confusion about scaling.
Reporter | ||
Comment 4•8 years ago
|
||
Switching to Xorg (no Wayland involved) seems to fix the issue. So I think this is a problem with hidpi scaling and Xwayland.
Comment 5•8 years ago
|
||
I am not familiar with the state of Firefox in Wayland. Tentatively marking this as blocking the wayland meta-bug so that it gets noticed by the people working on this.
Blocks: wayland
Flags: needinfo?(nical.bugzilla)
Reporter | ||
Updated•8 years ago
|
Summary: location and autocomplete drop-downs render in random sizes - tiling WM? Wayland? HiDPI? → location and autocomplete drop-downs render in random sizes under XWayland + HiDPI?
Updated•8 years ago
|
Priority: -- → P3
Comment 6•8 years ago
|
||
This wouldn’t be the first Xwayland sizing issue Sway is experiencing, see https://github.com/SirCmpwn/sway/issues/731 or https://github.com/SirCmpwn/sway/issues/571
I recommend closing this issue, as dropdowns work correctly in at least both GNOME and Weston, and open an issue to your compositor if it still doesn’t handle them as expected.
Reporter | ||
Comment 7•8 years ago
|
||
Fair enough. My solution was to go back to Xorg because clearly Wayland + Firefox is a long way from ready..
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•