Bug 451423

Summary: XDG portal open//save dialog shows up in Task Manager as its own window, rather than being a dialog of a parent window
Product: [Plasma] xdg-desktop-portal-kde Reporter: Piotr Keplicz <keplicz>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: aleixpol, jgrulich, kdebugtracker, nate
Priority: NOR    
Version First Reported In: 5.24.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: xprop data with generic icon
xprop data with proper icon
Pinned Firefox icon (left), running Firefox instance with generic icon

Description Piotr Keplicz 2022-03-12 10:01:53 UTC
Created attachment 147455 [details]
xprop data with generic icon

SUMMARY
I have an icon for Firefox pinned in the Icons-Only Task Manager. Since the release of Plasma 5.24, after some time after startup Firefox is no longer associated with its icon on the task manager and instead uses a generic KDE icon.

STEPS TO REPRODUCE
1. Pin Firefox to the task bar.
2. Use it for some time, play multimedia etc.

OBSERVED RESULT
Firefox becomes associated with a generic KDE icon outside of the "pin area" of the task bar. Restarting Firefox fixes the problem.

EXPECTED RESULT
Firefox is always connected to its icon.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Comment 1 Piotr Keplicz 2022-03-12 10:02:32 UTC
Created attachment 147456 [details]
xprop data with proper icon
Comment 2 Piotr Keplicz 2022-03-12 10:04:08 UTC
Created attachment 147457 [details]
Pinned Firefox icon (left), running Firefox instance with generic icon
Comment 3 Piotr Keplicz 2022-03-12 10:13:51 UTC
It seems that this happens when a Plasma dialog window is opened within Firefox (eg. the file selection dialog).