Bug 141738 - SELECTION: It's not visible, that blank space before the word is also selected, if you double-click a word
Summary: SELECTION: It's not visible, that blank space before the word is also selecte...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 135874 (view as bug list)
Depends on:
Blocks: Selection
  Show dependency treegraph
 
Reported: 2021-04-18 08:24 UTC by Telesto
Modified: 2024-11-06 10:31 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (8.57 KB, application/vnd.oasis.opendocument.text)
2021-04-18 08:25 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-04-18 08:24:56 UTC
Description:
Drag right & undo repeat drag with existing selection delivers different result

Steps to Reproduce:
1. Open the attached file
2. Double left click 'Like'
3. Drag it after "Lightning" -> Fine
4. Undo
5. Drag it again (without re-applying the selection)


Actual Results:
In second run Yellow part is no included

Expected Results:
Selection shouldn't change


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a809b2ab2553e946431699d9d7ac3f6209cbdd6b
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 2021-04-18 08:25:10 UTC
Created attachment 171265 [details]
Example file
Comment 2 Telesto 2021-04-18 08:26:04 UTC
And in
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 3 Dieter 2021-05-04 06:54:10 UTC
I confirm it with

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 15a9bee9ef26ce13ed1e26319306a88b6d886158
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

The following is happening
In step 3 you drag also the blank space before the word, although it doesn't seem to be selected (same result, if you copy or cut and paste) => bug
After undo blank space is selected => expected result
Result after step five is also expected

So simpler steps to reproduce
1. open a new document and write "one two three" in a line
2. Double click "two" (only the word seems to be selected) and drag it behind "three" => blank space is also dragged
3. Undo => blank space is incuded into selection

=> I changed bug summary and hope you agree.

Telesto, since you report a lot of bugs: Please try to figure out what really happens. This would reduce the work for all people who try to reproduce your reports.
Comment 4 Dieter 2021-10-01 12:46:12 UTC
*** Bug 135874 has been marked as a duplicate of this bug. ***