Bug 163244 - Undoing DF of a selection - cancels the selection
Summary: Undoing DF of a selection - cancels the selection
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks: Textbox Selection
  Show dependency treegraph
 
Reported: 2024-10-01 22:19 UTC by Eyal Rozenberg
Modified: 2024-10-22 03:15 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 Eyal Rozenberg 2024-10-01 22:19:25 UTC
Reproduction instructions:

1. Create a new document
2. Create a new text box
3. Type some text into the textbox, e.g. "abcd"
4. Select part of that text, e.g. select the "bc"
5. Press the Bold toolbar button
6. On the menus, choose Edit > Undu; alternatively, hit the Undo shortcut key (Ctrl+Z on Linux)

Expected result:
"bc" has lost the bold weight from step 5.
The cursor is placed after the c.
"bc" IS selected.

Actual result
"bc" has lost the bold weight from step 5.
The cursor is placed after the c.
"bc" IS NOT selected.

Note that if you do this in Writer, but in the main context area (i.e. not in a textbox) - this doesn't happen, and we get the expected result.

Seen with:

Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: threaded