Bug 389181 - Add a proper GUI warning when "Search and Replace" is set to "Replace" "in Open Files" or "in Folder"
Summary: Add a proper GUI warning when "Search and Replace" is set to "Replace" "in Op...
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 17.12.0
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-18 22:27 UTC by CnZhx
Modified: 2022-01-11 17:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CnZhx 2018-01-18 22:27:26 UTC
Is it possible to add a pop-up warning message, which could be set to OFF if the user prefers, when the range is set as a large one, such as "in Open Files" or "in Folder"? When "Search and Replace" is set to search "in Open Files" or "in Folder" once, it sticks to this option to next search even after a long time. If the user overlooked this option because he/she forgot to check and assumed it's "In Current File", disaster could happen easily.

BTW, the use of uppercase of the options is odd. The I in "in" as in "In Current File" is uppercase but lowercase as in "in Open Files" and "in Folder".
Comment 1 Kåre Särs 2018-12-09 09:25:04 UTC
Git commit cec90e834e6de42cb8784cc0ad8a2b69c35f6716 by Kåre Särs, on behalf of loh tar.
Committed on 09/12/2018 at 09:22.
Pushed by sars into branch 'master'.

SearchView: Harmonize text in searchPlaceCombo

Summary:
Now all text starts with uppercase I. Reported as side note in

Test Plan:
Before
{F6462024}
After
{F6462026}

Reviewers: #kate, #vdg, sars, ngraham, dhaumann

Reviewed By: #kate, #vdg, ngraham, dhaumann

Subscribers: abetts, dhaumann, ngraham, kwrite-devel, #kate

Tags: #kate

Differential Revision: https://phabricator.kde.org/D17418

M  +2    -2    addons/search/search.ui

https://commits.kde.org/kate/cec90e834e6de42cb8784cc0ad8a2b69c35f6716
Comment 2 Waqar Ahmed 2022-01-11 17:46:47 UTC
I don't think any amount of warnings will prevent accidents some times. And such a feature could be annoying for users who are intentionally searching in the specified place. If we make it configurable, it will likely never get discovered by users.