Bug 2215739 - Decimal separator on keypad doesn't respect regional formatting under Wayland
Summary: Decimal separator on keypad doesn't respect regional formatting under Wayland
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: plasma-desktop
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: KDE SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F39FinalBlocker, FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2023-06-18 07:28 UTC by Mattia Verga
Modified: 2023-08-16 08:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 449706 0 NOR UNCONFIRMED Keypad decimal separator should respect regional formatting 2023-06-18 07:28:35 UTC

Description Mattia Verga 2023-06-18 07:28:04 UTC
When entering decimal numbers using keyboard keypad, the decimal separator key is always entered as '.' (dot) even when regional settings are set to use decimal separator to ',' (comma).

This happens on several languages like Italian, German, etc.

This only happens when using a Wayland desktop session. Using the same settings (plasma regional settings, keyboard map) running in a X11 desktop session works as expected.

I've tested the bad behavior on different packages like Libreoffice Calc (GTK), Calligra (QT) and even in the test input field under plasma system settings -> input devices -> keyboard.

I suppose the bug has been present since the switch from X11 to Wayland as I originally reported upstream more than one year ago: https://bugs.kde.org/show_bug.cgi?id=449706
Not sure I chose the right component, though.

See also LibreOffice discussion on bug report https://bugs.documentfoundation.org/show_bug.cgi?id=143540

Reproducible: Always

Steps to Reproduce:
1. Set regional settings o a language like Italian or German (using ',' as decimal separator)
2. Logout/login to apply regional settings. Use a Wayland desktop session.
3. open a spreadsheet app like LO Calc or Calligra and try to enter a decimal number using keypad
Actual Results:  
The number is entered as '12.34' which is recognized as text because of the '.'

Expected Results:  
The number is entered as '12,34' which is recognized as number because uses the right decimal separator

Comment 1 Fedora Blocker Bugs Application 2023-06-18 07:32:17 UTC
Proposed as a Blocker for 39-final by Fedora user mattia using the blocker tracking app because:

 Breaks expected functionality in several packages by entering numbers in the wrong format (spreadsheets recognize numbers as text instead of decimal numbers)

Comment 2 Fedora Release Engineering 2023-08-16 08:11:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


Note You need to log in before you can comment on or make changes to this bug.