phase1geo/Minder

Flatpak font issue and window render area

mmahmoudian opened this issue · 6 comments

First and foremost, Thank you for investing your time into this FLOSS project.

The issues

Upon installing the software from Flathub, I noticed three things

  1. The load time has a noticable delay (might be related to #170 )
  2. The fonts are pixelated (red arrows), which to my understanding means it has not managed to find system fonts and is using some sort of fall-back font
  3. the Preferences window has a border, but it's right side is transparent (blue arrow)

image

I'm not sure what is going on here. I have included a screenshot of Minder running as a Flatpak on Fedora. As you can see, the fonts look good and the preferences window doesn't have that weird transparency on the right-hand side. I'm also not noticing any startup delay that is out of the ordinary.

Screenshot from 2024-02-05 09-39-02

The difference I can see is that the preference window on my machine has window border and no shadow. I also had a hunch that this can be a Wayland issue, so I logged into KDE Plasma X11 and the following is what I got. The font is resolved, but the shadow/window border is still the same:

image

So in a weird way, I think if you somehow force the window decoration to be turned off, the preferences issue goes away, but it seems the font is 100% a Wayland thing.

The only thing about your analysis that I find puzzling is that everything works fine on Fedora which is using Wayland.

What desktop environment are you running?

The only thing about your analysis that I find puzzling is that everything works fine on Fedora which is using Wayland.

Can it be that you use Fedora Gnome and there is a GTK dependency or font that is already installed?

What desktop environment are you running?

The following is my system information from KDE Plasma itself:

Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12
Kernel Version: 6.6.10-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7440HQ CPU @ 2.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Manufacturer: LENOVO

and the following is from inxi:

inxi --system --graphics --width 80
System:
  Host: Psyco Kernel: 6.6.10-1-MANJARO arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 5.27.10 Distro: Manjaro Linux
Graphics:
  Device-1: Intel HD Graphics 630 driver: i915 v: kernel
  Device-2: Realtek Integrated Camera driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.10 with: Xwayland v: 23.2.3
    compositor: kwin_wayland driver: X: loaded: modesetting dri: iris gpu: i915
    resolution: 1920x1080
  API: EGL v: 1.5 drivers: iris,swrast
    platforms: wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.3.3-manjaro1.1
    renderer: Mesa Intel HD Graphics 630 (KBL GT2)
  API: Vulkan v: 1.3.274 drivers: intel surfaces: xcb,xlib,wayland

I'm not sure what to say about your setup here. Unless something can be proven, I don't believe there are any Minder coding issues that I need to solve, so I'm not sure that I can be of further help in this issue.

Perhaps there is something missing on your system. I'm not an expert in running Gtk applications from with a KDE environment.