Bug 486929

Summary: Can't pin Gitnuro app to Task Manager
Product: [Plasma] plasmashell Reporter: mikar_gibbros
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate, qydwhotmail
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description mikar_gibbros 2024-05-12 20:24:02 UTC
SUMMARY
Icons-only Task Manager won't pin Flatpak. Icons-only Task Manager won't merge Pin with running App that spawned from it.

STEPS TO REPRODUCE/OBSERVED RESULT
1. Install Gitnuro Flatpak, Run it, Try to Pin but Icons-only Task Manager has a bug and won't pin it.
2. Search for Gitnuro in Application Launcher and Pin it from there. When clicking the Pin, Icons-only Task Manager has a bug and won't open the Task Icon overtop of the Pin, instead showing Gitnuro twice in the Icons-only Task Manager. If you open up multiple windows they are merged into the second icon correctly.

EXPECTED RESULT
1. Right Clicking a Task Icon Then Pinning pinning it should just work (especially when a Flatpak).
2. Right Clicking a Task Icon Should have an option to Open the .Desktop file in an editor.

SOFTWARE/OS VERSIONS
Operating System: Bazzite 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-301.fsync.fc40.x86_64 (64-bit)
Graphics Platform: X11

Changing Special Window/Application Settings didn't fix it.
Changing Configure Icons-only Task Manager Settings didn't fix it.
Changing .Desktop didn't fix it.
Comment 1 mikar_gibbros 2024-05-12 20:38:13 UTC Comment hidden (spam)
Comment 2 mikar_gibbros 2024-05-16 04:11:05 UTC Comment hidden (spam)
Comment 3 Nate Graham 2024-08-06 21:03:38 UTC
Can confirm with that app on Wayland with the current git master version of Plasma. This is one of those apps that changes its WM_CLASS string after launch, or else one of the other methods the Task manager uses to identify apps. This is an app bug, not something that the Task Manager should work around. Please report it to the app's developer. Thanks!