Bug 466979 - Ability to move a window to another screen and virtual desktop with the same action, by dragging it to a desktop on the desktop bar of the effect on another screen
Summary: Ability to move a window to another screen and virtual desktop with the same ...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: 5.27.1
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2023-03-06 22:47 UTC by Riccardo Robecchi
Modified: 2024-11-05 21:09 UTC (History)
3 users (show)

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


Attachments
Screenshot (661.50 KB, image/png)
2023-03-15 15:22 UTC, Riccardo Robecchi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2023-03-06 22:47:35 UTC
SUMMARY
In a multi-screen setup, trying to drag a window in the Overview effect from desktop 1 on screen A to desktop 2 on screen B results simply in the window being placed on screen B, but not on desktop 2.

STEPS TO REPRODUCE
1. Open the overview effect
2. Drag a window from desktop 1 on screen A to desktop 2 on screen B 

OBSERVED RESULT
The window is placed on screen B, but stays on desktop 1.

EXPECTED RESULT
The window is placed on desktop 2 on screen B.

SOFTWARE/OS VERSIONS
Linux: KDE Neon
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-03-13 16:40:03 UTC

*** This bug has been marked as a duplicate of bug 455479 ***
Comment 2 Riccardo Robecchi 2023-03-13 16:45:19 UTC
(In reply to Nate Graham from comment #1)
> 
> *** This bug has been marked as a duplicate of bug 455479 ***

I had seen that bug, but it seems to me like these are quite different issues. What the other person is asking is for the ability to drag windows between the small desktop previews on top. What I am asking is to be able to drag the windows of the current desktop to another screen and, at the same time, to another desktop using the small previews on top of each screen. These appear to be quite different conceptually, also because my issue only occurs in multi-monitor setups, whereas theirs can also occur in single-monitor setups.
Comment 3 Nate Graham 2023-03-14 13:47:57 UTC
Oh, all of them? I think the Desktop Grid does this if you drag from the background. Can you see if that works for you?
Comment 4 Riccardo Robecchi 2023-03-14 13:48:52 UTC
(In reply to Nate Graham from comment #3)
> Oh, all of them? I think the Desktop Grid does this if you drag from the
> background. Can you see if that works for you?

No, not all of them, one at a time.
Comment 5 Nate Graham 2023-03-15 14:44:38 UTC
If you open the Desktop Grid effect with Meta+F8 and drag from the background (not a window!) all the windows of that virtual desktop will be movable to another desktop.
Comment 6 Riccardo Robecchi 2023-03-15 15:22:21 UTC
Created attachment 157309 [details]
Screenshot

(In reply to Nate Graham from comment #5)
> If you open the Desktop Grid effect with Meta+F8 and drag from the
> background (not a window!) all the windows of that virtual desktop will be
> movable to another desktop.

As I said in my previous message, though, that is not what I am asking. What I am asking is to be able to move a single window from Desktop A on monitor 1 to desktop B on monitor 2. Since I understand that this might be difficult to understand without a visual representation, here's a screenshot of what I would like to do. It is currently impossible: if I try to drag the window over the desktop 2 in the desktop preview strip on the monitor below, it simply moves to the monitor below but stays on the same desktop.
Do let me know if it is now clearer.
Comment 7 Nate Graham 2023-03-15 19:43:23 UTC
Ah, thanks, that does indeed help a lot! I was getting confused because virtual desktops aren't per-monitor; it's a global list. So you can drag the window to the other desktop in the strip on the screen it's currently located on.

Am I understanding that you want to simultaneously move the window not only to another desktop, but also to another screen at the same time?
Comment 8 Riccardo Robecchi 2023-03-16 12:00:35 UTC
Yes, that is correct!
Comment 9 Nate Graham 2023-03-27 18:50:53 UTC
Got it now, thanks for your patience.