[Wayland] Respect GtkWidget size then committing to wayland surface
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox74 | --- | unaffected |
firefox75 | --- | wontfix |
firefox76 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Mutter 3.36 request exact match of wl_surface/wl_subsurface size so we need to respect wl_surface size (GtkWidget size) and create a wl_subsurface with the same size.
Assignee | ||
Comment 1•5 years ago
|
||
Mutter 3.36 requests exact match of wl_surface/wl_subsurface size so we need to respect
wl_surface size (GtkWidget size) and create a wl_subsurface with the same size.
Comment 2•5 years ago
|
||
It's only a requirement when either tiled or maximized, and recommended when fullscreen (you should get a black border if you don't match it when fullscreen). For floating (non-tiled, non-maximized, not-fullscreen), you don't need to respect it, and sometimes can't (e.g. too small), but still should if you don't have a valid reason not to. An example here is gnome-terminal which resizes only according to the character grid. This is completely valid when the window is floating.
Comment 4•5 years ago
|
||
bugherder |
Assignee | ||
Comment 6•5 years ago
|
||
I'd like to keep it in nightly for some time to test it. But it fixes it for Basic compositor only, I haven't time to check/fix that to WebRedner/GL yet so please test with basic compositor enabled.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
I may backport it to Fedora Firefox 74/75 builds as Fedora ships Wayland by default on Fedora 31/32.
Comment 8•5 years ago
|
||
We're on the last week of beta for 75, I think this should ride the trains.
Assignee | ||
Comment 9•5 years ago
|
||
Okay, I'll backport that to Fedora then.
Updated•5 years ago
|
Description
•