-
Notifications
You must be signed in to change notification settings - Fork 385
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
No stroke break when changing pen tools #875
Comments
I'm still surprised you've got so far with a surface 3, and that it's pressure-sensitive at all (still remembering the bad days of #484). Can you expand on the detail a bit please? I'm having difficulty understanding what you've configured MyPaint or your drivers to do (hotkey means what?), and which order you do the (pen nib touches screen) (additional button pressed) (pen nib moved way from screen) (additional button released) events when it happens. (Is there any order where it does not happen?) (I don't have a Surface 3 myself. It might be hard to reproduce this. I can have a go with a pile of Linux, Win7, and random tablets though.) |
I have a feeling these weird lines that appear are actually delayed dabs that are catching up. So when you release the button and eraser goes back to normal, the delayed marks are getting the new setting (non-eraser) and thus... it draws lines? You could confirm this by repeating your test... do your erasing but then stop moving the stylus for a few seconds, THEN release the button to go back to normal mode. I bet you won't have lines. |
For the erasing, when I hold down the additional button and press '1' (my eraser pen), then whenever I press that additional button, it uses the eraser pen. |
Oh I thought the "circle" you drew was part of the problem. You're just talking about that tiny dot, or very short stroke. Hmmm.. |
Yeah, the strokes get really crazy when it's lagging or something. Sometimes the strokes cover like half the screen too, but I'm not really sure how that happens. |
Ok wait a second. Do you have the eraser button configured somehow to send the "1" key when you press it? If you open a notepad and press and hold the eraser button, does it send a stream of "1"s to the window? like "11111111111111111"? |
No, I configured it that way by pressing 1 when toggling the erase button. I guess mypaint recognizes the pen as a different pen when the erase button is held down which is why whenever I use the erase pen, I never have to switch to the erase tool using my keyboard. |
I use a surface pro 3 and a two button pen. I have it set so that when I press down the 'eraser' button on the pen (lower button), it automatically switches to the tool in hotkey 1 (eraser) and erases. The problem comes when I let go of the eraser button. It creates a large mess of lines right under my pen.
[edit: rotated the images so they're right side up]
Basic system details
MyPaint version: [1.3.0-alpha+git.aefccd44]
Operating system: [windows 10, default os on surface 3 pro]
Desktop environment: [windows I guess?]
Steps to reproduce
Backtraces or error messages
The text was updated successfully, but these errors were encountered: