Bug 419848

Summary: KDE apps installed via flatpak hang when I try to export keyboard shortcuts
Product: [Frameworks and Libraries] flatpak-platform-plugin Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Jan Grulich <jgrulich>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jgrulich
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2020-04-08 16:38:01 UTC
SUMMARY
I can reproduce this problem with Kdenlive, kolourpaint (both from flathub) and Ktorrent nightly (from kde apps flatpak repo).
Not reproducible with the same apps installed from Arch repos.

STEPS TO REPRODUCE
1. install any app mentioned above and open it
2. click on "Settings" menu, choose "Configure keyboard shortcuts..."
3. click on "Manage schemes >>" button > "More actions" > "Export scheme..."
4. type any name for your scheme and click on "Save" button

OBSERVED RESULT
shortcuts scheme is not saved, "Configure keyboard shortcuts..." window hangs
and becomes unresponsive to mouse clicks.

EXPECTED RESULT
shortcuts scheme should be saved without any problem.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.2
Comment 1 Jan Grulich 2020-04-09 05:51:00 UTC
I cannot reproduce, I tested with Kolourpaint and it saved the scheme correctly. What are your xdg-desktop-portal-kde and xdg-desktop-portal versions?

Can you run "dbus-monitor --session" in terminal, try to export the keyboard scheme and kill the dbus-monitor and attach here the output?
Comment 2 Patrick Silva 2020-04-09 11:13:51 UTC
I use
xdg-desktop-portal-kde 5.18.4.1-1
xdg-desktop-portal 1.7.2-1

But weirdly the bug is no longer reproducible on my system.
I will reopen this report and post the output of your command if the bug happens again.