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

Label is filled with output name even when selecting custom rectangle #154

Open
Vladimir-csp opened this issue May 15, 2024 · 5 comments
Open

Comments

@Vladimir-csp
Copy link

Launching with
-o -f '%l'
Expecting output name in the label only when output box was selected (click), not when drawn a custom rectangle.

@emersion
Copy link
Owner

That's expected behavior though.

@Vladimir-csp
Copy link
Author

It's not a label of selected region though. And it could be used for differentiating between result being whole output or region selection based on user action.

@tmccombs
Copy link
Collaborator

What would you expect to happen? What other label would it print?

If you use -o -f '%l %x,%y %wx%h' it will print the output as the label AND will print the region selected.

@Vladimir-csp
Copy link
Author

I expected label to be empty if region is selected. Maybe there is some other way to differentiate between output and region selection?

@tmccombs
Copy link
Collaborator

And what would be the format for the selected region?

I think probably the best way to handle that would be to allow setting separate formats for selecting a labeled region and selecting a custom region.

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

3 participants