Open Bug 2049137 Opened 5 months ago Updated 3 months ago

[Nourish] flickering on scale change

Categories

(Core :: Widget: Gtk, defect)

Firefox 154
defect

Tracking

()

UNCONFIRMED

People

(Reporter: yarden.app, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Steps to reproduce:

I changed fractional scale while Firefox was running.

Actual results:

On both 146~ and Nightly, The fractional scale protocol is not implemented to receive the fractional scale change events and require to open a new Firefox window.

Here is a picture showing the exact issue:
(Attached)

Additionally, it seems the fractional scale option causes menus from the topbar to be displaced ( for example, the download menu ). However on Nightly 154 it doesnt seem to happen, but I can't be certain. hopefully if this was indeed fixed it will land in stable soon.

Expected results:

I haven't stumbled on any program that 1. does support wayland's fractional scale, and 2. doesnt react to fractional scale changes that occur during its lifecycle.

To clarify on the attached image, the instance on the left was launched after fractional scale event so it does respect it on launch. the blurry one on the right.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Flags: needinfo?(yarden.app)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:stransky, since the bug has recent activity, could you please find another way to get the information or close the bug as INCOMPLETE if it is not actionable?

For more information, please visit BugBot documentation.

Flags: needinfo?(yarden.app) → needinfo?(stransky)

Sorry for not responding. I am using Nourish OS so it is a bit irregular in some sense, but yet i expect firefox to support fractional scale publish like any other apps. It seems harder to capture the issue now, but trivially if you open chrome(or many other wayland apps) and publish fractional scale change, the apps become sharper to complement. Firefox do not.

Irregular, as if it publishes this event over the wayland protocol frequently.

If you are not able to reproduce as i stated above, please let me know and ill retry.

Flags: needinfo?(stransky)
Summary: wayland fractional scaling is not updated on recurring fractional scaling events → [Nourish] wayland fractional scaling is not updated on recurring fractional scaling events

Do I understand correctly that the bug is present only if scale is changed while Firefox is running? So initial scale (when Firefox is fired) is correct?
Thanks.

Flags: needinfo?(yarden.app)

If so please run Firefox on terminal with MOZ_LOG="WidgetScreen:5,WidgetWayland:5,Widget:5" env variables, do the scale change and attach the log here.
Thanks.

Took me a while to figure out how to reproduce and im no longer in the office, but here is the best effort video demonstrating and a picture which clearly shows what you mentioned about the scale at initial boot of new window.(video capture doesnt have perfect fps here but it shows the issue)
https://drive.google.com/file/d/1TbkTZyUclUsYUMvrkjbCBxswhRXopC5B/view?usp=drivesdk
https://drive.google.com/file/d/1FycZBINuLQOWBIB3Eev1WlakWyZyi8BA/view?usp=drivesdk

Flags: needinfo?(yarden.app)

Interesting, thanks. Can you still provide the log if you can?
Thanks.

Flags: needinfo?(yarden.app)

It works after a fix in Nourish.
The reason it didnt update is because fractional scale events were only ever published to toplevel surfaces and never to subsurfaces. This is different from many other apps i have tested.

However, there still an issue. That issue was present also historically with Chrome and they fixed it.

There is a blink while a fractional change is detected in firefox.
Iz it known? Should i send a video?

Flags: needinfo?(yarden.app)

Also a related question, why would firefox require nested subsurfaces(which are within the browser pane, never outside, the main page content) to receive fractional scale separately from their toplevel? Thats only a plausible discrepancy no?

(In reply to yarden apelker from comment #13)

Also a related question, why would firefox require nested subsurfaces(which are within the browser pane, never outside, the main page content) to receive fractional scale separately from their toplevel? Thats only a plausible discrepancy no?

Toplevel is owned/managed by Gtk3 and it doesn't implement fractional scale at all.

(In reply to yarden apelker from comment #12)

There is a blink while a fractional change is detected in firefox.
Iz it known? Should i send a video?

I'm not aware of it - please create a screencast for it.
Thanks.

https://drive.google.com/file/d/1qri6VF6gHO9m3fizFEjCgZE-7tu5nB9J/view?usp=drivesdk

Please note this is mostly a bug and not enchancement as you tagged it. The layout clearly changes in addition to the blink.

Severity: -- → S3
Type: enhancement → defect
Summary: [Nourish] wayland fractional scaling is not updated on recurring fractional scaling events → [Nourish] flickering on scale change
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: