Bug 494467

Summary: Reset Calibration Option
Product: [Applications] systemsettings Reporter: donovan.delaughter
Component: kcm_tabletAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: aleixpol, josh, martyna.kowalska2099, nate
Priority: NOR    
Version: 6.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.1
Sentry Crash Report:

Description donovan.delaughter 2024-10-10 16:35:05 UTC
SUMMARY
There is no way to reset the calibration on the tablet to default. This is important because in the case the tablet calibration is performed incorrectly, it will be impossible to complete the calibration to fix it (as the calibration matrix misses some regions of the screen).

STEPS TO REPRODUCE
1. Start calibrating your tablet
2. Make a mistake when calibrating such that the input is on the wrong side of the screen
3. Your tablet is now in an unusable state with no way to reset it

OBSERVED RESULT
Broken tablet configuration with no way to revert

EXPECTED RESULT
A button to reset calibration to default so I can re-attempt the calibration.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.20
Comment 1 Nate Graham 2024-10-10 19:57:55 UTC
Can't you just re-run the calibration wizard and start over with a new calibration?
Comment 2 donovan.delaughter 2024-10-11 13:54:55 UTC
(In reply to Nate Graham from comment #1)
> Can't you just re-run the calibration wizard and start over with a new
> calibration?

The issue is that when you re-run the calibration wizard, it starts by default with your existing configuration as opposed to a blank one. I was able to actually fix my issue by mashing through the calibration wizard and then using my mouse to click "Calibrate from scratch". The trick was also finding where on my tablet I could hold the pen to make the cursor show on screen.
Comment 3 donovan.delaughter 2024-10-11 14:16:51 UTC
Here is a video link of me demonstrating the issue. Prior to going in, I just double tapped one corner to simulate what a misinput would look like. This configuration is so bad that I actually can't use my fix to restart the calibration from scratch. https://youtu.be/I1VDmtXyD9U
Comment 4 Martyna Kowalska 2024-10-12 10:15:54 UTC
I ran into the same problem, the calibration got so bad that I can't reset it in any way. Does anyone know, as a workaround, if the tool edits some config file I can manually modify to change the calibration? Couldn't find anything in the docs.
Comment 5 Martyna Kowalska 2024-10-12 10:34:07 UTC
(In reply to Martyna Kowalska from comment #4)
> I ran into the same problem, the calibration got so bad that I can't reset
> it in any way. Does anyone know, as a workaround, if the tool edits some
> config file I can manually modify to change the calibration? Couldn't find
> anything in the docs.

As a follow-up, connecting a different tablet at the same time and using it to recalibrate the broken one from scratch somehow worked.
Comment 6 Joshua Goins 2024-10-14 23:17:26 UTC
Fixed this but didn't reference the bug: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2576