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

[BUG] Move window to left/right tile doesn't work when a window was maximized with or without outer gaps #220

Open
thyttan opened this issue Dec 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@thyttan
Copy link

thyttan commented Dec 10, 2024

Describe the bug
Move window to left tile or Move window to right tile keybindings don't do anything when a window was maximized. The same happens if the window was made to occupy the whole desktop with gaps around by dragging to the top screen edge (Drag against top edge to maximize window toggled off).

Additionally, for the second case it's not possible to "go back" by doing Move window to tile below like is possible when the window is fully maximized without outer gaps.

To Reproduce
Steps to reproduce the behavior:

  1. Do Move window to tile above keybinding until the window is maximized.
  2. Do Move window to left tile keybinding and notice nothing happens.
  3. Do Move window to right tile keybinding and notice nothing happens.
  4. Do Move window to tile below and notice the window is returned to its previous position.
  5. Drag the window with the mouse pointer to top screen edge, filling the desktop area with outer gaps (Drag against top edge to maximize window toggled off).
  6. Do Move window to left tile keybinding and notice nothing happens.
  7. Do Move window to right tile keybinding and notice nothing happens.
  8. Do Move window to tile below keybinding and notice nothing happens.

Expected behavior

  • Move window to left tile should move the window to the top left layout position.
  • Move window to right tile should move the window to the top right layout position.
  • Move window to tile below should restore the window to where it was before being maximized (fully or with outer gaps).

Screencast

Screencast.From.2024-12-10.23-09-45.mp4

Information:

  • Tiling Shell version: 15.1
  • GNOME version: 47.1
  • Fedora Linux 41 (Worksation edition)

Additional context
If it helps, this is similar to what happend on #59.

@thyttan thyttan changed the title [BUG] Move window to left/right tile doesn't work when a window was maximized/ maximized with outer gaps [BUG] Move window to left/right tile doesn't work when a window was maximized with or without outer gaps Dec 10, 2024
@domferr
Copy link
Owner

domferr commented Dec 14, 2024

Hey thank you for sharing this! This is interesting, hope to have a look and fix it!

@domferr domferr added the bug Something isn't working label Dec 14, 2024
@rivenirvana
Copy link

This issue still occurs in 16.0

@domferr
Copy link
Owner

domferr commented Jan 12, 2025

Thank you @rivenirvana for your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants