obsidian-hover-editor icon indicating copy to clipboard operation
obsidian-hover-editor copied to clipboard

Is it possible to remember the last window opening position

Open cumany opened this issue 2 years ago • 4 comments

This is a great feature. I love it. It would be nice to automatically remember the window position after dragging the hover window, so that the next time you hover window it will appear in the proper place.

cumany avatar Mar 21 '22 08:03 cumany

This is problematic if you don't have auto pin turned on as you wouldn't be able to move your mouse over to the popover before it disappeared.

Can you explain your use case further? Maybe there's another way to enable what you're after.

nothingislost avatar Mar 25 '22 01:03 nothingislost

I will demonstrate in the video:

  1. I opened a hover window and dragged it to a new location
  2. Closing the hover window
  3. When the hover window is opened again, the position has changed and does not appear where it was when I first closed it.

https://user-images.githubusercontent.com/42957010/160035757-a11516af-0b83-4f3e-b8f4-c36f4dd3d3f6.mp4

cumany avatar Mar 25 '22 01:03 cumany

Ah, so the "Open in a new popover" command, I can probably make remember the last location. It was the link hover invoke method that I was concerned about.

What would you expect to happen if you started opening multiple popovers with the "Open in a new popover" command? Should they all stack up on top of each other?

nothingislost avatar Mar 25 '22 02:03 nothingislost

I think if you open more than one window can be stacked, after all, it is very convenient to drag them to the right place. This is almost like windows image

cumany avatar Mar 25 '22 02:03 cumany