Bug 466806 - [Flatpak Permissions KCM] Clicking on app doesn't show permission settings
Summary: [Flatpak Permissions KCM] Clicking on app doesn't show permission settings
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_flatpak (other bugs)
Version First Reported In: 5.27.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2023-03-04 05:31 UTC by Samuel Reddy
Modified: 2023-03-16 08:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.27.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Reddy 2023-03-04 05:31:53 UTC
SUMMARY
When using the flatpak permission settings in system settings, clicking on a app does not show the permissions or allow you to change the settings.

STEPS TO REPRODUCE
1. Open system settings
2. Click applications
3. Click on flatpak permission settings
4. Click on an app you want to change the permissions of
5. No page is shown to change the permission or view the permission of the app


OBSERVED RESULT
The page in the kcm to change the permissions does not show up when I click an app

EXPECTED RESULT
The page to show the permissions and change the permissions should show up when I click on an app

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.10 (With backports PPA)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: NAVI22
Manufacturer: ASUS
Comment 1 Nate Graham 2023-03-06 22:56:03 UTC
Works for me. Can you run it in a terminal with `kcmshell5 kcm_flatpak` and see if any suspicious text is printed to the terminal window when you click on an app?
Comment 2 Samuel Reddy 2023-03-07 04:41:23 UTC
I get this weird error saying something is not defined when clicking an app:

(process:57626): GLib-CRITICAL **: 15:40:15.885: g_atomic_ref_count_dec: assertion 'old_value > 0' failed
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
file:///usr/share/kpackage/kcms/kcm_flatpak/contents/ui/main.qml:28: ReferenceError: FlatpakReferencesModel is not defined
file:///usr/share/kpackage/kcms/kcm_flatpak/contents/ui/main.qml:28: ReferenceError: FlatpakReferencesModel is not defined
file:///usr/share/kpackage/kcms/kcm_flatpak/contents/ui/main.qml:28: ReferenceError: FlatpakReferencesModel is not defined
file:///usr/share/kpackage/kcms/kcm_flatpak/contents/ui/main.qml:28: ReferenceError: FlatpakReferencesModel is not defined
file:///usr/share/kpackage/kcms/kcm_flatpak/contents/ui/main.qml:28: ReferenceError: FlatpakReferencesModel is not defined
file:///usr/share/kpackage/kcms/kcm_flatpak/contents/ui/main.qml:28: ReferenceError: FlatpakReferencesModel is not defined
Comment 3 Nate Graham 2023-03-07 16:25:36 UTC
Looks like this was fixed by 7315348966666340557f61bb0f25b3c9dc3a9f29, which unfortunately did not make it into Plasma 5.27.2. :/ It will be included in Plasma 5.27.3, which is scheduled to be released in one week.

Sorry about that!
Comment 4 Samuel Reddy 2023-03-15 05:23:07 UTC
Issue still exists on Plasma 5.27.3 with the same error. Tested on Kubuntu with Backports ppa.
Comment 5 Samuel Reddy 2023-03-16 08:25:57 UTC
(In reply to Samuel Reddy from comment #4)
> Issue still exists on Plasma 5.27.3 with the same error. Tested on Kubuntu
> with Backports ppa.

Nevermind, it has been fixed on the upcoming Kubuntu 23.04 Lunar Lobster.