Bug 467129

Summary: Application Menu: Creating a new Appstarter for special parameter overwrites existing one regarding grouping and icon
Product: [Applications] kmenuedit Reporter: Henning <boredsquirrel>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 5.27.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henning 2023-03-09 22:21:01 UTC
SUMMARY
When creating an appstarter for Firefox with "command-to-open -P Profilename", and using a custom icon for that, all Firefox windows will have this icon.

STEPS TO REPRODUCE
1. Install Firefox
2. Create an appstarter using the same opening command, but add a parameter like "-p Profilename" to it, assign a new icon
3. Open the custom firefox
4. Open the normal firefox
5. Close both and open normal Firefox again

OBSERVED RESULT
The new appstarters icon is used for both firefox windows.

EXPECTED RESULT
Firefox should use its own Icon, only the custom launched appstarter should use it.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.14-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
the command used is:

/usr/bin/flatpak 
run --branch=stable --arch=x86_64 --command=firefox --file-forwarding org.mozilla.firefox @@u %u @@ -p Profilename

it works launching the custom Profile