-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
for_window
resize
fails on container moved to scratchpad without scratchpad show
#8493
Labels
bug
Not working as intended
Comments
I added some additional debug logs
and it seems like the correct values do get written to the scratchpad ("SCRATCHING") container, but then they get overwritten by the default/natural xdg_toplevel geometry values. I would appreciate any feedback to help tackle this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sway Version:
Debug Log:
Configuration File:
Description:
for_window
to resize a container and move it to scratchpad.scratchpad show
Then I saw that the size of the scratchpad terminal was not applied.
I added a
scratchpad_show
in thefor_window
likewhich resized the container as I wanted. However, I don't want that container visible from the start so it's not really a fix for me.
I added a breakpoint right before returning in
resize_set_floating
and saw both thecontainer->current
andcontainer->pending
width/height values are set to the expected values in both instances. I also broke onxdg_shell:handle_commit
and it looks like the the correct view->container->current width/height values do not propagate to the view->geometry.The text was updated successfully, but these errors were encountered: