Bug 57296 - EDITING: Text selection is not cleared after exiting 'Adding selection' mode
Summary: EDITING: Text selection is not cleared after exiting 'Adding selection' mode
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.3.2 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: Selection
  Show dependency treegraph
 
Reported: 2012-11-19 21:46 UTC by John Smith
Modified: 2019-04-07 18:18 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the text highlighting anchored to the page after the text is moved. (17.81 KB, image/png)
2012-11-19 21:46 UTC, John Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Smith 2012-11-19 21:46:37 UTC
Created attachment 70280 [details]
Screenshot showing the text highlighting anchored to the page after the text is moved.

Problem description: When using the 'Adding selection' mode of text selection (shift+F8),after making selections using the Arrow keys to move around the document,then pressing 'Esc' to return to the 'Standard selection' mode, the text highlighting remains on the page. Moving the text does not move the highlighting with the text

Steps to reproduce:
1. ....Have a paragraph of text, one or more lines.
2. ....Select a word, then press Shift+F8 to change to the 'Adding selection' mode of text selection.
3. ....Use the keyboard Arrow keys to navigate around the text and select further words, Shift+Ctrl+Arrow right for example to select the word to the right of the cursor. Direction is not important. Using the Arrow keys to select is.
4. ....At this point you would normally do something with the text, format it for example. Now press 'Esc' to return to the 'Standard selection' mode of text selection.

Current behavior:Except for the last selected word, the highlighting remains on the page. Putting a couple of blank paragraphs in front of the text moves the text but not the highlighting.
Closing after saving, and then opening again produces a normal result, that is to say, the highlighting is gone.

Expected behavior:All the highlighting should be removed when 'Esc' is pressed.

Platform (if different from the browser): Win XP SP3, Win 7 Home(64bit)
              
Browser: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0
Comment 1 A (Andy) 2013-04-20 09:28:35 UTC
reproducible with LO 4.0.2.2 (Win7 Home, 64bit)

Remark: Everything is fine if you select only single words (without ever using Shift+Ctrl+Arrow).  This problem only occurs if you use Shift+Ctrl+Arrow.  For instance if you select a word and then use Shift+Ctrl+Arrow left or right to select the word to the left/right of the cursor, then I could always reproduce that this section keeps to be selected (even if you delete the whole text!).  But sometimes I could even reproduce it for single selected words (but only after using Shift+Ctrl+Arrow), but where I could not figure out under which reproducible circumstances this happens, but it has something to do with the Shift+Ctrl+Arrow combination.

Note: If you press Shift+F8 you get no system feedback.  To see in which mode you are right now, you have to go to the middle of the toolbar at the bottom of WRITER.  There you have a grey square on which you would have to make a left mouse click.
Comment 2 QA Administrators 2015-03-04 02:24:12 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2015-03-24 17:23:02 UTC
Reproduced.

Win 7 Pro 64-bit, LibO Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: fi_FI
Comment 4 tommy27 2016-04-16 07:29:12 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2017-05-22 13:27:49 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2019-04-07 18:18:26 UTC
Cannot repro anymore with latest master on Win or Linux. The selection is cleared. Closing.