Bug 130830 - Writer: Inconsistent language in table cell having multiple languages after applying Currency number format
Summary: Writer: Inconsistent language in table cell having multiple languages after a...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2020-02-21 07:55 UTC by Mike Kaganski
Modified: 2024-02-27 03:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2020-02-21 07:55:36 UTC
1. In a new text document, insert a table
2. Type "123" in cell A1
3. Select "12" and set selection language to en-US; select "3" and set selection language to Russian
4. Put cursor in A1 after the last character (after "3"); see that "Russian" is displayed in status bar
5. Apply Currency number format using "Number Format: Currency" button from Table toolbar

Actual result: the number is displayed "$123.00", *but* the *whole cell* language is now Russian.

Expected: either the currency must follow the language of current cursor position (and in this case, become Rubles), or the cell language must become that which was used to choose the currency (likely the language of the start of the number).

Current behaviour is inconsistent.

Already reproducible with Version: 4.1.0.0.beta2
Build ID: 33224f4f11a05cfad2249e812fcc2975fbb61f6

and still is the case with Version: 7.0.0.0.alpha0+ (x64)
Build ID: bae73c0726e7fdf7f427a8254c9d6d4b4c510daf
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL

Not reproducible with Version 4.0.0.3 (Build ID: 7545bee9c2a0782548772a21bc84a9dcc583b89)
in which it simply doesn't apply the currency formatting to a cell with multiple languages, so I don't know if this qualifies as a regression.
Comment 1 Dieter 2020-02-26 16:50:47 UTC
I confirm it with

Version: 7.0.0.0.alpha0+ (x64)
Build ID: eeb2d19e77d6dc47c68e8ba0920a02cf64a1247b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded

Tested with German instead of Russian
Comment 2 QA Administrators 2022-02-26 03:33:53 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2024-02-27 03:13:25 UTC Comment hidden (obsolete)
Comment 4 Mike Kaganski 2024-02-27 03:59:35 UTC
Repro using Version: 24.2.1.1 (X86_64) / LibreOffice Community
Build ID: 359ef544e625d2ffbfced462ab37bd593ca85fa7
CPU threads: 24; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: ru-RU (en_US); UI: en-US
Calc: CL threaded