Bug 404442 - Selected window appears twice on desktop grid (X11)
Summary: Selected window appears twice on desktop grid (X11)
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-desktop-grid (show other bugs)
Version: 5.15.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL: https://phabricator.kde.org/D19116
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-16 12:59 UTC by Yannick
Modified: 2019-02-18 14:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.15.1
vlad.zahorodnii: Wayland-
vlad.zahorodnii: X11+
vlad.zahorodnii: ReviewRequest+


Attachments
screenshot of the issue (211.00 KB, image/jpeg)
2019-02-16 17:22 UTC, Yannick
Details
"qdbus org.kde.KWin /KWin supportInformation" output (5.35 KB, text/plain)
2019-02-16 17:25 UTC, Yannick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yannick 2019-02-16 12:59:09 UTC
A selected window appears twice on the desktop grid when the cursor hovers the current workspace of this window. It happens only on a X11 session.

Screenshot: https://i.imgur.com/aZHosiz.jpg

STEPS TO REPRODUCE
1. Go to the desktop grid
2. Select a window
3. Move it but keep the mouse cursor above the workspace of this window

OBSERVED RESULT
The window is displayed twice, one below the mouse cursor and a second one on the workspace miniature.

EXPECTED RESULT
The window is only displayed once, below the mouse cursor

SOFTWARE/OS VERSIONS
ArchLinux
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.55
Qt Version: 5.12.1
Comment 1 Martin Flöser 2019-02-16 16:50:12 UTC
Please upload the screenshot to this bug report.

Please provide the output of qdbus org.kde.KWin /KWin supportInformation
Comment 2 Yannick 2019-02-16 17:22:01 UTC
Created attachment 118138 [details]
screenshot of the issue
Comment 3 Yannick 2019-02-16 17:25:17 UTC
Created attachment 118139 [details]
"qdbus org.kde.KWin /KWin supportInformation" output

Provided the requested output as attachment
Comment 4 Vlad Zahorodnii 2019-02-18 08:29:36 UTC
Argh, this is yet another regression caused by virtual desktop patches.
Comment 5 Vlad Zahorodnii 2019-02-18 14:29:23 UTC
Git commit 55d3f2933f3735958dfa0f99e6d28e02cd083576 by Vlad Zagorodniy.
Committed on 18/02/2019 at 14:27.
Pushed by vladz into branch 'Plasma/5.15'.

[effects/desktopgrid] Don't copy windows on X11

Summary:
Currently, the Desktop Grid effect tries to copy a client when user
moves it. But on X11 such behavior doesn't make sense because
a client can't be on multiple desktops (except on all).
FIXED-IN: 5.15.1

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D19116

M  +1    -1    effects/desktopgrid/desktopgrid.cpp

https://commits.kde.org/kwin/55d3f2933f3735958dfa0f99e6d28e02cd083576