Bug 467936

Summary: Weird behavior of pinned konqueror application in plasma's task manager
Product: [Applications] konqueror Reporter: avlas <jsardid>
Component: generalAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: stefano.crocco
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description avlas 2023-03-29 18:40:37 UTC
There is a weird behavior when pinning the Konqueror application in the task manager:

Either the pin doesn't work (because it actually invokes the service org.kde.konqueror.desktop; explanation below) or two konqueror icons appear in the task manager, one for the pin and another for the actual window(-s) (when invoking the application konqbrowser.desktop by manually editing plasma-org.kde.plasma.desktop-appletsrc). 

To fix these issues the application and service names (konqbrowser.desktop and org.kde.konqueror.desktop respectively) should be exchanged.

STEPS TO REPRODUCE
1. Open konqueror
2. right click and pin to task manager
3. close konqueror
4. Open konqueror by clicking the pinned icon

OBSERVED RESULT

Konqueror does not open because we are trying to open a service as if it was an application 

EXPECTED RESULT

Konqueror should open without duplicating the icons in the task manager

TEMPORAL WORKAROUND

just copy konqbrowser.desktop to $HOME/.local/share/applications/org.kde.konqueror.desktop