-
-
Notifications
You must be signed in to change notification settings - Fork 336
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
feat: shortcuts for color setters #1361
base: main
Are you sure you want to change the base?
Conversation
Add 1, 2, ..., 9 as the shortcuts for the color pickers (at the top of the window).
Turns out that was a really bad idea and you wouldn't be able to type numbers in textboxes.
I really wanted that feature for a long time. Thanks for implementing that. But, this shortcut is already used for switching to specific tabs. For example Alt + 3 to go to 3rd tab. |
Didn't know that, I feel like it's more frequent to switch colors than to switch tabs, so maybe it's not a bad idea to remap tab switching to Ctrl+Alt+n? |
I agree with you that I rarely (probably never) switch tabs with that keyboard shortcut. I just reminded you about the conflict. |
Pretty sure the shortcut is not set by rnote but by the use of Adw>TabBar in rnote for having tabs, and I'm not sure it's settable. I'd be somewhat weird to have rnote be the only gtk/adwaita application where the I didn't know the shortcut and I'm not sure it not showing in the keyboard shortcut window is intended behavior (though that's a separate issue altogether) |
what about using |
Co-authored-by: Moritz Mechelk <[email protected]>
Could you please run the formatter again? It seems like that small change made the line too long, which is why the CI is failing :/ |
I was thinking if there was still the possibility of adding a shortcut to make the fill or stroke transparent. This would help us save one of the colors. Boxes without background and with background are usually used and right now there is no easy way to do it. |
hm, it does not seem to work on my machine, not sure why. |
That's probably due to |
sounds good to me.
Wouldn't using a transparent color as color field satisfy this usecase? |
No, because that way we lose a color. For example, if I have yellow selected, I would like to be able to select a key to give it 50% transparency and then return it. That would help me to have transparencies for each color and not a single color that I have to be constantly changing to achieve transparency |
I'm back! (?) So I've been thinking: I started from assigning I was like why not revisit the supposedly simpliest shortcut ver. and fix the issue? So here I am again back to Edit 1Oh well this doesn't work because now I can't change the stroke thickness. Edit 2Fixed that in the commit below. |
Add
<Alt>1
,<Alt>2
, ...,<Alt>9
as the shortcuts for the color pickers (at the top ofthe window).