I can confirm with ぐるぐるめーさん.
30.html seems to be perfect.
All touch issues seem to be fixed. No double taps zoom on any part of the canvas, accidental text selection is fixed and the double pen effect when using fingers is gone too! I drew briefly, but observed no operation problems.
20.html seems to work the exact same as the last versions I tested.
の
---
It cannot be included in the official distribution version yet.
This is because you need to take the time to try it out and see if it causes a problem or not.
If you want to avoid the risk of any problems, don't use this code.
My apologies さとぴあさん I must've missed your message skimming here the other day.
I've added it just now, I'll test it in a bit. I registered on github as boxfries, feel free to contact me there if you'd like me to test anything!
GitHub doesn't have the ability to communicate between users, so you have to either have them posted in the issues thread or reply to already opened issues to let them know.
However, I think that I can contact you for a while by replying to the issues that I had a question.
あ
I tried it on my site for some time, everything’s working fine! Thanks for letting me know about GitHub, I’ll keep contacting you here then for this issue.
With the double tap issue resolved, there’s only a palm rejection issue to be fixed. It happens occasionally when your palm makes contact with anywhere on the screen before the stylus, resulting in a straight line from where your palm makes contact to your stroke. I wonder if there’s a way to reject palm gestures on the canvas when the Apple Pencil is detected? Many native drawing apps still struggle with palm rejection…
I’ve attached an image demonstrating the problem.
が
thank you.
I was able to share the issue.
If you're having the same problem with the ChickenPaint example ...
The difficult problem so far is unlikely to be solved unless you are the developer of ChickenPaint.
I can report it all together, but it may be better if someone who can speak native English reports it.
I don't personally use them, but those should certainly help! I know many artists use them with their ipads. The issue only comes up occasionally, so it's not a huge problem, with respect to double taps.
I can try bringing it up with the devs. They seem quite inactive unfortunately.
あ
This issue is probably a ChickenPaint issue as well as an iOS issue.
Chicken Paint developers probably don't have the time.
However, the more people who report a problem to GitHub, the better the results may be.
When I report alone, it seems that only one person is aware of the problem.
あ
Chrome Speed - First Input Delay Changes in Chrome 91
↑
English.
>Disable double-tap-to-zoom on mobile viewports
>Double-tap-to-zoom (DTZ) is a gesture used to zoom into text. Previously,
>DTZ was disabled when either zooming was disabled (min-zoom equal to max-zoom) or when the content width fits the viewport width. After this change,
>we also disable DTZ when the viewport meta tag specifies width=device-width or initial-scale>=1.0,
>even when implicitly doing so, like for example in minimum-scale=1.5, maximum-scale=2.
Because DTZ negatively impacts FID and the amount of pages where DTZ is disabled is increased, we expect some sites to see better FID scores.
Touch operations seem to be working the same as the old chickenpaint version.
Double tap zoom still occurs on the misc and other menus except for the toolbar. Text occasionally gets selected but it doesn’t affect drawing.
I also noticed that double tapping on the top bar with the drop down menus causes a small zoom, but disables the double tap problem. Problem is the toolbar on the left gets partially hidden. I have to drag it back or pan the screen towards it. It’s a bandaid fix, but casual users will still be affected…
さ
iPadの実機を持っている方にテストしてもらう事しかできない現状をお詫びします。
可能なら、次のurlのChickenPaintがどのように動作するのか教えてください。
I tried to avoid the problem by writing it differently.
After all, I don't have an iPad at hand, so I have no choice but to ask those who are watching here to check the operation. https://pbbs.sakura.ne.jp/localPaintBBS/chickenpaint/11.html
Double tap zoom doesn't happen on the Misc, Strokes and Color Swatches toolbars anymore. It still occurs on Layers, Tool Options, Color and Textures. After drawing a while longer, I think it's worthwhile to disable zoom on these.
I tried drawing for a bit longer to see if it becomes inoperable over time. From my test, all is running fine.
Whyさん
Thank you for the test work.
>Double tap zoom still occurs on the menus other than "strokes" "misc" "color swatches" and "tools".
Is this the case with either 13.html or 17.html?
実はどうにもならないことなのかと思って我慢して使っていたのですが、Whyさんの書き込みと同じ症状が私にもあって、Whyさんの解決のために差とぴあさんが提案してくださった
touchaction noneのタグを入れてテストしてみたら、ズームしたり、そのまま動作が固まったりして描画続行不可能になるバグが解消されました。
Whyさんnice!I had same trouble too!
さとぴあさんもWhyさんもありがとうございます。
JavaScriptの場合はこうなります。
<script>
var lastTouchEnd = 0;
document.addEventListener('touchend', function (event) {
var now = (new Date()).getTime();
if (now - lastTouchEnd <= 300) {
event.preventDefault();
}
lastTouchEnd = now;
}, false);
JavaScriptの場合はこうなります。
<script>
var lastTouchEnd = 0;
document.addEventListener('touchend', function (event) {
var now = (new Date()).getTime();
if (now - lastTouchEnd <= 300) {
event.preventDefault();
}
lastTouchEnd = now;
}, false);
I can also confirm the same issue on the author's site. Double tap zoom is disabled on the "Tools, Misc, Stroke and Color swatches" toolbars, but the rest also have the double tap problem.
Hi, thanks again for bringing back OekakiBBS! Apologies for English, or if I posted in the wrong place....
I've noticed when using Ipad+Apple pencil, Chickenpaint zooms in when double tapping on the "Misc" toolbar. This can make drawing quite cumbersome when you want to undo multiple strokes. The only way to unzoom is to either use pinch gestures on the toolbar or scroll to "Tool Options" and double tap there.
Interestingly, this behaviour isn't observed trying the sample program on the developer's site thenickdude.github.io/chickenpaint-example/
i Investigate this issue.
But the problem is that I don't have an iPad.
It would be nice if we could compare the codes and see, but the cause may remain unknown.
ありがとう。
This script section of the Paint screen template HTML is not required in the latest version of ChickenPaint.
At the moment I only know that much.
<script>
/* Check for native pointer event support before PEP adds its polyfill */
if (window.PointerEvent) {
window.hasNativePointerEvents = true;
}
</script>
I uploaded a modified version to GitHub, but I can't figure out if it's the cause because I can't reproduce it.
And if you have a screenshot of the chickenpaint screen you're having problems with, could you attach an image and upload it to the bulletin board?
よろしくお願いします。
It's just a guess, but it's possible that your browser's cache is loading old CSS.
That's because the old CSS didn't display the ChickenPaint page correctly, as I just looked at it.
あ
Thanks for the update. Here’s the following image of the problem. Apologies for not sending earlier! I’m still getting used to IPad’s file system…
I also tried chicken paint on the boards you provided, the problem still persists, unfortunately… の
I went back to chickendude's sample page
thenickdude.github.io/chickenpaint-example/
Double tap zoom is disabled on the "Tools, Misc, Stroke and Color swatches" toolbars. The rest also have the double tap problem. Pinch zoom works on all toolbars except the canvas however.
Let me know if there's anything you need to test! I'll be happy to help.
あ
Done.
The problem still persists. I tried a new incognito window to clear the cache, in case that's causing problems.
I didn't notice until now, but the "Tools" menu doesn't have the double tap issue, I believe it's always been that way. I tested on my board as well.
あ
That worked!
The double tap problem is gone now. Full screen mode on and off.
I also don't notice the text selection problem anymore. Pen mode also doesn't mistakenly register finger strokes (weird 3D pattern). Amazing.
I still observe double tap zooming on "Color, Textures, Layers and Tool options", if it's easy to disable these, by all means. But I don't think a big deal for regular drawing use.
Update: there's some unintended screen selection problems when pressing and holding on the canvas. I'll try to upload images of the issue.
I tried on the old Chickenpaint, pressing and holding on the canvas normally selects text on the bottom of the screen (see #282), now it selects a bar on the bottom or the entire screen depending on palm activity?
Press+hold near the middle of the canvas (more intrusive). Also forgive me, it doesn’t depend on palm activity, just the location on the canvas that’s press+held.
Pen is registering finger strokes again, I’m not sure what disabled it earlier… Not a big deal however. あ
<style>
div#chickenpaint-parent :not(input){
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
touch-action: none;
}
</style>
CSS that prevents the screen from being selected. And CSS that doesn't zoom.
Please test again. https://pbbs.sakura.ne.jp/cgi/neosample/poti-board-en/
あ
<style>
div#chickenpaint-parent :not(input){
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
</style>
<script>
var lastTouchEnd = 0;
document.addEventListener('touchend', function (event) {
var now = (new Date()).getTime();
if (now - lastTouchEnd <= 300) {
event.preventDefault();
}
lastTouchEnd = now;
}, false);
</script>
After a conversation with another user, I came to the conclusion that this seems to be the best answer.
We also give feedback to the developers of chickenpaint.
This is a provisional response.
あ
Thanks for working through it! I had seen the other problem as well, I'm glad someone spotted it because I only tested lightly. I'll try a full drawing with the updated Chickenpaint sometime.
- ダブルタップによるズームが発生して描画が困難になる問題に対応しました。
- パームリジェクション機能に関連して発生していた、意図しない直線が発生する問題に対応しました。
v3.05.2をリリースしたばかりですが、
上記の問題を解決した、ChickenPaintの最新版がでましたので、
v3.05.2.1としてリリースしなおしました。
すでにv3.05.2に更新している方は、
chickenpaintディレクトリの上書きアップデートをするだけで構いません。