Bug 183660

Summary: Moving plasmoids between Desktops doesn't behave as expected
Product: [Unmaintained] plasma4 Reporter: Casey Jones <kcjones1>
Component: multiscreenAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: alvaro.aguilera, asraniel, einars+kdebugs, kde, kde_bugzilla_2, king_duckz, luizluca, michael, rshah0385, wilke
Priority: NOR    
Version: 4.8.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot showing the missing right half of plasmoid

Description Casey Jones 2009-02-08 08:27:54 UTC
Version:           4.2.0 (using KDE 4.2.0)
Compiler:          GCC 4.3.2 
OS:                Linux
Installed from:    Gentoo Packages

I have a dual monitor set up, and I'm using x-server 1.5.2, and Nvidia driver 182.27.

When I try moving a plasmoid from one screen to the other, the part that goes off the screen as I'm dragging disapears, if I keep dragging it jumps to the other screen, and if I keep trying to drag, my mouse no longer controls the plasmoid, so you need to reclick it, then drag to where you want it.

When dragging a normal window between screens, it works as expected, but a plasmoid cannot be split between two screens, which is causing this strange behavior.
Comment 1 Casey Jones 2009-02-08 08:32:32 UTC
Update.  If I drag the plasmoid from the right screen off the right edge, it shows up on the left edge of the left screen.  So it'd doing what should be happening if you dragged between the two screens.

But if I do the same thing with a normal KWin window, it doesn't do that, and it only works if I drag the window between the screens as normal.

And if I drag the plasmoid off the screen to the right from the right screen so it's halfway on the left screen, clicking it on the left screen crashed Plasma.
Comment 2 Claus Wilke 2009-02-10 20:10:00 UTC
I experience the same problems with KDE 4.2 on OpenSuSE. In addition, a plasmoid that was just dragged from one screen to the other sometimes disappears completely. It also happens that the plasmoid appears to have landed on the desired screen, but jumps back to the previous screen as soon as I start doing something else.
Comment 3 Claus Wilke 2009-02-10 20:12:15 UTC
Created attachment 31199 [details]
screenshot showing the missing right half of plasmoid

The screenshot shows that the part of the plasmoid that should be on the second monitor is starting do disappear. It also shows that a regular window can span the monitor boundary without any problems.
Comment 4 Marco Martin 2009-05-29 14:53:57 UTC
*** Bug 183090 has been marked as a duplicate of this bug. ***
Comment 5 Aaron J. Seigo 2009-06-26 07:09:34 UTC
*** Bug 197843 has been marked as a duplicate of this bug. ***
Comment 6 Jonathan Thomas 2010-01-01 16:15:42 UTC
*** Bug 188116 has been marked as a duplicate of this bug. ***
Comment 7 Beat Wolf 2010-01-26 22:36:36 UTC
*** Bug 224325 has been marked as a duplicate of this bug. ***
Comment 8 Nicolas L. 2010-06-07 01:02:48 UTC
Can you reproduce using KDE 4.4 or 4.5beta?
Comment 9 Luiz Angelo De Luca 2010-06-07 18:41:57 UTC
I tested on 4.4.3.

From left to right, it works but not from right to left. If I move the upper left corner of the plasmoid from right screen over the left one (I tested rotating it), it jumps to the left monitor after I release the grab. If not, it remains in the right screen but its part that should be visible in the left is absent, even while grabbing.

BTW, my main screen is in the right (22') and left screen (15') is rotated.

Another problem is that I still loose grab while moving a plasmoid whenever mouse cursor crosses the screen boundary, no matter which screen.
Comment 10 Alvaro Aguilera 2011-03-21 10:49:21 UTC
I can confirm this on KDE 4.6.1 (openSUSE RPMs x86_64) and Intel graphics.
Comment 11 Reza 2011-12-15 02:17:05 UTC
I can confirm this on master (4.8) for my sabayon 7 x86_64 with ati driver.
Below are my test result:
- Dragging from left screen to right screen will make the right part of plasmoid disappear, by not for the case from right to left (tested using notes and analog plasmoid)

- As for the case of analog plasmoid i have this behaviour, dragging from right to left will return the plasmoid back to right screen. 

To reproduce 2nd behaviour:
- Put analog clock plasmoid on left screen, drag to right screen.
- After the plasmoid moved to right screen, drag again to left screen completely (try to release your mouse when the plasmoid reach center of the desktop).
Comment 12 Reza 2011-12-17 10:54:08 UTC
*** Bug 276320 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2018-06-08 19:53:00 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham