Bug 498856

Summary: Inhibiting test fails in ASHPD Demo
Product: [Plasma] xdg-desktop-portal-kde Reporter: Ilya Bizyaev <bizyaev>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: aleixpol, josh
Priority: NOR    
Version First Reported In: 6.2.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ilya Bizyaev 2025-01-18 17:12:23 UTC
SUMMARY
I initially filed https://github.com/bilelmoussaoui/ashpd/issues/260, but the developer suggested that the issue is likely on KDE's side.

STEPS TO REPRODUCE
1. Install and launch https://flathub.org/apps/com.belmoussaoui.ashpd.demo
2. On the "Inhibit" page, select "Suspend" and click "Start session"

OBSERVED RESULT
An error is logged by the demo, see https://github.com/bilelmoussaoui/ashpd/issues/260. According to ashpd's developer, "the error means that the portal returned a tuple of (2, {}) as a response. Which usually means a portal impl error".

EXPECTED RESULT
Inhibition starts, and the "End session" button is enabled, like in GNOME 47.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250116
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.9-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION