sticky icon indicating copy to clipboard operation
sticky copied to clipboard

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

Open PXDiv opened this issue 1 year ago • 3 comments

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.

PXDiv avatar Jan 02 '25 15:01 PXDiv

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

DodoLeDev avatar Apr 12 '25 17:04 DodoLeDev

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

PXDiv avatar Apr 12 '25 17:04 PXDiv

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

DodoLeDev avatar Apr 12 '25 19:04 DodoLeDev

Yes, please!

GalacticSun avatar Nov 20 '25 17:11 GalacticSun