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
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
*** Bug 468008 has been marked as a duplicate of this bug. ***
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!