Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to move applications into workspace that contains a fullscreen application #8432

Open
lpaulino07 opened this issue Nov 6, 2024 · 2 comments
Labels
bug Not working as intended

Comments

@lpaulino07
Copy link

  • Sway Version:
    1.10-dev-d417a8fc

  • Debug Log:
    sway log

  • Description:
    Assuming 2 workspaces on 2 monitors. If workspace 2 has a fullscreen application, trying to move any application from workspace 1 to workspace 2 will yield some weird behavior. In theory, application has moved to workspace 2, since it can no longer be interacted with in workspace 1, but its surface is still rendered on workspace 1. This is fixed by either hiding workspace 2 (changing monitor 2 to workspace 3) or by removing fullscreen mode from the application on workspace 2.

Tried with EGL rendered as well just to confirm it wasn't Vulkan related. Also tried with sway 1.10 stable, same behavior.

  • Example 1

image

Moved alacritty to workspace that contains a fullscreen application. Second application (zen browser) acts like alacritty is no longer in the workspace, but alacritty is still being rendered.

  • Example 2

image

Zen browser is moved, alacritty acts like zen browser is no longer there, but zen browser is still being rendered.

@lpaulino07 lpaulino07 added the bug Not working as intended label Nov 6, 2024
@lpaulino07
Copy link
Author

lpaulino07 commented Nov 6, 2024

Also, this is a multi-GPU setup where monitor 1 is using iGPU and monitor 2 is using dGPU.

@sahinf
Copy link
Contributor

sahinf commented Nov 22, 2024

I've been trying to dig at this to no avail. However, my testing confirms that the issue is

  1. not strictly multi-GPU
    I run into it on single integrated intel GPU
  2. strictly multi-monitor related
    Moving a container to a full screened workspace within the same output/monitor behaves as expected: no ghost image is left rendered on the original workspace.
    I only run into it when the target fullscreened workspace is on another output/monitor.

Also my keyboard events do not go through the glitched out application, but mouse events do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

2 participants