SUMMARY *** When using KDE Plasma on Wayland, certain applications that were last closed in fullscreen mode exhibit unusual behavior upon attempting to exit fullscreen. Specifically: 1. Launching these applications (like Firefox) in fullscreen mode, followed by an attempt to exit fullscreen by dragging the top bar, results in the mouse cursor snapping to the top-left corner of the application window. 2. The application window then shifts to the right relative to the mouse's position. 3. Any subsequent attempts to resize the window cause it to collapse to its minimum configured size. *** STEPS TO REPRODUCE 1. Launch an application known to exhibit this behavior, such as Firefox. 2. Set the application to fullscreen mode. 3. Close the application while it's still in fullscreen mode. 4. Reopen the same application. It should launch in fullscreen mode, retaining its last state. 5. Try to exit fullscreen mode by dragging the top bar of the application window. 6. Notice if the mouse cursor snaps to the top-left corner of the application window. 7. Observe whether the application window shifts to the right, starting from this top-left corner, and does not align with the mouse's position. 8. Try to resize the application window. 9. Check if the window collapses to its minimum size. OBSERVED RESULT The mouse cursor unexpectedly snaps to the top-left corner of the application window when attempting to exit fullscreen by dragging the top bar. The application window shifts to the right relative to the mouse's position, starting from the snapped top-left corner. Any attempts to resize the application window result in it collapsing to its minimum configured size, instead of resizing as expected. EXPECTED RESULT When exiting fullscreen mode by dragging the top bar of an application window, the transition should be smooth. The mouse cursor should remain in the position where the drag action was initiated, without snapping to any corner of the window. The application window should move in sync with the mouse cursor during the drag action. There should be no unexpected shift or displacement of the window in relation to the cursor's position. Resizing the window after exiting fullscreen should be fluid and responsive. The window size should adjust according to the drag action used for resizing, without collapsing to the minimum size unless explicitly resized to that extent. SOFTWARE/OS VERSIONS Linux/KDE Plasma: ArchLinux 6.6.7-273-tkg-linux-tkg-eevdf KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.113.0 Qt Version: 5.15.11
Do you mean maximized, instead of fullscreen? Windows that are fullscreen don't have a title bar
(In reply to Zamundaaa from comment #1) > Do you mean maximized, instead of fullscreen? Windows that are fullscreen > don't have a title bar Yes, I meant this sorry.
Please check the video here! https://streamable.com/hdip2k
i uploaded the video again here: https://streamable.com/40xtfr
Thanks, that makes it clear what you mean *** This bug has been marked as a duplicate of bug 449105 ***
(In reply to Zamundaaa from comment #5) > Thanks, that makes it clear what you mean > > *** This bug has been marked as a duplicate of bug 449105 *** Could take a look at the video here: https://streamable.com/40xtfr My issue is two parts, one part is indeed duplicate of the bug you mentioned, but the other part is not mentioned anywhere, which is when the dragged window that already suffered the snapped cursor is then resized it proceeds to collapse to its minimum size, which in some programs is 1x1 pixels!
Here is the video uploaded again: https://streamable.com/xdpamp the link is only available for 2 days, please watch it since i find this bug to be the most annoying on KDE Plasma and i want all details about it to be reported.
The resizing problem is caused by the same bug as the other issue. Both should be fixed by the MR for bug 449105 *** This bug has been marked as a duplicate of bug 449105 ***