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

Auto-repeat time of touch events on the JZ-TS35 display #24

Open
Pilson66 opened this issue Oct 28, 2019 · 23 comments
Open

Auto-repeat time of touch events on the JZ-TS35 display #24

Pilson66 opened this issue Oct 28, 2019 · 23 comments

Comments

@Pilson66
Copy link

Pilson66 commented Oct 28, 2019

Hello. I am the owner of the JZ-TS display, with firmware 3.7.3, and when I click on any button on the interface, an almost instantaneous repeat of the touch events occurs. That is, for example, I press the button to extrude 10mm filament, and the display sends 2 (sometimes even 3) commands in a row, as a result, the printer extrudes into 10mm filament, and 20 or 30. The same thing happens when trying to calibrate the table. I click the "Next" button, and the printer performs in a row 2-3 actions of the printing movement at the indicated points. Therefore, we have to contrive that the touch time to the display is extremely short.
Solution: set a delay between the first touch event and its auto-repeat, at least to 300 milliseconds.

@Pilson66 Pilson66 changed the title Auto-repeat touch events on the JZ-TS35 display Auto-repeat time of touch events on the JZ-TS35 display Oct 28, 2019
@miblooming
Copy link
Owner

What's version of hardware on PCB? The touch delay is 100 milliseconds for "Click", and 200 milliseconds for "Long Press".

@miblooming
Copy link
Owner

There's a bug on button of extrude 10mm. It should not response on Long Press. The bug is fixed on V3.7.5. Here
https://github.com/miblooming/JZ-TS24-2/tree/master/JZHelper_ui_editor/JZ-TS35WIFI___(3.5%264.0)/firmwave%20lastest_landscape

@Pilson66
Copy link
Author

Pilson66 commented Oct 29, 2019

JZ-TS35. Hardware version is 3.1 with wifi
The same behavior not only on "extrude 10mm" button. It's on any other buttons.

@miblooming
Copy link
Owner

Do you connect the 2PIN power cable for screen? I test it on my screen, It's not that sensitive.

@Pilson66
Copy link
Author

Yes, power cable is connected.

@miblooming
Copy link
Owner

Maybe is a hardware issue! Something wrong with hardware of JZ-TS.

@Pilson66
Copy link
Author

@miblooming I believe that setting a delay of 500ms for "Long Press" will solve this problem. Can this be done?

@miblooming
Copy link
Owner

Current Setting:
delay 100ms for click
delay 300ms for page jump
delay 200ms for long press
It works fine in other hardware.
Maybe there's a hard issue for your touch screen.

@Pilson66
Copy link
Author

Ok, if this is a hardware issue - how can I fix this? Or how do i get a replacement?

@Pilson66
Copy link
Author

Maybe still try to set 500ms for a long press?

@miblooming
Copy link
Owner

miblooming commented Jan 31, 2020 via email

@miblooming
Copy link
Owner

https://drive.google.com/file/d/1KbbFM13ihGjHvvEDIF_gbUr1jAgWB6tE/view?usp=sharing
Setting:
delay 500ms for click
delay 500ms for page jump
delay 500ms for long press

@Pilson66
Copy link
Author

I tried your firmware with delay of 500ms, and the display began to work perfectly, without any false replay. Are you planning to add this fix to the general release? I would not like to ask you to do a personal version for me after each release.
Thanks.

@Pilson66
Copy link
Author

Pilson66 commented Jan 31, 2020

With all 3 timeouts set, a new bug got out - a delay of 500ms for next click (not Long-Press) is also set. For example, I cannot quickly press 1 or more buttons in a menu, or in Gcode terminal. I think, the 500ms delay need only for the Long Press action.
In other cases, the display works fine.
Thanks.

@miblooming
Copy link
Owner

Setting:
delay 100ms for click
delay 300ms for page jump
delay 500ms for long press
replace "UPDATE2.BIN" in "UIEditor_landscape/sys/UPDATE2.BIN"
And build a new firmware for touchscreen
UPDATE2_2020-2-1.zip

@Pilson66
Copy link
Author

Pilson66 commented Feb 1, 2020

The new release is very strange. On some buttons, the Long-Press works as if it has a value of 100ms, while on the other buttont the Long-Press seems to be disabled at all, and the button only works after it is released. Please watch the video how it looks.
If you need any additional tests - please write, I will do them.
https://youtu.be/oHXlUqfWZCs

@miblooming
Copy link
Owner

miblooming commented Feb 1, 2020 via email

@Pilson66
Copy link
Author

Pilson66 commented Feb 1, 2020

I do not understand. Why does half of the buttons in the Gcode menu react only when released, and the other half react as a constantly repeated press?
Imagine that your keyboard on your PC or laptop behaves the same way - some buttons react only on release, while others are repeated few times instead of just one. This behavior is extremely illogical. But where a constant auto-repeat is completely unnecessary - it is present, and only interferes (for example, arrows to move and park the head, as well as the keyboard icon in the Gcode menu).
Please fix this, as this interface behavior is very annoying.
Thanks.

@miblooming
Copy link
Owner

miblooming commented Feb 1, 2020 via email

@miblooming
Copy link
Owner

miblooming commented Feb 1, 2020 via email

@Pilson66
Copy link
Author

Pilson66 commented Feb 1, 2020

Ok, how can I get a replacement? I bought it on taobao in the official store, indicated on the github, paid about 30 usd for a full set for it, and about 10 usd for intermediary services + delivery from China to Ukraine, and as a result I can not use it normally ...

@miblooming
Copy link
Owner

There hardware issue maybe take place on the touch chip, or touch panel.
So I'll send you a new touch chip, and touch panel, if you pay the delivery fee.
Is it ok for you to replace the part by yourself?
We did not go to work unit 2020-2-9, of later, because of plague in China.

@Pilson66
Copy link
Author

Pilson66 commented Feb 2, 2020

Ok, I have no choice anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants