Bug 429311

Summary: gnome-terminal icon launcher doesn't work
Product: [Plasma] plasmashell Reporter: lilydjwg
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.20.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description lilydjwg 2020-11-18 16:05:08 UTC
SUMMARY

When pinning gnome-terminal to task manager, it actually pins gnome-terminal-server, which is unusable.

STEPS TO REPRODUCE
1. run gnome-terminal
2. try to pin it
3. try use the pinned icon

OBSERVED RESULT

It fails to start.

Also if you pin an icon from the Applications menu, it works, but new windows will use another icon.

EXPECTED RESULT

Pinned gnome-terminal icon works, and no another icon for the server.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
GNOME terminal: 3.38.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-11-18 21:28:46 UTC
Sounds like GNOME terminal is switching its ID after launch, which is generally poor practice. We have hardcoded exceptions for well-known apps which do this as a part of their fundamental architecture 9such as LibreOffice), but it really is a very lousy thing for an app to do and we would much prefer it if the app behaved nicely instead of us adding more app-specific workarounds. :)

So please report this to the GNOME Terminal developers. Thanks!
Comment 2 lilydjwg 2020-11-19 07:50:07 UTC
Can you explain what ID is GNOME terminal switching? I can't find any information about that.
Comment 3 Nate Graham 2020-11-19 15:02:44 UTC
typically WM_NAME or WM_CLASS.