https://bugs.kde.org/show_bug.cgi?id=504943

            Bug ID: 504943
           Summary: Mouse cursor does not switch context after switching
                    activities
    Classification: Plasma
           Product: kwin
      Version First 6.3.5
       Reported In:
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: activities
          Assignee: kwin-bugs-n...@kde.org
          Reporter: merem...@gmail.com
  Target Milestone: ---

Created attachment 181841
  --> https://bugs.kde.org/attachment.cgi?id=181841&action=edit
Mouse cursor has a characteristic shape indicating that it is over a clickable
link in a browser opened in another activity

SUMMARY
Switching activities using a shortcut (palsmashell's "Walk through activities")
leaves the focus under the mouse cursor on the previous activity. 

The attached image illustrates how it may visually appear: the mouse cursor has
a shape indicating that it is over a link in a browser opened in the second
activity. Clicking the mouse sends the clicks to the second activity. Under
some circumstances, after that, even keyboard events are sent to the second
activity. For instance, one can select text in an editor opened in the second
activity using the mouse and then replace that text by typing.

Having a browser (either Firefox or Chrome) open, even if it's may be the key
part of the bug. 

STEPS TO REPRODUCE
On my computer, it is reliably reproduced by the following steps
1. On one activity, open an editor (say, Kate, but it doesn't matter) and type
several lines of text
2. Switch to the second activity by a shortcut (in my case, it's Meta-A)
3. In the second activity, select the part of the screen covered by the Kate
window in the first activity, and press a symbolic button (say, 'd')

OBSERVED RESULT
Switch back to the first activity and see the text in Kate replaced by 'd'.

EXPECTED RESULT
Nothing should happen with the text in a different activity.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux x86_64
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Graphics Platform: X11

ADDITIONAL INFORMATION

"Workaround": After switching the activities, press Alt-Tab to (visually)
switch focus to the desired window.

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

Reply via email to