0. Unsandboxed Chromium in Wayland ((unsupported and just for testing
purposes!) /snap/chromium_edge/current/usr/lib/chromium-browser/chrome
--ozone-platform-hint=wayland) has no issues responding to 'large text'
setting. This must be a downstream problem.

1. Chromium in the sandbox can see changes to text-scaling-factor via
gsettings:

  nteodosio@canonical:/home/nteodosio$ gsettings get 
org.gnome.desktop.interface text-scaling-factor
  1.0
  #After changing to 1.5 in the host...:
  nteodosio@canonical:/home/nteodosio$ gsettings get 
org.gnome.desktop.interface text-scaling-factor
  1.5

2. It moreover acknowledges the change in that setting with:

  (chrome:33484): Gdk-DEBUG: 10:20:33.195: Using changed portal setting
org.gnome.desktop.interface text-scaling-factor: 1.5

3. Judging by //gdk/wayland/gdkdisplay-wayland.c, GTK gets it from the
settings portal when a Gsetting changes. All Gnome applications (but the
here discussed snapped Chromium on Ozone) respond. However, in the
stderr one does see

4. Why does Chromium bundle the GTK tree (in //third_party/wayland-
protocols), though? At any rate it does not seem to use it: The debug
statements I injected there are never triggered.

5. There is a --enable-wayland-server option but judging by the variable
name (kAshEnableWaylandServer) it probably does nothing in Linux.
Indeed, if the Wayland interface is disconnected from Chromium, it fails
to launch regardless.

6. Xorg's side of it does not have any mention to text-scaling-factor
and indeed no application responds to that Gsetting in Icewm or Dwm. But
they do on Gnome-Shell (in Xorg). Gnome-Shell has
//js/ui/status:_buildFontItem which responds to that setting, but I do
not understand how it is able to propagate it to its windows (as these
are other programs, other processes, right?).

7. --force-device-scale-factor is experimental and indeed Chromium goes
wild with it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2077272

Title:
  Gnome's large text accessibility setting not reflect in Chromium in
  Wayland

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2077272/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to