signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.16k stars 2.57k forks source link

signal-desktop does not support fractional scaling on wayland #6913

Open cuu508 opened 2 weeks ago

cuu508 commented 2 weeks ago

Using a supported version?

Overall summary

I am using Ubuntu 24.04, GNOME 46, Wayland windowing system, Intel integrated graphics.

I'm using fractional scaling with 150% scale.

I've installed signal-desktop 7.12.0 from Signal's apt repository. When I launch signal-desktop, the app runs and UI elements have reasonable size, but all of the UI slightly blurry.

There are tips floating around to use signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland and also how to put together ~/.local/share/applications/signal-desktop.desktop with the same flags.

When I use this workaround I get sharp UI, but I also see several new issues:

Steps to reproduce

  1. install signal-desktop on a system using GNOME, Wayland and fractional scaling
  2. launch signal-desktop

Expected result

Sharp UI

Actual result

Blurry UI

Screenshots

Blurry UI (with GNOME Settings app on top for comparison):

image

Generic icon when using --enable-features=UseOzonePlatform --ozone-platform=wayland

image

Signal version

7.12.0

Operating system

Ubuntu 24.04

Version of Signal on your phone

No response

Link to debug log

No response

trevor-signal commented 2 weeks ago

@cuu508 can you run an Electron Fiddle and see if you can reproduce the issue? Thanks!

cuu508 commented 2 weeks ago

I installed electron-fiddle_0.36.3_amd64.deb. Running it with no arguments, I get blurry UI (Electron Fiddle on top, GNOME Terminal below as comparison):

Screenshot from 2024-06-14 21-58-32

If I run it with --enable-features=UseOzonePlatform --ozone-platform=wayland arguments, I get sharp UI:

Screenshot from 2024-06-14 21-59-09

Unlike signal-desktop, the UI shows up on the first launch, and the app icon is correct in Alt+Tab and app overview views.

trevor-signal commented 1 week ago

@cuu508 thanks for that. The window not opening is a known issue; we're tracking it here: https://github.com/signalapp/Signal-Desktop/issues/6368.