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

kitty window tiny/frozen after switching display output in sway/wayland #1696

Closed
craftyguy opened this issue Jun 6, 2019 · 4 comments
Closed

Comments

@craftyguy
Copy link

When switching display outputs in Sway, kitty's window will either be hidden or super tiny (see screenshot) and unusable.
58931410-e8ddbe80-875f-11e9-98eb-d1ebb65b22f3

I can reproduce this reliably by plugging in a new display and running something like swaymsg output DP-1 enable 2560x1440 && swaymsg output eDP-1 disable (where DP-1 is the new display and eDP-1 is the old display)

I tried setting sync_to_monitor=no in kitty.conf per this comment, but it did not prevent the issue: #1681 (comment)

System details:
Arch Linux, 5.1.7 kernel using i965/Intel graphics.
Sway 1.1.1 (and tried with sway git master as of this issue filing)
wlroots 0.6 (and tried with wlroots git master as of this issue filing)

@kovidgoyal
Copy link
Owner

Is this a rendering issue or does kitty freeze completely? If you press ctrl+shift+n does a new window get created?

kovidgoyal added a commit that referenced this issue Jun 7, 2019
When an output is unregistered, the corresponding monitor object should
be removed from every windows' monitor list

Proper fix for #1696
@craftyguy
Copy link
Author

Ok seems like this is not fixed by 857a53e, and it also seems like kitty is not frozen as I can ctrl+shift+n and get a new window. The existing window is just extremely small/unusable. Can this issue be re-opened since it is not fixed?

@kovidgoyal
Copy link
Owner

Try setting

sync_to_monitor no

in kitty.conf

@kovidgoyal
Copy link
Owner

And note that you need to be running kitty 0.14.2 not just that commit as there were several other wayland multi-monitor related fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants