Skip to content

Cannot Move Maximized Window From Landscape to Portrait Monitor #159

@7enderhead

Description

@7enderhead

Before filing a bug report...

Describe the bug
Two monitors, "A" in landscape as main, "B" in portrait to the left.

Reproduction Instructions...

  1. fullscreen window on A
  2. try to move to B with command "monitor-switch"
  3. this does not work, windows stays on A (maximized)
  4. first un-maximizing window and then moving from A to B works (although then not maximized on B, of course)
  5. moving maximized window from B to A works, window will be maximized on A
  6. switching B to portrait mode: moving maximized windows from A to B and back works
  7. affects all kinds of windows (browser, terminal, VS Code)

Debug Output:

DEBUG: Received keybind: <Primary>1
DEBUG: Executing command 'monitor-switch' with arguments (), {}
DEBUG: Gathering usable areas manually...
DEBUG: Loaded monitor geometry: [Rectangle(x=1200, y=0, width=2560, height=1440), Rectangle(x=0, y=20, width=1200, height=1920)]
DEBUG: Gathered _NET_WM_STRUT_PARTIAL value: [StrutPartial(left=1222, right=0, top=0, bottom=0, left_start_y=0, left_end_y=1439, right_start_y=0, right_end_y=0, top_start_x=0, top_end_x=0, bottom_start_x=0, bottom_end_x=0)]
DEBUG: Usable desktop region calculated as: Region(<Monitors=[Rectangle(x=1200, y=0, width=2560, height=1440), Rectangle(x=0, y=20, width=1200, height=1920)], Struts=[StrutPartial(left=1222, right=0, top=0, bottom=0, left_start_y=0, left_end_y=1439, right_start_y=0, right_end_y=0, top_start_x=0, top_end_x=0, bottom_start_x=0, bottom_end_x=0)]>)
DEBUG: Operating on window <Wnck.Window object at 0x731cba457c80 (WnckWindow at 0x312b9650)> with title "Start Page - Vivaldi" and geometry Rectangle(x=1222, y=0, width=2538, height=1440)
DEBUG:  Window is on monitor 0, which has geometry Rectangle(x=1200, y=0, width=2560, height=1440)
DEBUG:  Window is on monitor 0, which has geometry Rectangle(x=1200, y=0, width=2560, height=1440)
DEBUG: Moving window to monitor 1, which has geometry Rectangle(x=0, y=20, width=1200, height=1920)
DEBUG:  Window is on monitor 0, which has geometry Rectangle(x=1200, y=0, width=2560, height=1440)
DEBUG:  Repositioning to Rectangle(x=1222, y=20, width=1338, height=1420))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions