Created attachment 146809 [details] screenshot STEPS TO REPRODUCE 1. open task manager settings and click on 'Behavior' in the left side 2.set 'Clicking grouped task' to 'Shows textual list' and click on 'OK' button 3. open Konsole and create several new instances by pressing ctrl+shift+n repeatedly 4. click on Konsoles grouped in the task manager OBSERVED RESULT textual list opens and we see some instances identified with the same number. For example, there are two or more 'bash - Konsole <5>'. Please see the attached screenshot. EXPECTED RESULT each instance should have a different number SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.24.80 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.3 Graphics Platform: Wayland
Does the windows with the same number also have the same number in the titlebar?
(In reply to Fushan Wen from comment #1) > Does the windows with the same number also have the same number in the > titlebar? yes
Created attachment 147009 [details] duplicate.png Can reproduce by running "konsole & konsole & konsole & konsole & konsole & konsole & konsole & konsole & konsole & konsole & konsole & konsole & konsole & konsole & konsole &"
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4199
Git commit 6d83ce30afbcb7f72beb412f1a70ef9d9519ecd4 by David Edmundson. Committed on 23/06/2023 at 07:32. Pushed by davidedmundson into branch 'master'. wayland: Update window caption suffix on map Window captions have a suffix for disambiguation, based on window captions of other mapped windows. In xdgshell we update this when a caption changes, but this could be before a window is mapped. This can lead to two windows at once having the same suffix, as a suffix could be used but not in the list of searched clients. M +1 -0 src/waylandwindow.cpp https://invent.kde.org/plasma/kwin/-/commit/6d83ce30afbcb7f72beb412f1a70ef9d9519ecd4