Bug 468007 - Opening emacs launcher new application instance instead of replacing launcher icon
Summary: Opening emacs launcher new application instance instead of replacing launcher...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 468008 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-03-31 17:09 UTC by t.soernes
Modified: 2023-04-04 18:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description t.soernes 2023-03-31 17:09:17 UTC
SUMMARY
When I open emacs (icon #3) it opens a new instance (icon #5 on the taskbar),  instead of the launcher icon turning into the application instance https://i.imgur.com/E1RbdGK.png


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 37
(available in About System)
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 t.soernes 2023-03-31 17:10:30 UTC
When I open emacs (icon #3 on the taskbar in the picture below) it opens a new instance (icon #5 on the taskbar), instead of the launcher icon turning into the application instance https://i.imgur.com/E1RbdGK.png
Comment 2 t.soernes 2023-03-31 17:11:12 UTC
*** Bug 468008 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2023-04-04 18:47:28 UTC
This happens because the Task Manager fails to map the open Emacs window to the desktop file used for its launcher. Perhaps it changes its desktop file or its NET_WM_STRING property after being launched, which can cause this to break. Ultimately this is a bug in Emacs itself; I'd recommend reporting it to that app's developer. Thanks!