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

Power-cycling the monitor with a Foot window open changes it's size and position. #2392

Open
vanfanel opened this issue Jun 26, 2024 · 2 comments
Labels

Comments

@vanfanel
Copy link

vanfanel commented Jun 26, 2024

Describe the bug
Turning off the monitor and then one again, causes Foot size and position to be altered.

For example, if I have in foot.ini:
initial-window-size-chars=90x26
then of course Foot windows are created of that 90x26 size, and centered.

But if I leave a Foot window open and idle, and power-cycle the monitor, Foot window becomes smaller and placed somewhere else in the desktop.

Maximized windows don't seem to be affected.

To Reproduce

  1. Open a Foot terminal window, of 90x26 for example.
  2. Turn the monitor off and on again.
  3. The Foot terminal window is now of a different size (smaller) and is at a different position on the desktop!

Expected behavior
I believe Foot's window should keep the same size and position when power-cycling the monitor.

Wayfire version
Wayfire 0.9.0-0583157 (Jun 21 2024) branch master

More information
This is apparently a compositor bug. Foot's author says that it simply uses the size and position provided by the compositor, so some of this information seems to be lost on monitor power-cycling:
https://codeberg.org/dnkl/foot/issues/1750

@vanfanel vanfanel added the bug label Jun 26, 2024
@ammen99
Copy link
Member

ammen99 commented Jun 26, 2024

I recommend using the preserve-output plugin if you are power cycling your monitors. It should prevent the bug.

@vanfanel
Copy link
Author

I recommend using the preserve-output plugin if you are power cycling your monitors. It should prevent the bug.

I added preserve-output to my plugin list, but the bug is still showing.

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

No branches or pull requests

2 participants