Writing in cursive is IMPOSSIBLE: stylus lag, broken lines

I did my due diligence, and the code seems fine. Nothing sketchy going on, and I trust you enough since you’re reaching out here. It’s my secondary computer, and I’m so boring there’re is nothing you’d gain from hacking me anyways :sweat_smile:

I’ll get to it tomorrow, after work.

2 Likes

I am also experiencing this behavior with stylus input and Framework Control. The issue is much less annoying for me as I am really only using stylus input to help me remove dust and aberrations from photo film scans, although it makes removing long scratches or complex shapes a little more challenging.

I am willing to help debug the issue as well, Framework Control is an incredibly useful tool and I want to help make it better.

I ran your script after looking it over, and performed the tests as instructed. None of the test scripts resulted in any skipping. I’m attaching a .jpg of the “writing” I was doing while performing the tests. The purple lines are each of the tests performed while running the script with FrameworkControlService stopped, The red line is what the behavior looks like when FrameworkControlService is running.

FW12 i5, using the official Framework stylus on Windows 11 25H2

1 Like

This is exactly the kind of debugging I needed! Thank you. I don’t usually have time on weekdays, but if I can, I’ll try to look at this on the weekend and try to come up with a v2 script to test more commands.

It’s good that these commands themselves are not breaking it. What @James3 said also sounds super important. Maybe it’s the number of events we’re sending to the EC. If that’s the case and we can prove it by tweaking the debug script to be more aggressive on the EC and reproduce the skipping issue, I can tweak the app to be more conservative with the EC calls.

@Ben_Bellamacina for the skipping case, do you also get about one time every 5 seconds when the service is running? Watching @Angelo_Lipari’s video I realized it was consistently at each 5 second mark. I’m wondering if the interval here can give us a clue.

1 Like

Happy to help! Let me know when you have another script to test. :slight_smile:

I wasn’t paying attention to the interval of the skips when I performed the test, but I just went back and filmed myself drawing another line to measure the time between skips, and it does indeed skip every 5 seconds.

Some strange behavior regarding this though: the interval of skipping and the length of time I draw for don’t align, sometimes it will skip 1 second into a line, then skip again after 5 more seconds rather than after I draw a line for 5 seconds.

I also played around with the polling intervals for sensors and fan control within Framework Control, setting them both to 5000ms or 200ms did nothing to alter the frequency the skipping.

All of this seems to indicate that the event that causes skipping happens every 5 seconds, regardless of if the stylus is in use at the time

I also have this issue and it is very annoying. Great debug script :slight_smile: