Bug 482021 - Two clicks OR dragging a window required after dragging the desktop bar OR switching VD
Summary: Two clicks OR dragging a window required after dragging the desktop bar OR sw...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-29 13:08 UTC by postix
Modified: 2024-04-24 13:45 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2024-02-29 13:08:23 UTC
STEPS TO REPRODUCE
1. Open the overview effect
2. Add as many VDs that the "+" on the right in the preview list is out of screen
3. Pull the list to the left (Had to figure that out first, I expected a slider or something)
4. Hover your cursor over the "+"
5. Click on "+" to add a another VD

OBSERVED RESULT
At 4 there's no selection visible on hover. At 5 nothing happens. First when clicking another time the action is triggered.


SOFTWARE/OS VERSIONS
Operating System: Fedora-KDE-Live-x86_64-Rawhide-20240229.n.0.iso
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.0-rc5
Graphics Platform: Wayland
Graphics Processor: SVGA3D; build; RELEASE; LLVM;
VirtualBox 7.0 on openSUSE TW
Captured Cursure; Windowed mode
Comment 1 postix 2024-02-29 13:15:34 UTC
So after dragging the VD previews and releasing the left mouse button, the cursor events eaten by the drag events. 
That means after dragging the previews, I tried to drag a window in the VD but it continued dragging the previews.
Comment 2 postix 2024-03-14 14:21:53 UTC
There's also another effect:

1) Drag a window to another VD in the overview
2) Switch the VD within the overview effect

There are no more selection rectangles when hovering windows until the user actively drags a window.
Comment 3 postix 2024-03-14 14:23:46 UTC
> There are no more selection rectangles when hovering windows until the user actively drags a window.
+ you cannot open the window or desktop by clicking on it. You really need to start a dragging event.

I would definitely consider it this bug at least "normal" but definitely not minor.
Comment 4 postix 2024-03-14 14:25:46 UTC
Whenever I drag a window to another VD in the Overview effect I see the following logged

```
kwin_wayland[2416]: qrc:/qt/qml/org/kde/kwin/private/effects/WindowHeapDelegate.qml:141: TypeError: Cannot read property 'activeFocusItem' of null
```
Comment 5 postix 2024-03-14 15:38:26 UTC
To comment 2: You don't need step 1) actually, step 2) only is sufficient!
Comment 6 postix 2024-03-17 11:13:28 UTC
I have  to reopen it unfortunately. While it somehow simply worked yesterday, since today the bug appears again.
Comment 7 postix 2024-03-17 11:21:42 UTC
Another remark Comment 2: Not reproducible when using Ctrl+Meta+Left/Right Hotkeys.
Comment 8 David Edmundson 2024-04-10 10:00:53 UTC
We are unable to reproduce this issue
Comment 9 postix 2024-04-10 10:35:43 UTC
(In reply to David Edmundson from comment #8)
> We are unable to reproduce this issue

Looks like it got fixed with 6.0.3 somehow. :)
Comment 10 postix 2024-04-24 13:45:24 UTC
Very weird. I've upgraded two Fedora 39 systems to Fedora 40, both running Wayland. On one system I can reproduce this issue now and on the other one I can not. 

For both systems holds:

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.7-300.fc40.x86_64 (64-bit)

I will see if I can figure out what makes the difference ...
Graphics Platform: Wayland