[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=501393

--- Comment #22 from Nate Graham  ---
*** Bug 502022 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=501393

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #21 from Nate Graham  ---
*** Bug 505910 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=501393

Nate Graham  changed:

   What|Removed |Added

 CC||macieksitarz+bugs.kde@gmail
   ||.com

--- Comment #20 from Nate Graham  ---
*** Bug 502022 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=501393

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |HI

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=501393

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #19 from Nate Graham  ---
*** Bug 505343 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=501393

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.4.3

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-07 Thread Dorian OUAKLI
https://bugs.kde.org/show_bug.cgi?id=501393

Dorian OUAKLI  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin/-/commit/4972183b54 |ma/kwin-x11/-/commit/613966
   |56856e6445708f0cb4e58e31728 |782e382b0337547975791bca3e9
   |fe4 |de1c7a9

--- Comment #17 from Dorian OUAKLI  ---
Git commit 613966782e382b0337547975791bca3e9de1c7a9 by Dorian OUAKLI.
Committed on 04/07/2025 at 00:11.
Pushed by vladz into branch 'master'.

workspace: Fix window activation on activity change

M  +19   -81   src/workspace.cpp
M  +1-0src/workspace.h

https://invent.kde.org/plasma/kwin-x11/-/commit/613966782e382b0337547975791bca3e9de1c7a9

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-07 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=501393

Vlad Zahorodnii  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin-x11/-/commit/613966 |ma/kwin-x11/-/commit/b1cf93
   |782e382b0337547975791bca3e9 |2e0d19230e7a119410b7fb572d2
   |de1c7a9 |dd5c7c2

--- Comment #18 from Vlad Zahorodnii  ---
Git commit b1cf932e0d19230e7a119410b7fb572d2dd5c7c2 by Vlad Zahorodnii, on
behalf of Dorian OUAKLI.
Committed on 07/07/2025 at 14:03.
Pushed by vladz into branch 'Plasma/6.4'.

workspace: Fix window activation on activity change

M  +19   -81   src/workspace.cpp
M  +1-0src/workspace.h

https://invent.kde.org/plasma/kwin-x11/-/commit/b1cf932e0d19230e7a119410b7fb572d2dd5c7c2

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-03 Thread Dorian OUAKLI
https://bugs.kde.org/show_bug.cgi?id=501393

Dorian OUAKLI  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin/-/commit/f67619be3e |ma/kwin/-/commit/4972183b54
   |44633ef57c37561c9c9edfbb53d |56856e6445708f0cb4e58e31728
   |8a0 |fe4

--- Comment #16 from Dorian OUAKLI  ---
Git commit 4972183b5456856e6445708f0cb4e58e31728fe4 by Dorian OUAKLI.
Committed on 03/07/2025 at 17:58.
Pushed by zamundaaa into branch 'Plasma/6.3'.

workspace: Fix window activation on activity change

M  +19   -81   src/workspace.cpp
M  +1-0src/workspace.h

https://invent.kde.org/plasma/kwin/-/commit/4972183b5456856e6445708f0cb4e58e31728fe4

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-03 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=501393

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #14 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/7869

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-07-03 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=501393

Zamundaaa  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/-/commit/f67619be3e
   ||44633ef57c37561c9c9edfbb53d
   ||8a0
 Resolution|--- |FIXED

--- Comment #15 from Zamundaaa  ---
Git commit f67619be3e44633ef57c37561c9c9edfbb53d8a0 by Xaver Hugl, on behalf of
Xaver Hugl.
Committed on 03/07/2025 at 17:02.
Pushed by zamundaaa into branch 'Plasma/6.4'.

workspace: Fix window activation on activity change


(cherry picked from commit 4b89e0be728a660dbc6f617d032e4fb0055667ad)

Co-authored-by: Dorian OUAKLI 

M  +34   -96   src/workspace.cpp
M  +1-0src/workspace.h

https://invent.kde.org/plasma/kwin/-/commit/f67619be3e44633ef57c37561c9c9edfbb53d8a0

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-06-30 Thread Regényi Balázs
https://bugs.kde.org/show_bug.cgi?id=501393

--- Comment #13 from Regényi Balázs  ---
(In reply to Regényi Balázs from comment #0)
> ...
> - Running on X11.

I have now switched to Wayland, and the exact same issue still occurs. This
confirms that the focus bug is not limited to X11.

Current system info:
Operating System: Manjaro Linux
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.3-1-MANJARO (64-bit)
Graphics Platform: Wayland
CPU: Intel Core i5-1245U
RAM: 31 GiB
GPU: Intel Graphics
Device: Dell Latitude 5430

A possible workaround:
After switching activities, pressing Ctrl+D twice (my shortcut for "Show
Desktop") restores proper focus behavior. So:
- Switch activity
- Press Ctrl+D twice
  → Now window focus works normally again.

Let me know if I can help with debugging or if logs would be useful.

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-05-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=501393

[email protected] changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #12 from [email protected] ---
Would it be possible to raise the priority of this bug since

* this apparently also happens on Wayland, and
* it makes Plasma completely unusable if you use virtual desktops and
activities?

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-05-13 Thread Lorenzo
https://bugs.kde.org/show_bug.cgi?id=501393

--- Comment #11 from Lorenzo  ---
(In reply to Lorenzo from comment #10)
> I've actually tested this with Wayland session and this is even more
> annoying IMHO.
> 
> When keyboard cycling through an activity with different virtual desktops on
> each activity the virtual desktop switching 'animation' is triggered and
> still the focus is on the 'old' window.
> 
> So it seems that this is not an X11 bug only (which seemed to be hinted from
> some comments).
So this creates two major annoyances and rather unusable UX:
- the virtual desktop switching 'animation' ('fade desktop' in my case) is
triggered
- if I click on what I think is the window in focus on the activity / desktop
because focus is on the old one everything 'jumps' back to that
activity/desktop/window

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-05-13 Thread Lorenzo
https://bugs.kde.org/show_bug.cgi?id=501393

--- Comment #10 from Lorenzo  ---
I've actually tested this with Wayland session and this is even more annoying
IMHO.

When keyboard cycling through an activity with different virtual desktops on
each activity the virtual desktop switching 'animation' is triggered and still
the focus is on the 'old' window.

So it seems that this is not an X11 bug only (which seemed to be hinted from
some comments).

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-05-12 Thread Lorenzo
https://bugs.kde.org/show_bug.cgi?id=501393

Lorenzo  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #9 from Lorenzo  ---
I'm also hit by this:
Plasma 6.3.4
KDE Framework 6.13.0
Manjaro with X11

The same virtual desktop workaround doesn't work form me as I'm having two
virtual desktops per activity, which is kind of the point of having activities
for me, i.e. having an additional 'dimension' on top of virtual desktops (I
imagine virtual desktops like being the X of switching and activities the Y...)

A really annoying workaround for me is after switching also doing e.g. META + D
two times (show / hide desktop) or a couple of ALT+ TAB to re-focus the correct
window.
This is particularly painful when working with browsers or file managers as you
accidentally click on a hyperlink in the 'old' window.

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-04-30 Thread Kevin Krammer
https://bugs.kde.org/show_bug.cgi?id=501393

--- Comment #8 from Kevin Krammer  ---
I've found a workaround.

If you always switch activity on the same virtual desktop then the problem does
not happen.

For example I will now always first switch to virtual desktop 1 before
switching activities.

The new "remember virtual desktop" behavior requires me to change virtual
desktops anyway, either before or after switching activities.
If I do it before I don't get hit by this bug either.

With the split of repositories it might be worthwhile to consider removal of
this new behavior from kwin_x11 and keep stabilizing it in kwin_wayland first.
Ideally with an on/off switch before "backporting" it to kwin_x11 (if at all)?

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-04-29 Thread Vincent de Phily
https://bugs.kde.org/show_bug.cgi?id=501393

Vincent de Phily  changed:

   What|Removed |Added

 CC||[email protected]

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-03-28 Thread Luke Horwell
https://bugs.kde.org/show_bug.cgi?id=501393

Luke Horwell  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #7 from Luke Horwell  ---
*** Bug 501397 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-03-28 Thread Luke Horwell
https://bugs.kde.org/show_bug.cgi?id=501393

Luke Horwell  changed:

   What|Removed |Added

 CC||[email protected]
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-03-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=501393

Nate Graham  changed:

   What|Removed |Added

   Priority|VHI |NOR
   Keywords||regression

--- Comment #6 from Nate Graham  ---
X11-only bugs aren't HI or VHI anymore; lowering priority.

Still worth fixing of course.

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-03-19 Thread Kevin Krammer
https://bugs.kde.org/show_bug.cgi?id=501393

Kevin Krammer  changed:

   What|Removed |Added

  Component|general |activities
   Severity|normal  |grave
   Priority|NOR |VHI

--- Comment #5 from Kevin Krammer  ---
This was most likely introduced in 6.3 with the change that moved "remember
virtual desktop on activity" from Activity Manager to KWin.

It now remembers the activity so well that the previous activity's windows
still get the mouse input.

At first I couldn't find a pattern but only had very unresponsive windows and
weird changes to windows I had not explicitly interacted with.

The latter effect is now clearly the result of the visible window being
"unresponsive" because it received the clicks, moves, drags that the visible
window appeared to ignore.

If the "other window" is fullscreen you can't even intact with Plasma on the
new activity anymore.

Only reliable way to interact with any window is to go through an explicit KWin
activation (ALT-Tab, window overview, taskbar activation).
Anything else is the mouse interaction equivalent of Russian Roulette.

I am increasing severity and moving to component activities

P.S.: platform info
Operating System: KDE neon 6.3
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-19-generic (64-bit)
Graphics Platform: X11

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-03-19 Thread Kevin Krammer
https://bugs.kde.org/show_bug.cgi?id=501393

--- Comment #4 from Kevin Krammer  ---
Created attachment 179574
  --> https://bugs.kde.org/attachment.cgi?id=179574&action=edit
Screenshot of browser with tooltip/hover info from Kate

Identical situation to the other screenshot but here I hovered over the
position at which the Kate window would have its "scrollbar" so it triggered
its hover effect.

Essentially happened accidentally while taking the other screenshot, which made
me realize that the other window was Kate and that it was on a different
activity

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-03-19 Thread Kevin Krammer
https://bugs.kde.org/show_bug.cgi?id=501393

Kevin Krammer  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #3 from Kevin Krammer  ---
Created attachment 179573
  --> https://bugs.kde.org/attachment.cgi?id=179573&action=edit
Screenshot of browser with "text input cursor" from other app

The window shown is Chromium (on discuss.kde.org)
The cursor is indicating text input which the current window does not have at
this location.

On another activity I had Kate at that same position on that same monitor.
Different virtual desktop though, but it was the desktop that KWin "remembered"
for that activity.

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-03-19 Thread Manfred Musch
https://bugs.kde.org/show_bug.cgi?id=501393

Manfred Musch  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #2 from Manfred Musch  ---
In my case the same behaviour, but with a different distribution. However, I'm
not to 100% sure whether it goes hand in hand with the use of Activities. But
it could be the case. By the way, to be clear, I'm using Activities (five, to
be more precise - with four workspaces on each).
-
Operating System: openSUSE Tumbleweed 20250317
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.6-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 PRO 4650G with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: CSL Computer GmbH

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-03-15 Thread Enrique
https://bugs.kde.org/show_bug.cgi?id=501393

Enrique  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #1 from Enrique  ---
I have this same issue as well.

Similar software and os version too.
SOFTWARE AND OS VERSIONS
Plasma: 6.3.2
KDE Framework: 6.11.0
Qt: 6.8.2
Kernel: 6.12.17-1 MANJARO
X11

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

[kwin] [Bug 501393] Window focus is lost after activity switch when using multiple activities and screens (Plasma 6.3.2, Frameworks 6.1.1, Qt 6.8.2)

2025-03-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=501393

Nate Graham  changed:

   What|Removed |Added

  Component|general |general
Product|kde |kwin
 CC||[email protected]
Version|unspecified |6.3.3
   Assignee|[email protected] |[email protected]

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