webosbrew / dev-manager-desktop

Device/DevMode Manager for webOS TV
Apache License 2.0
1.17k stars 73 forks source link

Unreadable text in terminal tab #132

Open zany130 opened 1 year ago

zany130 commented 1 year ago

Describe the bug Unreadable text in terminal tab when using KDE wayland fractional scaling

To Reproduce Steps to reproduce the behavior:

  1. Enable KDE desktop scaling (I use 1.25)
  2. Go to Terminal tab
  3. See error

Expected behavior Text is legible

Screenshots image

Additional context

inxi -b System: Host: Garuda-Linux Kernel: 6.3.9-273-tkg-pds arch: x86_64 bits: 64 Desktop: KDE Plasma v: 5.27.6 Distro: Garuda Linux Machine: Type: Desktop Mobo: ASRock model: X470 Taichi serial: UEFI: American Megatrends v: P5.10 date: 10/20/2022 CPU: Info: 6-core AMD Ryzen 5 5600X [MT MCP] speed (MHz): avg: 4445 min/max: 2200/4650 Graphics: Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] driver: amdgpu v: kernel Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2 compositor: kwin_wayland driver: N/A resolution: 1: 2048x864 2: 1536x864 3: 1536x864 API: OpenGL v: 4.6 Mesa 23.1.3 renderer: AMD Radeon RX 6700 XT (navi22 LLVM 15.0.7 DRM 3.52 6.3.9-273-tkg-pds) Network: Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi Device-2: Intel I211 Gigabit Network driver: igb Drives: Local Storage: total: 2.96 TiB used: 2.3 TiB (77.7%) Info: Processes: 625 Uptime: 4h 57m Memory: available: 31.26 GiB used: 16.15 GiB (51.7%) Shell: fish inxi: 3.3.27

I tried both the app image in GitHub releases and the aur package https://aur.archlinux.org/packages/webos-dev-manager-bin

EDIT: I fixed if I set the display scale to 1, so its related to wayland scaling

mariotaku commented 1 year ago

Looks like it can be easily reproduced by setting environment variable GDK_DPI_SCALE=0.5. And looks like it's an issue in GTK: https://wiki.archlinux.org/title/HiDPI#Fractional_scaling .

I'll try to find if there are any way to get around this.