https://bugs.kde.org/show_bug.cgi?id=465530
            Bug ID: 465530
           Summary: Kwin gives unrequested focus
    Classification: Plasma
           Product: kwin
           Version: 5.26.90
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: bugs-...@axeitado.com
  Target Milestone: ---

When switching virtual desktops, Kwin gives the input focus to Emacs (version
29.60, entering RC stage now): let's suppose that on Desktop1 we have Emacs and
Konsole, with focus on Konsole, then we switch to Desktop2 and back to
Desktop1. Now the input focus is on Emacs. The z-order remains unchanged.

This was discussed on Emacs bug tracker and a developer explained:

  Window in another desktop ends up focused upon returning to that
  desktop if it changes WM_NAME and _NET_WM_NAME while in an iconic
  state.

For the record, this is the Emacs bug report with a simple recipe for
reproducing the problem, in case you are interested (it requires a development
version of Emacs):

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61337


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-3-amd64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 62,7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to