Open habsul-rignyr opened 3 years ago
I do not have a windows 10 tablet so I cannot fix this. Can you test whether https://hanziwriter.org/demo.html has the same issue?
What does "not working" mean?
I'm not sure if I have the same problem or if OP just has it not work at all. I have a Wacom Graphire 2 Tablet ET-0405A-U0S with Mouse & Pen USB Ruby with driver wacomtablet_6.2.0w5.exe. If it's set to mouse mode it works, if it's set to pen mode it can stop drawing the stroke in the middle.
For the character 笔 it stops drawing the last stroke as soon as I pass the bottom horizontal line in pen mode but works in mouse mode.
For 毛 it stops when I pass the second stroke while drawing the last stroke.
三 it stops on the last stroke when I touch the 'rice' diagonal.
口 when I cross to the right side of the character box on the second stroke.
When it fails to draw the stroke even though I haven't taken the pen off the tablet yet, it draws the intended stroke in blue (if I've failed it 3 times).
Is it possible it somehow lacks all Leniency when in pen mode, but obeys the setting in mouse mode? I have it set to the max.
Switching the wacom pen to mouse mode makes it work, the wacom mouse works, any other mouse works, it's just the wacom pen when in pen mode that lets go of the stroke before I tell it to.
If I put the pen down and leave it in that spot, around it appears a white arc that turns into a circle, then if I let go it opens the right-click menu. But, if instead of letting go I right-click with a mouse twice, it opens and closes the right-click menu, letting me complete the whole stroke. When the context menu is opened by pen or mouse, it draws the intended stroke in blue.
As far as the hanziwriter demo, it works in chrome and firefox in mouse mode, in pen mode it works in chrome and just scrolls the page in firefox. So I have 3 different behaviors for pen mode based on what program I'm using:
anki: stops stroke early
firefox: scrolls page
chrome and edge: draws stroke normally
internet explorer: fails to load demo
@khonkhortisan There is no code in the plugin itself that checks for pen vs mouse, does the same happen in https://hanziwriter.org/demo.html ? If yes, then you might need to raise the issue there. I sadly cannot help you guys much with this as I do not use zoom or tablet.
I just noticed another difference, the mouse cursor may or may not disappear during the stroke depending on what program I'm using, and whether the wacom tablet driver is set to absolute position pen mode or relative position mouse mode. Even when hanziwriter isn't involved at all, these programs behave differently.
pen + https://hanziwriter.org/demo.html + firefox: drags the page up or down instead of drawing a stroke, cursor visible
pen + https://hanziwriter.org/demo.html + chrome: writes stroke correctly, cursor disappears
pen + https://hanziwriter.org/demo.html + opera: writes stroke correctly, cursor disappears
pen + https://hanziwriter.org/demo.html + edge: writes stroke correctly, cursor visible
pen + https://hanziwriter.org/demo.html + internet explorer: doesn't load, doesn't write, cursor visible
pen + maobi + anki: stops drawing mid-stroke, cursor visible, stoke completion depends on stroke length and leniency
pen + blank space + firefox: drags the page, cursor visible
pen + blank space + chrome: drags the page, cursor disappears
pen + blank space + opera: drags the page, cursor disappears
pen + blank space + edge: drags the page, cursor visible
pen + blank space + internet explorer: selection, cursor visible
mouse + https://hanziwriter.org/demo.html + firefox: writes stroke correctly, cursor visible
mouse + https://hanziwriter.org/demo.html + chrome: writes stroke correctly, cursor visible
mouse + https://hanziwriter.org/demo.html + opera: writes stroke correctly, cursor visible
mouse + https://hanziwriter.org/demo.html + edge: writes stroke correctly, cursor visible
mouse + https://hanziwriter.org/demo.html + internet explorer: doesn't load, doesn't write, cursor visible
mouse + maobi + anki: writes stroke correctly, cursor visible
mouse + blank space + firefox: selection, cursor visible
mouse + blank space + chrome: selection, cursor visible
mouse + blank space + opera: selection, cursor visible
mouse + blank space + edge: selection, cursor visible
mouse + blank space + internet explorer: selection, cursor visible
The maobi + anki combo is special for dropping the stroke, firefox is special for scrolling even when in the writer box, chrome/opera are special for making the cursor disappear, internet explorer is old.
<iframe height="100%" src="https://hanziwriter.org/demo.html" width="100%">iframe waz here</iframe>
+ anki: doesn't load
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when
The program doesn't work with the pen in Windows 10 tablets. I am pretty sure it isn't just me because someone else referenced this on the anki comments.
Describe the solution you'd like A clear and concise description of what you want to happen.
To be able to use the pen/stylus (still works with finger).
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.