[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-10-13 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=456873

Zamundaaa  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #23 from Zamundaaa  ---
Please don't reopen bugs that are marked as duplicate unless it was wrongly
marked as duplicate

*** This bug has been marked as a duplicate of bug 455429 ***

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-10-12 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=456873

wptpq...@gmail.com changed:

   What|Removed |Added

 Resolution|DUPLICATE   |---
 Status|RESOLVED|REOPENED

--- Comment #22 from wptpq...@gmail.com ---
Same behavior after update to Plasma 5.26
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.15.0-50-generic (64-bit)
Graphics Platform: X11

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-18 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=456873

Zamundaaa  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #21 from Zamundaaa  ---


*** This bug has been marked as a duplicate of bug 455429 ***

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-17 Thread Gauthier
https://bugs.kde.org/show_bug.cgi?id=456873

--- Comment #20 from Gauthier  ---
(In reply to Zamundaaa from comment #17)
> Are you using the "slide back" effect? The problem you're describing sounds
> like bug 455429

Indeed disabling the slide back effect seems to solve the issue completely for
me. Both windows AND menus have been behaving completely normally for the past
24h with 4 my activities running. As much as I like the slide back effect, I
have to say it's a relief to be able to work again :) 

I thought something went very wrong with 5.25 which made me sad cause I was so
excited about this release and even after several point release the desktop was
properly broken. Hope you'll get to the bottom of the issue with slide back and
the compositor when several activities are running.

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456873

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=455429

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-16 Thread Kevin Guertin
https://bugs.kde.org/show_bug.cgi?id=456873

--- Comment #19 from Kevin Guertin  ---
(In reply to Kevin Guertin from comment #18)
> (In reply to Zamundaaa from comment #17)
> > Are you using the "slide back" effect? The problem you're describing sounds
> > like bug 455429
> 
> Oh, wow! Thanks! I think this addresses it. I did have that effect enabled.

Spoke too soon. Though it seems to address the issue with windows, it's still
an issue with dialogs and dropdowns. I've disabled related effects and the
problem seems to still exist. I have yet to try disabling EVERYTHING, but it
does seem to be related to Desktop Effects.

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-16 Thread Kevin Guertin
https://bugs.kde.org/show_bug.cgi?id=456873

--- Comment #18 from Kevin Guertin  ---
(In reply to Zamundaaa from comment #17)
> Are you using the "slide back" effect? The problem you're describing sounds
> like bug 455429

Oh, wow! Thanks! I think this addresses it. I did have that effect enabled.

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-16 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=456873

Zamundaaa  changed:

   What|Removed |Added

 CC||xaver.h...@gmail.com

--- Comment #17 from Zamundaaa  ---
Are you using the "slide back" effect? The problem you're describing sounds
like bug 455429

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-15 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=456873

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #16 from David Edmundson  ---
I think we've got a few bugs mixed up in one which gets quite difficult to
follow.

I fixed one specific issue affecting the user actions menu that I was able to
reliably reproduce. The triggers described here sound different, could you try
to write up some more reliable steps to reproduce.

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=456873

g...@section9.follonica.org changed:

   What|Removed |Added

   Version Fixed In|5.25.4  |

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456873

Nate Graham  changed:

   What|Removed |Added

   Keywords||regression

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-06 Thread Piotr Mierzwinski
https://bugs.kde.org/show_bug.cgi?id=456873

Piotr Mierzwinski  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1
 Resolution|FIXED   |---

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-06 Thread Gauthier
https://bugs.kde.org/show_bug.cgi?id=456873

Gauthier  changed:

   What|Removed |Added

 CC||g.gue...@posteo.net

--- Comment #15 from Gauthier  ---
Sadly I can confirm that at least the window/menu/tooltip focus issue does not
seem to be fixed in 5.25.4.

When using more than one activities, and after a while working with several
windows, some windows remain displayed on top (though not actionable) even if
another one should be in focus, context menu (like right click) remain
hidden/invisible behind the window. You can see it as even context menu on
plasma panels (right click on a panel) appear behind the panel instead of on
top.

It "seems like" things starts going wrong especially after using apps like
Firefox and LibreOffice (I'm using the repo versions, not snap or
flatpak)but I can't say I'm sure.

Things work perfectly fine if using a single activity. The more activity I use
the more things go wrong (with only two activity it seems like switching back
and forth between the two resolve the issue but with more than two that does
not work)

Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.0-43-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8350U CPU @ 1.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=456873

--- Comment #14 from g...@section9.follonica.org ---
(In reply to goo from comment #13)
> Please, disregard my previous comments. Due to package conflicts kwin-x11
> package was not upgraded to 5.25.4. Had to force it and can now confirm that
> this bug has been fixed. Sorry for the rant

Spoken too soon. After a few more minutes switching windows caused this bug to
kick in again. The last used window remain visibile with the focus on the
window (hidden) that I switched to. So can confirm that this bug also affects
5.25.4. And yes, I restarted kwin_x11. Have to disable compositing or limit
activities to just one.

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=456873

--- Comment #13 from g...@section9.follonica.org ---
Please, disregard my previous comments. Due to package conflicts kwin-x11
package was not upgraded to 5.25.4. Had to force it and can now confirm that
this bug has been fixed. Sorry for the rant

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=456873

--- Comment #12 from g...@section9.follonica.org ---
(In reply to David Edmundson from comment #11)
> Git commit 0a7acab2760f85c934dcee1f62e2d66053a3c9f0 by David Edmundson.
> Committed on 04/08/2022 at 15:08.
> Pushed by davidedmundson into branch 'master'.
> 
> Defer session startup until KAMD is up
> 
> Otherwise we can session restore occur before kwin has loaded
> activities. This means kwin will fail to put windows back on the correct
> activity.
> 
> Races are avoided because ksmserver will then make a blocking DBus call
> to kwin on session restore. DBus guarantees order so it will have also
> dispatched the service status to kwin and we know kwin will have handle
> that first.
> 
> Testing done:
> Added "sleep(10)" into the main function. Everything resumed on the
> correct activities.
> 
> M  +1-0src/plasma-kactivitymanagerd.service.in
> 
> https://invent.kde.org/plasma/kactivitymanagerd/commit/
> 0a7acab2760f85c934dcee1f62e2d66053a3c9f0

Does this mean that this commit fixes #456873 for sure? If this is the case I
really hope that distribution mantainers can backport it to 5.25.4, otherwise
it means that windows switching will be broken for another month or so, until
5.25.5 release.

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-04 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=456873

--- Comment #11 from David Edmundson  ---
Git commit 0a7acab2760f85c934dcee1f62e2d66053a3c9f0 by David Edmundson.
Committed on 04/08/2022 at 15:08.
Pushed by davidedmundson into branch 'master'.

Defer session startup until KAMD is up

Otherwise we can session restore occur before kwin has loaded
activities. This means kwin will fail to put windows back on the correct
activity.

Races are avoided because ksmserver will then make a blocking DBus call
to kwin on session restore. DBus guarantees order so it will have also
dispatched the service status to kwin and we know kwin will have handle
that first.

Testing done:
Added "sleep(10)" into the main function. Everything resumed on the
correct activities.

M  +1-0src/plasma-kactivitymanagerd.service.in

https://invent.kde.org/plasma/kactivitymanagerd/commit/0a7acab2760f85c934dcee1f62e2d66053a3c9f0

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=456873

g...@section9.follonica.org changed:

   What|Removed |Added

 CC||g...@section9.follonica.org

--- Comment #10 from g...@section9.follonica.org ---
How is it possible that this bug is marked FIXED? I still suffer from broken
window management even on 5.25.4 since Plasma 5.25.0 on all my machines with
multiple monitors running Fedora 36. This is an inacceptable regression that
disrupts Plasma Desktop usage.
Have to disable compositing to switch windows.

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-08-04 Thread Kevin Guertin
https://bugs.kde.org/show_bug.cgi?id=456873

Kevin Guertin  changed:

   What|Removed |Added

 CC||kevin.guer...@pm.me

--- Comment #9 from Kevin Guertin  ---
If this was supposed to have been fixed in 5.25.4, I don't think it has. I have
received this update today in KDE Neon, and none of the issues experienced with
activities since 5.25.0 (as detailed on this bug and its duplicates) have been
addressed. 

Windows management is still broken in X11, which affects not only windows, but
all context menus (in all apps, not just Plasma), dialogs, and even the kicker
menu. Activating any of these (or switching Windows) still requires me to
switch to a different Activity and back again before I can see and interact
with the window/menu. This also still causes Latte Dock to crash when logging
in to the session when Latte is set to have multiple layouts based on
Activities. It takes multiple attempts to load Latte after login before it will
load without crashing.

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456873

Nate Graham  changed:

   What|Removed |Added

 CC||noah.slyker...@gmail.com

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

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456873

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|5.25.3  |5.25.4

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-27 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=456873

David Edmundson  changed:

   What|Removed |Added

 CC||ed...@inbox.lv

--- Comment #7 from David Edmundson  ---
*** Bug 455679 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456873

Nate Graham  changed:

   What|Removed |Added

 CC||piotr.mierzwin...@gmail.com

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

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456873

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |VHI

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456873

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

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=456873

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
   Version Fixed In||5.25.3

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-27 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=456873

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

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-27 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=456873

David Edmundson  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin/commit/a7520b3659d2 |ma/kwin/commit/7ccc489cb8a7
   |364d4c1e10246166243438ba084 |4166b06150624fbb9728ab25ea6
   |e   |3

--- Comment #3 from David Edmundson  ---
Git commit 7ccc489cb8a74166b06150624fbb9728ab25ea63 by David Edmundson.
Committed on 27/07/2022 at 12:21.
Pushed by davidedmundson into branch 'cherry-pick-a7520b36'.

Fix activity swtiching through UserActions menu

On wayland the code to keep windows on the current activity whilst the
window was broken was completely broken in porting. We only held the
block for the duration of the method even though the popup remained open
for longer.

On X11, when removing the window from the current activity it would not
update correctly and remain visible. The code path was as follows:
 - the menu is shown an event loop is started
 - we change the activities
- as we close the menu focus changes and workspace calls
UserActionsMenu::close this unsets m_window
- We then never call the blockActivityUpdates(false) at the end of
UserActionsMenu::show

This patch addresses both at once.

We get rid of the nested event loop as that was always evil. This means
slotWindowOperation no longer needs to be queued.

We perform cleanup of m_window and the activity blocker when the menu
closes which should be safer.


(cherry picked from commit a7520b3659d2364d4c1e10246166243438ba084e)

M  +15   -11   src/useractions.cpp
M  +8-0src/useractions.h

https://invent.kde.org/plasma/kwin/commit/7ccc489cb8a74166b06150624fbb9728ab25ea63

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-27 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=456873

David Edmundson  changed:

   What|Removed |Added

 Resolution|DUPLICATE   |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/commit/a7520b3659d2
   ||364d4c1e10246166243438ba084
   ||e

--- Comment #2 from David Edmundson  ---
Git commit a7520b3659d2364d4c1e10246166243438ba084e by David Edmundson.
Committed on 27/07/2022 at 12:20.
Pushed by davidedmundson into branch 'master'.

Fix activity swtiching through UserActions menu

On wayland the code to keep windows on the current activity whilst the
window was broken was completely broken in porting. We only held the
block for the duration of the method even though the popup remained open
for longer.

On X11, when removing the window from the current activity it would not
update correctly and remain visible. The code path was as follows:
 - the menu is shown an event loop is started
 - we change the activities
- as we close the menu focus changes and workspace calls
UserActionsMenu::close this unsets m_window
- We then never call the blockActivityUpdates(false) at the end of
UserActionsMenu::show

This patch addresses both at once.

We get rid of the nested event loop as that was always evil. This means
slotWindowOperation no longer needs to be queued.

We perform cleanup of m_window and the activity blocker when the menu
closes which should be safer.

M  +15   -11   src/useractions.cpp
M  +8-0src/useractions.h

https://invent.kde.org/plasma/kwin/commit/a7520b3659d2364d4c1e10246166243438ba084e

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

[kwin] [Bug 456873] Unable to use activities since Plasma 5.25.0

2022-07-19 Thread Unknown
https://bugs.kde.org/show_bug.cgi?id=456873

]\/[ ]\/[ ]_ 1357  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE
 CC||mmarrerole...@gmail.com

--- Comment #1 from ]\/[ ]\/[ ]_ 1357  ---


*** This bug has been marked as a duplicate of bug 455626 ***

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