Bug 495300

Summary: Aborting Callibration results in broken config file (.config/kcminputrc) - redoing callibration is not working
Product: [Applications] systemsettings Reporter: fabi.voggi
Component: kcm_tabletAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, josh, nate, nicolas.fella
Priority: NOR    
Version First Reported In: 6.2.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.2.2
Sentry Crash Report:

Description fabi.voggi 2024-10-24 12:33:37 UTC
SUMMARY

Aborting Callibration results in broken config file (.config/kcminputrc) - redoing callibration is not working

STEPS TO REPRODUCE
1.  start callibration from within settings
2. press first callibration point
3. press second callibration point
4. press abort



OBSERVED RESULT

now stylus not working correctly anymore and redoing callibration also not working anymore

EXPECTED RESULT

stylus working as before as abort should not change config

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.3-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10610U CPU @ 1.80GHz
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics


Additional info:

kcminput before callibration (working)

[Libinput][1386][21035][Wacom Pen and multitouch sensor Pen]
CalibrationMatrix=1,0,0,0,1,0,0,0,1
OutputArea=0,0,1,1
OutputName=


after aborted callibration
[Libinput][1386][21035][Wacom Pen and multitouch sensor Pen]
CalibrationMatrix=0.9968154430389404,5.238689482212067e-10,1.6579331630446267e-14,0,-2.1981351375579834,-1.4901161193847656e-07,-1.953729279052796e-12,0,0,0,1,0,0,0,0,1
OutputArea=0,0,1,1
OutputName=


PS: was not sure which version is meant so i selected unspecified
Comment 1 Nate Graham 2024-10-28 04:09:17 UTC
In 6.2.2, you can fix this by clicking the "Defaults" button to reset the calibration and try again.