Bug 102313 - Keyboard customization partially fails on first attempt
Summary: Keyboard customization partially fails on first attempt
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shortcuts-Accelerators
  Show dependency treegraph
 
Reported: 2016-09-20 17:17 UTC by Gil Shwartz
Modified: 2023-10-10 07:04 UTC (History)
2 users (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 Gil Shwartz 2016-09-20 17:17:12 UTC
When trying to override the default keyboard configuration of the left and right (arrows) shortcut keys, the first override sequence partially fails, i.e. not all modifications are saved. This is also true when loading a keyboard configuration from a file. I am not sure if this is unique to the left and right arrow key or any two shortcut keys (previously defined or not).

Here are the steps to reproduce:

1. Start a fresh LO.
2. Type some text and verify that the left and right key function correctly and according to the default configuration.
3. Select Tools > Customize > Keyboard tab.
4. Save the default keyboard configuration to a new file.

5. Select Navigate in Category.
6. Select Goto Right in Function.
7. Select Left in Shortcut Key.
8. Click Modify.
9. Select To Character Left in Function.
10. Select Right in Shortcut Key.
11. Click Modify.
12. Click OK.
13. Type some text and try to navigate with the left and right keys - the cursor moves only left.

14. Repeat steps 2-6.
15. Click OK.
16. Navigate with the left and right keys - while intentionally opposite, the keys function correctly.

17. Select Tools > Customize > Keyboard tab.
18. Save the modified keyboard configuration to a new file.
19. Load the default keyboard configuration from the saved file.
20. Click OK.
21. Verify that the left and right key function correctly and according to the default configuration.

22. Select Tools > Customize > Keyboard tab.
23. Load the modified keyboard configuration from the saved file.
20. Click OK.
24. Navigate with the left and right keys - the same problem as in step 13 reappears.
Comment 1 Gil Shwartz 2016-09-20 17:20:18 UTC
Sorry. In the steps to reproduce, step 14 should be:

14a. Select Tools > Customize > Keyboard tab.
14b. Repeat steps 5-8.
Comment 2 Buovjaga 2016-10-11 17:35:52 UTC
Btw. what is the intended purpose when you try to switch left and right arrows?
Comment 3 Aron Budea 2016-10-11 21:33:18 UTC
In the meantime I can confirm the behavior with v5.2.2.2 / Windows 7.
Strange that the exchanged shortcuts don't work on first try, but work on second try.
Comment 4 Aron Budea 2016-10-11 21:35:02 UTC
By try, I mean customization attempt.
Comment 5 Gil Shwartz 2016-10-12 00:08:58 UTC
(In reply to Buovjaga from comment #2)
> Btw. what is the intended purpose when you try to switch left and right
> arrows?

The original intent was to work around a regression bug in 5.2 involving keyboard navigation in RTL text. There is an open bug on this issue and the code change causing this regression is expected to be reversed in 5.2.3.
Comment 6 QA Administrators 2017-10-23 14:00:58 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2019-12-03 13:52:56 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2021-12-03 04:21:09 UTC Comment hidden (obsolete)
Comment 9 MW 2023-10-10 07:04:57 UTC
COULD NOT REPRODUCE 

Steps:

1. Verified directional input was at default settings.

2. Left changed to "Go Right", right changed to "Go Character Left". 

3. Started new document after customizing keyboard navigational keys and saving 
   configuration. 

3. Switched between default configuration and modified configuration.

Results:

Navigational keys complied with the applied key bindings.  


Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded