Bug 137560 - Blue Text selection becoming permanent under certain conditions (needs file reload to remove)
Summary: Blue Text selection becoming permanent under certain conditions (needs file r...
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 minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Selection
  Show dependency treegraph
 
Reported: 2020-10-17 17:44 UTC by Telesto
Modified: 2022-02-15 12:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Example file (9.77 KB, application/vnd.oasis.opendocument.text)
2020-10-17 17:44 UTC, Telesto
Details
Screencast (278.31 KB, image/gif)
2020-10-17 17:44 UTC, Telesto
Details
Example file (8.24 KB, application/vnd.oasis.opendocument.text)
2020-10-17 17:50 UTC, Telesto
Details
Screencast (204.81 KB, image/gif)
2020-10-17 17:50 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-10-17 17:44:14 UTC
Description:
Blue Text selection becoming permanent under certain conditions (needs file reload to remove)

Steps to Reproduce:
1. Open the attached file
2. Look at the screencast (sorry no specific steps, yet)

Appears when pasting next to present text and undo. You can see a selection within the selection

Actual Results:
Blue selection present

Expected Results:
Not so


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 94e6e140491de31c0788c91af855a75a3bb12709
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-10-17 17:44:28 UTC
Created attachment 166463 [details]
Example file
Comment 2 Telesto 2020-10-17 17:44:45 UTC
Created attachment 166464 [details]
Screencast
Comment 3 Telesto 2020-10-17 17:50:12 UTC
Created attachment 166465 [details]
Example file
Comment 4 Telesto 2020-10-17 17:50:26 UTC
Created attachment 166466 [details]
Screencast
Comment 5 Telesto 2020-10-17 17:52:20 UTC
1. Open the attached file
2. Double click: adipiscing
3. CTRL+X -> Space eating here.. 
4. CTRL+V -> Paste next to text (see 3)
5. CTRL+Z
6. CTRL+Z -> Notice the 'blue line' within the blue selection
7. CTRL+Arrow -> Now the selection is stuck
Comment 6 Telesto 2020-10-17 17:53:21 UTC
Also in
Version: 6.3.0.0.alpha0+
Build ID: da881f38c088c439f034e340bbbb4ca53e67389f
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 7 Telesto 2020-10-17 17:54:49 UTC
Also in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 8 Telesto 2020-10-17 17:57:32 UTC
Also in
4.4.7.2

and in
Versie: 4.1.0.4 
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28

not in
3.5.7.2
Comment 9 Telesto 2020-10-17 19:43:49 UTC
@Michael Stahl
Sorry to bother, not really understanding what's happening here. However more gets removed compared to expected.. and this has been the case at least since 3.3.0. Or I missing something here

1. Open the attached file
2. Double click: adipiscing
3. CTRL+X -> Also the space on the left of adipiscing disappears. And isn't included in the clipboard, as it doesn't paste.
4. CTRL+V
Comment 10 Dieter 2021-04-29 06:18:17 UTC
(In reply to Telesto from comment #5)
> 1. Open the attached file
> 2. Double click: adipiscing
> 3. CTRL+X -> Space eating here.. 
> 4. CTRL+V -> Paste next to text (see 3)
> 5. CTRL+Z
> 6. CTRL+Z -> Notice the 'blue line' within the blue selection
> 7. CTRL+Arrow -> Now the selection is stuck

I confirm it with

Version: 7.1.3.1 (x64) / LibreOffice Community
Build ID: fa76d07d7006a0e2866c3247cef2d5eb55ae8369
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Selection left from the blue line remains after step 7. For me it's a rare usecase, because I would expect, that most people only press the arrow without CTRL (that works)

Additional information: I can't confirm the problem mentioned in comment 9
Comment 11 Telesto 2022-02-15 12:33:00 UTC
Alternative
1. Open attachment 178254 [details]
2. Select the yellow highlighted text
3. CTRL+X
4. CTRL+Z
5. SHIFT ARROW LEFT 2x
6. CTRL+X
Comment 12 Telesto 2022-02-15 12:41:47 UTC
Variant
1. Open attachment 178254 [details]
2. Select a 4 words with CTRL+Click 
3. CTRL+B
4. CTRL+Z
5. CTRL+ARROW RIGHT
6. Deselect.. notice 3 words still being highlighted