maoschanz / notes-extension-gnome

A GNOME Shell extension providing customizable sticky notes
GNU General Public License v3.0
80 stars 40 forks source link

Notes are off-screen when switching layouts #71

Closed floe closed 2 years ago

floe commented 3 years ago

When I undock my laptop, the notes are no longer visible because they are now "off-screen". Toggling them also doesn't help. Might be an idea to include a "reset positions" option in the menu icon? Or perhaps store positions based on screen configuration, although I have no idea how hard or easy that might be.

floe commented 3 years ago

After browsing the code a bit, I noticed there's a bring-back signal that does more or less exactly what I want, but how would I trigger this from outside?

maoschanz commented 2 years ago

there is a button somewhere in the extension's preferences

floe commented 2 years ago

there is a button somewhere in the extension's preferences

Yes, I know, but - you cannot access the preferences if you don't see the notes, because the only way to get to the preferences is from the context menu of a note?

maoschanz commented 2 years ago

Like any other extension's preferences, it's accessible at least from extensions.gnome.org, from the "GNOME Tweaks" app, and from the "GNOME Extensions" app. Maybe from "GNOME Software" too, depending on your version of GNOME

floe commented 2 years ago

Okay, that's a workaround, thanks (would still prefer to have this as a hotkey, or automatically on unplug, though)

maoschanz commented 2 years ago

i assumed there were 2 main possible cases:

i can imagine other weird cases that the extension don't support, such as a secondary monitor defined as the "primary" one in the display settings, and positioned to the left of the actual primary one? that would break things i guess, but i have no intention breaking my own configuration to develop a fix for this absurd situation, sorry: if this is your case i suggest to not move your notes too far from the monitor where the icon is