Bug 381486 - Switching activity don't change focus
Summary: Switching activity don't change focus
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: activities (other bugs)
Version First Reported In: 5.8.9
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-21 12:37 UTC by giambrox
Modified: 2021-12-06 04:39 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description giambrox 2017-06-21 12:37:45 UTC
Sometimes, when changing activity via keyboard shortcut, the focus remains in the last window used in the precedent activity.
This result, for example, in:
- writing some text in a chat 
- changing activity
- writing a command in a terminal, maybe also user/password
- ...discovering that all of that was written after changing activity is gone over the chat %-D
Comment 1 Alexander Mentyu 2017-11-23 09:44:10 UTC
Can't reproduce this bug in:

Distribution: KDE neon Developer Edition - Stable Branches
Plasma: 5.11.3
Frameworks: 5.41.0
Qt: 5.9.1
Kernel 4.10.0-38-generic
Type: 64-bit
Comment 2 André M 2018-07-05 16:43:01 UTC
Can confirm this happens.
I think it may be related to the "Remember the current virtual desktop for each activity (needs restart)", as looks like the problem is triggered more often when switching activities also makes the desktop switch: the focused window in the later desktop on the former activity receives the focus while not shown (as the window shown is the focused window on the later desktop on the later activity). Focus Stealing Prevention is None, and Focus policy is Click to Focus.
Comment 3 kde.org 2021-11-06 21:28:50 UTC
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
Comment 4 Bug Janitor Service 2021-11-21 04:39:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-12-06 04:39:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!