wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

Incorrect Behavior of Fullscreen Views During Cross-Monitor Drag-and-Drop

Open killown opened this issue 8 months ago • 2 comments

Describe the bug Incorrect Behavior of Fullscreen Views During Cross-Monitor Drag-and-Drop

To Reproduce Steps to reproduce the behavior:

  1. Set a view to fullscreen
  2. drag from output_1 and drop it anywhere in output_2

Expected behavior The view should fit the entire output after drop

Screenshots or stacktrace

https://github.com/user-attachments/assets/5cde605a-8e26-4e45-b21f-da3d977c8066

Wayfire version 0.5.0, git, package, something else?

killown avatar May 01 '25 16:05 killown

cannot reproduce this issue with #2613 maybe related with woobly which is disabled in vulkan renderer

killown avatar May 03 '25 15:05 killown

workaround:

from wayfire.ipc import WayfireSocket

sock = WayfireSocket()

sock.watch()

while True:
    msg = sock.read_next_event()
    if "event" in msg:
        if "plugin-activation-state-changed" in msg["event"]:
            if msg["plugin"] == "move" and msg["state"] is False:
                view = sock.get_focused_view()
                if view["fullscreen"] is True:
                    focused_output = sock.get_focused_output()
                    width = focused_output["geometry"]["width"]
                    height = focused_output["geometry"]["height"]
                    sock.configure_view(view["id"], 0, 0, width, height)

killown avatar Jul 08 '25 11:07 killown