Skip to content

[Feature Suggestion] Save window positions and restore them on application startup. #146

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

Open
PXDiv opened this issue Jan 2, 2025 · 3 comments

Comments

@PXDiv
Copy link

PXDiv commented Jan 2, 2025

The Windows forget their positions and every note gets overlayed on top of each other after every reboot or app restart.
It will be better if the windows restored the window position on launch.

@DodoLeDev
Copy link

DodoLeDev commented Apr 12, 2025

There have been numerous issues addressing this, but I will take advantage of this open issue to inform you that a new protocol implementation that perfectly fit this task has been merged in Mutter and in KWin

This will allow the developer to request a session ID for each of the notes, and reuse them when restarting the app.
The compositor will then re-position the windows based on the last state before they were closed

@PXDiv
Copy link
Author

PXDiv commented Apr 12, 2025

Sounds cool, thanks!
and also can there be no icon on the dock on gnome?

@DodoLeDev
Copy link

DodoLeDev commented Apr 12, 2025

And also can there be no icon on the dock on gnome?

You can, but this may be addressed in another issue I guess

EDIT: Well... It does work on X11 only. For wayland, you either have to rely on shell extensions, or on the incoming xdg-pip, if it supports this feature

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