https://bugs.kde.org/show_bug.cgi?id=357867

            Bug ID: 357867
           Summary: Window hangs in drag-to-edge/snap resize preview if
                    window's workspace changes
           Product: kwin
           Version: 5.5.3
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: effects-window-management
          Assignee: kwin-bugs-n...@kde.org
          Reporter: kupia...@gmail.com

Currently, if I drag a window to the edge of the screen, a gray preview will
appear indicating how the window will be resized. For example, if I drag to the
top of the screen, the whole desktop will be shaded gray to indicate the window
will be maximized. When I release the mouse, the window is resized to match the
gray preview.
I currently have the global keyboard shortcut "Window One Desktop Down" of
"System Settings" set to Ctrl-Alt-Shift-Down in Plasma 5 System Settings. The
problem does not occur with the "Switch One Desktop Down/Left/Right/Up"
shortcut.
If I change the workspace of a window using Ctrl-Alt-Shift-Down while the
window is held on the edge of the screen in preparation for a resize, the
workspace changes properly, but when I release the mouse button, the window
never resizes and stays in the same place before releasing the mouse button,
the mouse keeps the "move" icon, the gray preview never disappears, and the
mouse and keyboard cannot focus or interact with any window, including the one
previously being moved. The system becomes virtually unusable.
The simplest workaround I've seen to get a working system again is to use
krunner's Alt-F2 shortcut, which can take focus, and kill the program owning
the window that was previously being moved.
This problem occurs with both GTK and Qt applications, and the hanging does not
stop if plasmashell is killed and restarted.

Reproducible: Always

Steps to Reproduce:
1. In the Global Keyboard Shortcuts settings, navigate to the KDE component
"System Settings" and set the Action "Window One Desktop Down" (or
Left/Right/Up/Down) to e.g. Ctrl-Alt-Shift-Down.
2. Ensure that in the "Screen Edges" section of Plasma System Settings that
"Maximize windows by dragging them to the top of the screen" and "Tile windows
by dragging them to the side of the screen" are both checked.
3. Start Kate.
4. Point the mouse on the titlebar of the mouse window and begin holding the
primary mouse button down.
5. Move the pointer to the very top of the screen, keeping the primary mouse
button held.
6. Press Ctrl-Alt-Shift-Down (or Left/Right/Up/Down) to change the window's
workspace.
7. Release the mouse button.

Actual Results:  
The window never resizes and stays in the same place before releasing the mouse
button, the mouse keeps the "move" icon, the gray preview never disappears, and
the mouse and keyboard cannot focus or interact with any window, including the
one previously being moved. The system becomes virtually unusable.

Expected Results:  
Resized the window to match the preview as it normally does.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to