Bug Hunting Session
Bug 125981 - The "Default" button for quotes in AutoCorrect options doesn't reset the display of replacement
Summary: The "Default" button for quotes in AutoCorrect options doesn't reset the disp...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.4.2 release
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2019-06-18 09:17 UTC by Ming Hua
Modified: 2019-06-28 14:01 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 Ming Hua 2019-06-18 09:17:38 UTC
Description:
In Tools -> AutoCorrect Options -> Localized Options tab, the user can change the replacement of ASCII single quotes (') and double quotes (").  Click the buttons with the respective symbols, and a character selection dialog will pop out, the user can then choose the character he/she want to replace the ASCII character with.  So far so good.

After playing with such settings, if the user doesn't want them and just want the default setting back for his/her locale, there are two helpful buttons labelled "Default" under them.  Clicking these buttons will indeed set the replacement back (one can check by clicking the buttons above again), however, the *display* of the replacement after the buttons with quotes are not reset to "Default" as before.  Instead, it seems to display the previous choice of the start quote for both buttons.

Steps to Reproduce:
1. Tools -> AutoCorrect Options -> Localized Options tab.
2. Click on the button with ' under Single Quotes -> Start quote.
3. Choose any character other than the default, say, Dagger (U+2020).
4. Now the display to the right of the buttons changes from "Default" to "† (U+2020)".
5. Click on the button labelled "Default" at the bottom.

Actual Results:
Both display to the right of the ' buttons show "† (U+2020)".

Expected Results:
Both display should be "Default".


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.2.4.2 (x64)
Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU threads: 2; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: zh-CN (zh_CN); UI-Language: en-US
Calc: threaded

A side note:  I also find the UI here a bit counter-intuitive.  If we are changing the replacement character, shouldn't the replacement be labelled on the button, instead of the character to be replaced (' and ")?
Comment 1 Durgapriyanka 2019-06-20 15:29:24 UTC
Thank you for reporting the bug. I can confirm the bug present in

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

But, cannot reproduce in 

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

It works exactly as expected
Comment 2 Xisco Faulí 2019-06-28 14:01:48 UTC
Adding regression keyword based on comment 1