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

            Bug ID: 522768
           Summary: Incorrect behavior when dragging windows to maximize
                    them across different virtual desktops
    Classification: Plasma
           Product: kwin
      Version First 6.7.2
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: compositing
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 194109
  --> https://bugs.kde.org/attachment.cgi?id=194109&action=edit
Drag a maximized video window across different virtual desktops

DESCRIPTION 
When "Switch desktops independently for each screen" is enabled, dragging a
window to maximize it across different virtual desktops causes the window to be
assigned to the incorrect virtual desktop.

STEPS TO REPRODUCE
1. Create two or more virtual desktops and enable "Switch desktops
independently for each screen".
2. Open a window on the secondary display and resize it so that it occupies a
large area of the screen.
3. Hold the Meta key and drag the window to the top edge of the primary display
to trigger "Maximize: Windows dragged to top edge".

OBSERVED RESULT
After maximizing, the window is moved to the virtual desktop currently active
on the secondary display.

EXPECTED RESULT
After maximizing, the window should remain on (or move to) the virtual desktop
currently active on the primary display.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.1.3-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i5-13600K
Memory: 40 GiB of RAM (38.9 GiB usable)
Graphics Processor 1: Intel® Graphics
Graphics Processor 2: Quadro K6000

ADDITIONAL INFORMATION
I suspect this is caused by the window's original position and size. Since the
window occupies a large area on the secondary display, it is associated with
the secondary display's current virtual desktop (as it would behave before
enabling "Switch desktops independently for each screen"). When dragging the
window to maximize it on the primary display, KWin may still use the virtual
desktop association from the secondary display, resulting in the window being
placed on the wrong virtual desktop.

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

Reply via email to