mrvladus / Errands

Todo application for those who prefer simplicity.
MIT License
301 stars 66 forks source link

Design broken on KDE Wayland; rows are tiny, text squashed #208

Closed kekkoudesu closed 7 months ago

kekkoudesu commented 8 months ago

KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 Kernel Version: 6.7.4-arch1-1 (64-bit) Graphics Platform: Wayland

OS: Arch Linux

Output of flatpak list:

Errands                                           io.github.mrvladus.List                                  45.1.9                  stable                  system

What Errands looks like for me: image

It's not usable.

mrvladus commented 8 months ago

Does other libadwaita apps behave the same?

kekkoudesu commented 8 months ago

Yes, like Done.

mrvladus commented 8 months ago

Task rows in "Done" tiny too? And font looks ugly?

kekkoudesu commented 8 months ago

Yep. Most of the task is completely cut off too in "Done".

mrvladus commented 8 months ago

I guess it's archlinux and KDE bug, probably something to do with fontconfig, or maybe some font packages are not installed.

kekkoudesu commented 8 months ago

Do you know what fonts I should try installing?

I've tested Errands on another Arch computer running GNOME and it looks fine. Done also looks fine on (yet another, different) Arch computer running GNOME. So it seems to happen purely on KDE.

kekkoudesu commented 8 months ago

I just built the AUR package and it's completely fine on KDE.

image

Seems to be a Flatpak bug.

mrvladus commented 8 months ago

Probably related to https://github.com/flatpak/flatpak/issues/2861

mrvladus commented 8 months ago

You can try to install gnome-settings-daemon

kekkoudesu commented 8 months ago

I tried installing gnome-settings-daemon (which brought gcr along for the ride), but the Flatpak version still doesn't work.

For now I've copied all my tasks to the AUR version which is working great.

kekkoudesu commented 8 months ago

I noticed that when I run the AUR version (and only the AUR version; it's not like this for the Flatpak version), I get:

[DEBUG] Starting Errands 45.1.8

(errands:36272): Gtk-WARNING **: 10:57:25.515: Unknown key gtk-modules in /home/user/.config/gtk-4.0/settings.ini
[DEBUG] Creating actions
[DEBUG] Initialize GSettings
[DEBUG] Task list d3e845aa-ca83-4287-af8d-59edbb7c7b26: Update UI

Despite this, I don't see any issues with the interface.

Here's ~/.config/gtk-4.0/settings.ini:

[Settings]
gtk-application-prefer-dark-theme=false
gtk-cursor-theme-name=breeze_cursors
gtk-cursor-theme-size=24
gtk-decoration-layout=icon,close,maximize,minimize:
gtk-enable-animations=true
gtk-font-name=Noto Sans,  10
gtk-icon-theme-name=breeze
gtk-modules=colorreload-gtk-module:window-decorations-gtk-module
gtk-primary-button-warps-slider=false
gtk-xft-dpi=196608
mrvladus commented 7 months ago

Closing as not related to Errands