[Libreoffice-ux-advise] [Bug 154831] Replace string is empty

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 18 18:38:39 UTC 2023


https://bugs.documentfoundation.org/show_bug.cgi?id=154831

--- Comment #5 from Eyal Rozenberg <eyalroz1 at gmx.com> ---
Points in favor:

* I find benefit in having the same replace-string again (see below).
* All sorts of other apps have this, e.g. CLion IDE, gedit, Geany IDE
* It's annoying to re-select the replace term in calc

Points against:

* It's easy to re-select the search term if you're actively using the mouse
* It not difficult to re-select the replace term in Writer
* Some apps don't have this feature e.g. Thunderbird
* User might accidentally replace with a term they did not intend to use

(In reply to Heiko Tietze from comment #3)
> I wonder what workflow requires to repeat search / replace operations.

Oh, come on, that's obvious!

1. You replace "somethingfoo" with "anotherfoo"; then you want to replace
"somethingbar" with "anotherbar". So you start with "anotherbar" and edit just
the suffix.
2. You replace some complex regexp with another complex pattern using matched
subexpressions. But then you notice that first search pattern only captures
some of the cases, so you modify it, while still replacing with the exact same
pattern
3. You're replacing with a term like "N/A" or "0"; and there are multiple kinds
of things you want to "reset to default" that way.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list