Created attachment 125959 [details] screen recording SUMMARY "Tools" menu of Spectacle lists the screen recorders installed on the current system. On my system Spectacle lists both "OBS Studio" and "VokoscreenNG" as not installed despite they are installed. See the attached screenshot please. STEPS TO REPRODUCE 1. install both OBS Studio and VokoscrenNG screen recorders 2. open Spectacle, click on "Tools" button, hover over "Record Screen > More" 3. EXPECTED RESULT Spectacle should correctly detect if OBS Studio or VokoscreenNG is installed SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1
Reproduced. Button "Install" opens OBS' page in Discover which does see it as installed. Operating System: Arch Linux KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1 Kernel Version: 5.5.4-zen1-1-zen OS Type: 64-bit
Can confirm on current master with Spectacle 21.03.70 and vokoscreenNG 3.0.7.
I can also confirm this on Gentoo with Spectacle 20.12.0 and both OBS Studio and VokoscreenNG latest versions. I tried replacing both of their .desktop original files with those that come with knewstuff (from /usr/share/kf5/kmoretools/presets-kmoretools/ ) but they still are reported as not installed.
*** Bug 443716 has been marked as a duplicate of this bug. ***
Git commit acc712720aa6ca7c6f0bc82e6658a0564697e6e7 by Nicolas Fella, on behalf of Anthony Wang. Committed on 15/10/2021 at 12:53. Pushed by nicolasfella into branch 'master'. Make sure that we query KService with lowercase desktop names since it seems that KService stores everything lowercase. M +1 -1 src/kmoretools/kmoretools.cpp https://invent.kde.org/frameworks/knewstuff/commit/acc712720aa6ca7c6f0bc82e6658a0564697e6e7
both obs and vokoscreenng from Arch repos are installed on my system and this bug persists. Operating System: Arch Linux KDE Plasma Version: 5.24.1 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Graphics Platform: Wayland
I can also confirm this for openSUSE Tumbleweed with the original knewstuff 5.90.0 where the upstream fix (toLower()) is applied and no other distro specific patches are applied. Both OBS and vokoscreenng are installed on the system and this bug persists. Operating System: openSUSE Tumbleweed Linux KDE Plasma Version: 5.24.1 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Graphics Platform: xcb
Confirm too on: Operating System: Kubuntu 22.04 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Kernel Version: 5.15.0-30-generic (64-bit) Graphics Platform: X11
Confirming this bug on: Operating System: Manjaro Linux KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 Kernel Version: 5.17.6-1-MANJARO (64-bit) Graphics Platform: X11
Confirming that this still persists also on openSUSE Tumbleweed: Operating System: openSUSE Tumbleweed Linux KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.2 Kernel Version: 5.17.7-1-default (64-bit) Graphics Platform: X11
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/knewstuff/-/merge_requests/194
Git commit 6b941efee626479c4820e622524c80fa047f6aa4 by Nicolas Fella. Committed on 20/07/2022 at 09:11. Pushed by nicolasfella into branch 'master'. [kmoretools] Don't lowercase the desktop entry name At some point KService::desktopEntryName was always lowercase We added toLower() here to accommodate for that and fix the comparison However, later KService got changed to preserve the case from the file name so we need to remove the toLower again M +1 -1 src/kmoretools/kmoretools.cpp https://invent.kde.org/frameworks/knewstuff/commit/6b941efee626479c4820e622524c80fa047f6aa4
I have VokoscreenNG from flathub installed on neon unstable, but Spectacle is still thinking it is not installed. Operating System: Arch Linux KDE Plasma Version: 5.25.4 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 Graphics Platform: Wayland
ops, here are the correct versions. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.25.80 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.5 Graphics Platform: Wayland
I can't reproduce the issue anymore with current git master as long as VokoScreenNG is installed from my distro repos. If I install it from FlatHub, I can reproduce the issue. I think this is a different issue with the KMoreTools system not detecting installed status correctly for non-distro-packaged apps. Let's get a new bug report for that.
*** Bug 462256 has been marked as a duplicate of this bug. ***