Bug 426564

Summary: Allow for localization to be disabled when filling out form fields
Product: [Applications] okular Reporter: odzinic
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: aacid
Priority: NOR    
Version First Reported In: 1.11.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description odzinic 2020-09-15 14:29:01 UTC
SUMMARY
When typing in values for some form fields, the typed in values get changed around based off the system's localization. For example, trying to put in the date "2020" gets formatted to "2,020" automatically with the Canadian English localization.

STEPS TO REPRODUCE
1. Set system localization to Canadian English
2. Type a date or phone number like 2020 into form fields that accept numbers.

OBSERVED RESULT
The typed in value gets auto-formatted as a regular number. In this example, 2020 becomes 2,020.

EXPECTED RESULT
Okular ignores localization and the year can remain as 2020.

Operating System: Manjaro Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.8.6-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 1080 Ti/PCIe/SSE2
Comment 1 Albert Astals Cid 2020-09-15 19:02:20 UTC
No, that is not an option we will allow. Things need to just work.

If it doesn't work, it needs to work, open a new bug and attach the problematic file.