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

Ability to select one object by tapping when in "Select with a polygon" or "Select with a region" #1232

Open
Excigma opened this issue Sep 22, 2024 · 2 comments

Comments

@Excigma
Copy link

Excigma commented Sep 22, 2024

Xournal++ has this feature where, even if if you're in their equivalent of "Select With a Rectangle" or "Select With a Polygon" mode, if you tap (without dragging) on a stroke or image, it will select it like a 'one-shot' "Select One by One" mode.

This makes using a stylus more much ergonomic, as you will be able to select long lines or large images easily in "Select With a Polygon" or "Select With a Rectangle" mode, especially if there are foreground strokes that you do not want to select. Basically the benefits of "Select One by One", but more easily accessible.

I've done a poor attempt of showing it from a screen recording, a video showing the stylus input would have been more appropriate.

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Tapping on a stroke or image whilst in "Select With a Polygon" or "Select With a Rectangle" mode will act like a one-shot "Select One by One".

Exact implementation may differ, but personally, I would prefer it to allow only one item to be selected. That is, if multiple strokes/images are tapped, the previous selection is cleared. This is subjective though, some people may prefer it to work like "Select One by One"

Describe alternatives you've considered
I suppose "Select Intersecting Path" is a possible trade off. I still see myself using "Select With a Polygon" as I wouldn't miss small dashes

Additional context

Screencast.From.2024-09-22.22-42-01.webm
@Excigma Excigma changed the title Ability to select one object when in "Select with a polygon" or "Select with a region" Ability to select one object by tapping when in "Select with a polygon" or "Select with a region" Sep 22, 2024
@flxzt
Copy link
Owner

flxzt commented Sep 22, 2024

Are you aware of the one-by-one selection mode that already exists - you can select it in the sidebar below "rectangle" / "polygon" mode. It sounds like it is exactly what you're looking for.

@Excigma
Copy link
Author

Excigma commented Sep 22, 2024

Yup - this would make it easier to select images without needing to switch between the modes though (I have a flip laptop and palm rejection is a little finicky, touchscreen input is ignored when the pen is close to the screen, which makes tapping to change tools often a bit difficult as the touch is sometimes ignored).

The idea of this is so that you can stay in "Select with a polygon" or "Select with a region" mode. Dragging would carry out the normal mode, but tapping on items would act like "Select One by One" and will select the item you tapped on instead

Repository owner deleted a comment Oct 24, 2024
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