Bug 404568 - xdg-desktop-portal-kde process uses an entire cpu core under Gnome Wayland session
Summary: xdg-desktop-portal-kde process uses an entire cpu core under Gnome Wayland se...
Status: RESOLVED NOT A BUG
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-19 19:22 UTC by Patrick Silva
Modified: 2021-06-25 15:38 UTC (History)
1 user (show)

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


Attachments
screenshot (210.43 KB, image/png)
2019-02-19 19:22 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-02-19 19:22:08 UTC
Created attachment 118201 [details]
screenshot

STEPS TO REPRODUCE
1. start Gnome Wayland session
2. open an app installed via flatpak (I have VLC and VidCutter from flathub here)
3. check cpu usage of xdg-desktop-portal-kde process

OBSERVED RESULT
xdg-desktop-portal-kde process uses an entire cpu core, see my screenshot.

EXPECTED RESULT
normal cpu usage

SOFTWARE/OS VERSIONS
Linux/DE: Arch Linux/Gnome 3.30.2
xdg-desktop-portal-kde 5.15.1

ADDITIONAL INFORMATION
The problem does not occur under Gnome X11 sesison
Comment 1 Jan Grulich 2019-02-20 08:00:07 UTC
You shouldn't be using xdg-desktop-portal-kde under Gnome, try to install xdg-desktop-portal-gtk and restart, it will be used automatically instead.
Comment 2 Patrick Silva 2019-02-20 12:11:51 UTC
Thank you Jan.
Comment 3 Jan Grulich 2021-06-25 15:38:08 UTC
I believe this can be closed. 

1) Xdg-desktop-portal-kde shouldn't be used in GNOME.
2) We limited many portals not to run outside KDE sessions as they are tied to KWin or other KDE specific apps/services.