Bug 429311 - gnome-terminal icon launcher doesn't work
Summary: gnome-terminal icon launcher doesn't work
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.20.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-18 16:05 UTC by lilydjwg
Modified: 2020-11-19 15:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.