Bug 467665

Summary: PolkitQt example fails
Product: [Plasma] policykit-kde-agent-1 Reporter: siavosh.kasravi
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: normal CC: drf, jgrulich, jreznik, nate, siavosh.kasravi
Priority: NOR    
Version: 5.26.5   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description siavosh.kasravi 2023-03-21 21:43:18 UTC
SUMMARY
I tried to run the repo example but the button texts and icons didn't appear. I debugged app and found out that there is an error logged in the library: "GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.qt.policykit.examples.kick is not registered"

STEPS TO REPRODUCE
I followed the INSTALL file instructions and executed polkit-example-qt5 as a non-root user.

OBSERVED RESULT
- Button texts and icons are missing.
- Buttons do not do anything except for kick button.

EXPECTED RESULT
Icons and texts be shown and buttons function properly.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.2.7-2-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Product Name: MS-7B18
System Version: 1.0

ADDITIONAL INFORMATION
Here is the project page https://api.kde.org/polkit-qt-1/html/index.html