https://bugs.kde.org/show_bug.cgi?id=410827
Bug ID: 410827 Summary: Neither KWinscript nor wmctrl show all the windows on Wayland Product: kwin Version: 5.16.4 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: platform-wayland Assignee: kwin-bugs-n...@kde.org Reporter: i...@xuzhao.net Target Milestone: --- Created attachment 122072 --> https://bugs.kde.org/attachment.cgi?id=122072&action=edit Only one window being recognized by the kwinscript SUMMARY Neither KWinscript nor wmctrl correctly show all the open windows on KWin Wayland. STEPS TO REPRODUCE 1. Open a few applications in KWin 5.16.4: Firefox, Emacs, Alacritty, Okular 2. Run "wmctrl -l" or the following KWinscript: var clist = workspace.clientList(); print(clist.length); for(var i = 0; i < clist.length; i ++) { print(clist[i]); } 3. Should print all the windows, but only one of them got printed. See screenshot: https://ibb.co/YpFF7xG OBSERVED RESULT Only one window got printed EXPECTED RESULT All the windows are printed with their names. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Linux 5.2.0 , openSUSE Tumbleweed latest (available in About System) KDE Plasma Version: Plasma 5.16.4 KDE Frameworks Version: 5.60.0 Qt Version: 5.13.0 ADDITIONAL INFORMATION See the attachment -- You are receiving this mail because: You are watching all bug changes.