Bug 364456 - Moving windows between multiple desktops glitches when panel is on border and on autohide
Summary: Moving windows between multiple desktops glitches when panel is on border and...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.14.5
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-18 13:57 UTC by Christian Herenz
Modified: 2023-11-06 20:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Herenz 2016-06-18 13:57:53 UTC
I have the panel on the bottom on the screen and set it to autohide.   I configured 4 virtual desktops in a 2x2 arangement.
I configured the screen borders to allow dragging of windows to other virtual desktops when coming to the screen borders.
Moving a window to the bottom edge of the screen where the hidden panel is, often results in the window being not dragged to the virtual desktop below, instead it is dragged (after some flickering) to the same virtual desktop. This happens in 90 % of the attempts, and I can not reproduce why it works or not.
This does not happen when the panel is not set to authohide.


Reproducible: Sometimes

Steps to Reproduce:
1. Configure 2x2 grid of virtual desktops.
2. Configure panel to appear on the bottom of the screen and set it to authide.
4. Configure the screen borders to allow dragging of windows to other virtual desktops.
3. Open a window  and drag it to the bottom of the screen.

Actual Results:  
The window moves is dragged to the top of the same virtual desktop.

Expected Results:  
The window is dragged to the virtual destkop below the current virtual desktop.

Dragging windows to all other 3 borders (top, left, and right) works as expected.
Comment 1 Christian Herenz 2018-02-21 17:55:04 UTC
Just a ping. Still is the case in 5.8.7 - can anyone please try to reproduce it?
Comment 2 Alexander Mentyu 2018-03-01 11:09:27 UTC
Cannot reproduce in:

Plasma: 5.12.2
Apps: 17.12.2
Frameworks: 5.43.0
Qt: 5.10.1
Kernel: 4.14.22-1-MANJARO
OS: Netrunner Rolling
Comment 3 Christian Herenz 2019-11-07 22:20:35 UTC
https://youtu.be/jGuldQR-ELs

Here I show the glitching behavior. Note, it doesn't always happen .. so I think it is some timing issue.

The video shows the following (movement with the pointer was always down, with natural speeds, I can not reproduce the glitches by forcing a specific fast or slow speed):

1. [00:00 - 00:05] Window is moved to the bottom desktop, and appears at the bottom of that desktop.  Expected behavior: Window appears at the top of the bottom desktop after being moved to from the top desktop. 
2. [00:05 - 00:15] A couple of OK movements for window dragging between top and bottom desktops
3. [00:15 - end] Window is moved to the bottom of desktop and appears at the top of the same desktop. Expected behavior: See [1]

This is Plasma 5.14.5 in Debian Stable.  I.e. significantly later than where someone claimed that he can not reproduce it.  I stress, that I sometimes can not reproduce it either.  It is very erratic, but it should not happen at all!
Comment 4 Niccolò Venerandi 2023-11-06 20:16:29 UTC
Git commit 8bad74fe9ed43af3081b8dd97cc17524b82c2d77 by Niccolò Venerandi.
Committed on 06/11/2023 at 21:15.
Pushed by niccolove into branch 'master'.

Redesign panel settings with a dialog

This moves all panel options in a single dialog that floats near the panel.
Related: bug 450892, bug 459103, bug 458008, bug 440274, bug 453693, bug 460844, bug 455478, bug 462980, bug 454720, bug 455476, bug 460845, bug 468009, bug 474354
FIXED-IN: 6.0

M  +495  -133  desktoppackage/contents/configuration/PanelConfiguration.qml
D  +0    -305  desktoppackage/contents/configuration/panelconfiguration/MoreSettingsMenu.qml
M  +76   -84   desktoppackage/contents/configuration/panelconfiguration/PanelRepresentation.qml
M  +53   -266  desktoppackage/contents/configuration/panelconfiguration/Ruler.qml
M  +10   -37   desktoppackage/contents/configuration/panelconfiguration/SliderHandle.qml
D  +0    -594  desktoppackage/contents/configuration/panelconfiguration/ToolBar.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/8bad74fe9ed43af3081b8dd97cc17524b82c2d77