Open lucknaumann opened 7 months ago
Interesting. I cannot reproduce this, although my environment is GNOME, not KDE.
However from your description it seems like it's related to portals: if you run ReText normally, Qt shows the font dialog directly, but in Flatpak, it goes through the portal.
But I am curious: does this happen with other Qt apps run in Flatpak?
E.g. the random app that I just found is Clementine: if you go to Tools → Preferences → Notifications and select “Show a pretty OSD” option, then the “Choose font…“ button will become active.
I don't have a lot of Qt apps as Flatpaks, so I installed KWrite and it was fine. I know it's a KDE app, but Clementine had old dependencies, so I figured KWrite was good enough.
Required runtime for org.clementine_player.Clementine/x86_64/stable (runtime/org.kde.Platform/x86_64/5.15-21.08) found in remote flathub
Do you want to install it? [Y/n]:
Info: org.kde.Platform//5.15-21.08 is end-of-life, with reason:
We strongly recommend moving to the latest stable version of the Platform and SDK
Info: org.freedesktop.Platform.VAAPI.Intel//21.08 is end-of-life, with reason:
org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: org.freedesktop.Platform.GL.default//21.08 is end-of-life, with reason:
org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Can you post the output of vainfo
?
$ vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.17.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 2.4.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
I tried this in Debian KDE (virtual machine) and had the same issue. Maybe this is just a Plasma 5 issue?
@Mailaender Duplicate? Stale? Hardly! And I've serious doubts regarding "can't reproduce" as I've reproduced this plenty. But I've no doubt regarding "won't fix" and "not planned".
@mitya57 You might want to pack the Flatpak yourself, if you care about this version at all.
No matter. I've uninstalled all versions of this program anyway.
You yourself said this also happens outside of Flatpak so it is not a sandboxing/packaging issue.
No. That's not what I said. I said it only happens with the Flatpak, not with the repo version or the python version. To quote myself --
This doesn't happen with the Ubuntu repository version or the python version.
I tried this in Debian KDE (virtual machine) and had the same issue. Maybe this is just a Plasma 5 issue?
Sounded like the opposite.
Hi. As the title says, the program freezes when attempting a font change with both the editor and the preview. The second either font dialog pops up, the program freezes and needs to be terminated, regardless of launching from the terminal or from the standard application launcher. This doesn't happen with the Ubuntu repository version or the python version.
Console output (the first part prior to
^C
is the initial launch, the rest is after it froze - probably obvious)Operating System: KDE neon 5.27 (Ubuntu 22.04 / Jammy) KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12 Kernel Version: 6.2.0-39-generic (64-bit) Graphics Platform: X11