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

Suggestion: Pins snap to a grid while moved + allowed them to be saved/loaded #3503

Open
shadowblaster111 opened this issue Feb 15, 2024 · 2 comments
Labels
Enhancement Feature requests and code enhancements Needs Decision This is something that should be discussed by community

Comments

@shadowblaster111
Copy link

Feature Description

Make pins snap to grid either by default or when enabled in settings. It would make organizing the pins much easier.

Also, once you have them nicely organized it would be great that you could save/load them.
Two buttons could be placed on the system tray menu:

  • "Save Pinned Images"
    -> Opens a file dialog asking where to save the file.
    -> The file would be a .zip file containing all the images + information about window positions/size etc.
  • "Load Pinned Images"
    -> Opens a file dialog asking for the above mentioned .zip file.

Thanks for reading.

@shadowblaster111 shadowblaster111 added the Enhancement Feature requests and code enhancements label Feb 15, 2024
@mmahmoudian
Copy link
Member

mmahmoudian commented Feb 17, 2024

Make pins snap to grid either by default or when enabled in settings. It would make organizing the pins much easier.

I'm not sure this is possible with current Wayland restrictions because as far as I understand, at the moment the program cannot force the window manager to place windows in a specific structure. For more details you can watch this great video by @BrodieRobertson :

https://www.youtube.com/watch?v=7ju6tnep-pU

The file would be a .zip file containing all the images + information about window positions/size etc.

This is again an issue because even if we can save the window positions, there is no way to guarantee that they will be respawned in the same places.

it would be great that you could save/load them.

As for saving to file, it is already implemented and can be accessed via right-clicking on the pinned image:

image

For loading, we already have #240 but it is not about loading as a pinned image, but rather as an image to be annotated. I think your best bet for loading already saved images and showing them is either imv or pqiv. For pinning an arbitrary image file, it have been proposed in #954 (comment) .

lots of ideas about improving pin tool have been discussed in #954 and I have summarized them in #954 (comment)

Let's ask other devs' opinions to see if they have specific comment about any part of this feature request:
@veracioux @panpuchkov @hosiet @holazt

My overall view is that this FR contains ideas that are already discussed or has some suggestions that are not possible to pull off at least in Wayland . So imho it is not actionable and should be closed. I'll wait for others' opinion on this as I'm not an expert :)


@shadowblaster111 Thank you for the suggestions and detailed explanation of how you have envisioned them. I hope you don't get discouraged and keep suggesting improvement as you see fit 👍🏼

@mmahmoudian mmahmoudian added the Needs Decision This is something that should be discussed by community label Feb 17, 2024
@hermanhel
Copy link

From "organizing pins and save/load them", it sounds a lot like Beeref

When I need to do similar tasks, I often flameshot capture the image and paste into beeref, it does the exact thing: organizing pins and save/loading the scene of pins with their positions and modifications(mirror, size, crop, etc.)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Feature requests and code enhancements Needs Decision This is something that should be discussed by community
Projects
None yet
Development

No branches or pull requests

3 participants