Bug 113813 - EDITING: keep selection after replace
Summary: EDITING: keep selection after replace
Status: RESOLVED DUPLICATE of bug 81442
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.4.3.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-14 01:43 UTC by ailangous
Modified: 2017-11-16 10:53 UTC (History)
3 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 ailangous 2017-11-14 01:43:55 UTC
I select a range of cells, perform a search and replace on the selection. Calc fails to keep my selection active after replacement. I have to select again to perform another replacement.
Excel keeps the selection between successive replace actions making the multiple replace action flow more intuitive.
Comment 1 Mohamed 2017-11-14 07:13:53 UTC
Test results:
   -When performing a one by one “replace”, the selection is kept.
   -When performing  “replace all”, a dialog pops up showing the changed values and the selection was lost but shows only the new replacements. 

Please confirm the information mentioned above and change the status back to UNCONFIRMED if it is the case.

Tested on:
    • Operating system: Windows 8.1 Pro 64-bits.
    • LibreOffice: Version: 5.4.3.2 (x64)
      Build ID: 92a7159f7e4af62137622921e809f8546db437e5
      CPU threads: 4; OS: Windows 6.29; UI render: default; 
      Locale: en-US (en_US); Calc: group

And also on:
    • Operating system: Ubuntu 16.04.3 64-bits.
    • LibreOffice :Version: 5.4.3.2
      Build ID: 92a7159f7e4af62137622921e809f8546db437e5
      CPU threads: 8; OS: Linux 4.4; UI render: default; VCL: gtk2; 
      Locale: en-US (ja_JP.UTF-8); Calc: group
Comment 2 ailangous 2017-11-14 17:08:51 UTC
Confirmed as stated below :


Test results:
   -When performing a one by one “replace”, the selection is kept.
   -When performing  “replace all”, a dialog pops up showing the changed values and the selection was lost but shows only the new replacements.
Comment 3 mrelwood 2017-11-14 19:41:55 UTC
Confirmed on the latest LibreofficeDev 6.0.0.0 alpha1.

I was thinking about suggesting a checkbox "Preserve Selection" in the Find&Replace window, but I couldn't come up with a situation where the current behaviour could be preferred. No need for checkbox.

The cell selection should absolutely be preserved.
Comment 4 Buovjaga 2017-11-16 10:53:12 UTC

*** This bug has been marked as a duplicate of bug 81442 ***