Bug 140670 - Incorrect decimal separator character entered using NumPad
Summary: Incorrect decimal separator character entered using NumPad
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-25 17:41 UTC by joshas
Modified: 2021-03-25 11:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Locale settings (93.09 KB, image/png)
2021-02-25 17:42 UTC, joshas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joshas 2021-02-25 17:41:24 UTC
Description:
In Options -> Language Settings -> Languages "Decimal Separator key" is selected to be same as locale (,) - comma.
But pressing "dot" on NumPad produces "." (dot/period) character, not comma.
Everything worked correctly on earlier versions of LibreOffice Calc, currently tested on older computer with 7.0.1.2 installed - it writes correct decimal separator, comma.

Steps to Reproduce:
1. Focus any cell
2. Turn on NumLock
3. Press "dot" (Del) on Num Pad

Actual Results:
Character "." (dot/period) appears.

Expected Results:
Character "," (comma) should appear as per selected Locale settings.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: lt-LT (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 joshas 2021-02-25 17:42:11 UTC
Created attachment 170060 [details]
Locale settings
Comment 2 ylosser 2021-03-06 22:42:40 UTC
Same here.
In addition, the AutoCorrect tool does not work in Writer.

Maybe something related to the VCL UI.
I tried this: 'export SAL_USE_VCLPLUGIN=qt5' in ~/.profile
(found here https://bbs.archlinux.org/viewtopic.php?id=263898)

Now both the correct decimal separator in Calc and AutoCorrect in Writer work.

I hope this will be only a temporary workaround because using qt5 UI for LO in XFCE DE is not so nice...

Additional Info:
Version: 7.1.1.2
OS: Archlinux (Linux 5.11); UI render: default; VCL: gtk3 by default, workaround = qt5
Locale: fr_FR.UTF-8; UI: fr-FR
Comment 3 ylosser 2021-03-13 08:34:55 UTC
Finally solved for me after the last update of my system (Arch). LO version unchanged, but gtk3 upgraded.
Comment 4 joshas 2021-03-25 11:08:06 UTC
Issue fixed in 7.0.5.2, on Fedora 33.