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

Mouse Wheel to rotate between pens #69

Closed
pubpub-zz opened this issue Mar 13, 2021 · 17 comments
Closed

Mouse Wheel to rotate between pens #69

pubpub-zz opened this issue Mar 13, 2021 · 17 comments
Labels
Opinion requested looking for opinions question Further information is requested

Comments

@pubpub-zz
Copy link
Owner

pubpub-zz commented Mar 13, 2021

from @lucacuccu3x8

Also,
If I may suggest please:
Perhaps a multi-functional use of the mouse wheel, please?
other than scale up and down the width of the pen,
is it possible to add an optional setting to select the Pen (pen 1, pen 2, pen3, ..) with the wheel of the mouse instead, please?

  • it will avoid going up and down on the screen every time you need to select a different pen. (I know hotkeys are an option, but messy alright!) - I think the mouse wheel is a very convenient and fast selector.
    What do you think?

Originally posted by @lucacuccu3x8 in #59 (comment)

@pubpub-zz
Copy link
Owner Author

Currently the mousewheel implements:

  • mousewheel only : change pen width
  • ctrl+mousewheel : change zoom factor in zoom mode
  • shift(or caps lock on)+ mousewheel : rotate through pens

also you can use the shortcuts for pen0-9
finally if shortcut for pen0 is identical to pen1, you will be able to rotate through all pens with this unique pen shortcut

### for every one, can you tell me if the current implentation is sufficient ?

@pubpub-zz pubpub-zz added Opinion requested looking for opinions question Further information is requested labels Mar 13, 2021
@eamayreh
Copy link

eamayreh commented Mar 13, 2021

At first I thought there were too many hotkeys to memorize, but since we would already be in drawing mode with the shape/tool selected, you kind of get used to selecting pens/colors via their numbers; I think I prefer that over clicking the same shortcut until I get to the pen I want to use, and there is also "shift+scroll wheel" available to go through the pens which saves you having to set another shared shortcut for pen0 and 1.

@lucacuccu3x8
Copy link

lucacuccu3x8 commented Mar 13, 2021

I think the "rotate through pens" is more important than change pen width. once the width is set, I found myself rarely in occasion when in need to change the width... especially while doing presentations (messy!)
yet more often, I need to change pen, considering that now every pen could hold different color and fading

so I vote for
mousewheel only : rotate through pens
shift(or caps lock on)+ mousewheel : change pen width

@eamayreh
Copy link

eamayreh commented Mar 13, 2021

I think the "rotate through pens" is more important than change pen width. once the width is set, I found myself rarely in occasion when in need to change the width... especially while doing presentations (messy!)
yet more often, I need to change pen, considering that now every pen could hold different color and fading

so I vote for
mousewheel only : rotate through pens
shift(or caps lock on)+ mousewheel : change pen width

@pubpub-zz @lucacuccu3x8
How about adding this to the hotkey options if it doesn't need much coding? That way users choose whatever suits them.
Edit: Just read @pubpub-zz mention it would be hard to code;

@lucacuccu3x8 I do agree though that I rarely find myself troubled with the width because I tend to have it pre-set in the options.

@lucacuccu3x8
Copy link

I stick with the mousewheel only : rotate through pens 👍🏻

@pubpub-zz
Copy link
Owner Author

I've finally encode option to swap between mousewheel (That I do need) and shift+mousewheel
ppInk14.zip

@lucacuccu3x8 , you owe me more stars ... 😉 😄

@lucacuccu3x8
Copy link

ha-ha that's great pubpub. Thank you!
Settings are not persisting, though after either a reboot or a re-launch of the app entirely (after the process was killed)
in particular the width setting for the pen0 (default or last selected?), falls back to default
I normally set pen0 with 300width and 170 alpha (as a marker with fadings)
what do you think?

Try this combination please:

Screenshot 2021-03-14 171721


  1. launch the app -> save the new settings -> test it, working ok!

  2. Switch between mouse pointer and drawing back with hot-key : working ok !

  3. ESC the app -> re-engage the app with the Global Hotkey(Ctrl+Alt+G) -> Pen0(gets its width shrunk, back to default)

    1. Switch between mouse pointer and drawing back with hot-key : same
  4. Kill the app entirely ( a system reboot scenario for example..)

  5. Re-launch the app from fresh -> some previous user settings are not there or fall back to default - for e.g. the newly introduced feature of the mouse wheel and fadings.

what do you think?

Thank you

@pubpub-zz
Copy link
Owner Author

You right : add in config.ini
Inverse_MouseWheel_Control=true

@pubpub-zz
Copy link
Owner Author

  1. ESC the app -> re-engage the app with the Global Hotkey(Ctrl+Alt+G) -> Pen0(gets its width shrunk, back to default)

This is an old behavior and I agree it is not nice.
ppInk14b.zip

  1. Switch between mouse pointer and drawing back with hot-key : same

I think it is because the width was reduced before

6.Re-launch the app from fresh -> some previous user settings are not there or fall back to default - for e.g. the newly

introduced feature of the mouse wheel and fadings.
As said Inverse_MouseWheel_Control was missing in config.ini, reintroduced

@lucacuccu3x8
Copy link

Thank you pubpub,
Seems great now.
Please allow me a few days for test
Thank you again

@pubpub-zz
Copy link
Owner Author

no prob

@lucacuccu3x8
Copy link

great one. no probs so far.
thank you pubpub

@lucacuccu3x8
Copy link

111077543-2f417f00-84e9-11eb-9bff-95263923686b
Going through testing ..
it is great yet very sensitive. Often, I've noticed that when switching between mouse pointer and drawing the pen isn't the last one used.. Maybe it's me doing something wrong.

Any chances please to have an option to completely deactivate the use of the mouse wheel with ppInk?
(but keeping "shift+wheel" for "Pen-Selection" or "Pen-Width")

@lucacuccu3x8
Copy link

111077543-2f417f00-84e9-11eb-9bff-95263923686b
Going through testing ..
it is great yet very sensitive. Often, I've noticed that when switching between mouse pointer and drawing, the drawing pen comes back as not the last one used.. Maybe it's me doing something wrong.

Any chances please to have an option to completely deactivate the use of the mouse wheel with ppInk?
(but keeping "shift+wheel" for "Pen-Selection" or "Pen-Width")

@lucacuccu3x8
Copy link

111077543-2f417f00-84e9-11eb-9bff-95263923686b
Going through testing ..
it is great yet very sensitive. Often, I've noticed that when switching between mouse pointer and drawing the pen isn't the last one used.. Maybe it's me doing something wrong, but I suspect the mouse wheel is still switching the pens even when ppink is minimized in "mouse pointer mode" .. cannot tell yet, as it isn't always happening.

Any chances please to have an option to completely deactivate the use of the mouse wheel with ppInk?

@pubpub-zz
Copy link
Owner Author

Your analysis about mouse wheel in pointer mode is correct. fix attached
ppInk21.zip

About desactivating mouse wheel I do not see the use and I never had complain about this function being active since its implementation.

@lucacuccu3x8
Copy link

lucacuccu3x8 commented Mar 21, 2021

yeah, you're right, sorry.

Oh, it would be such a great thing to have the mouse wheel (for scroll up and down pages) free from ppink grasp, without the need of tricks and boots. Basically a mouse pointer that draws+fade and let you scroll your documents or webpages while you reading for a class.. what a dream!
I know you suggested already a solution, and I'm thankful for it.
Anyway, regarding this issue here about "Mouse Wheel to rotate between pens", can be closed.
the latest zip you gave me here, seems to have the pens selection sorted.
thank you!

pubpub-zz added a commit that referenced this issue Mar 22, 2021
to close #69
note: capslock capability has been removed
pubpub-zz added a commit that referenced this issue Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Opinion requested looking for opinions question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants