Bug 410401

Summary: Ability to make search & replace panel either fully global or fully per-document
Product: [Applications] kate Reporter: Cherkah <cherkaba>
Component: searchAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: cherkaba, nate, waqar.17a
Priority: NOR    
Version First Reported In: 18.08.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Cherkah 2019-07-30 13:54:38 UTC
SUMMARY
when i use "search & replace" panel for a doc, the panel stay open for next doc which will open.

STEPS TO REPRODUCE
1. open the "search & replace" panel for a doc A
2. open an other doc B
3. note that the "search & replace" panel for doc A remain for doc B

OBSERVED RESULT
too much click when switch between doc A & B

EXPECTED RESULT
"search & replace" panel for doc A do not remain for doc B


 Système d'exploitation : Debian GNU/Linux 
Version de KDE Plasma : 5.14.5
Version de Qt : 5.11.3
Version de KDE Frameworks : 5.54.0
Version de noyau : 4.19.0-5-amd64
Type de système d'exploitation : 64-bit



ADDITIONAL INFORMATION

this bug is related to this one: 410400
Comment 1 Cherkah 2019-07-30 13:58:26 UTC
ADDITIONAL INFORMATION

this bug is related to this one: bug 410400
Comment 2 Nate Graham 2019-08-05 03:22:19 UTC
I feel like what's needed here is a setting to choose whether to make the find&replace bar global, or document-specific. When it's document-specific then its open/closed state should be remembered on a per-document basis, as is requested here. When it's global, then not only should it stay open or closed across all documents, but its search history and current search term should be global as well, rather than per-document.
Comment 3 Cherkah 2019-08-05 07:04:24 UTC
(In reply to Nate Graham from comment #2)
> I feel like what's needed here is a setting to choose whether to make the
> find&replace bar global, or document-specific. When it's document-specific
> then its open/closed state should be remembered on a per-document basis, as
> is requested here. When it's global, then not only should it stay open or
> closed across all documents, but its search history and current search term
> should be global as well, rather than per-document.

yeah it'will be a good solution to get a setting
Comment 4 Waqar Ahmed 2022-01-10 10:46:09 UTC
The "Search and Replace" bottom panel is global and the behaviour that it remains open when you switch documents is intended. If you want to close it, pressing Esc key or Clicking on the panel button at the bottom will do that.

The document search (which you can open with Ctrl + F) closes as soon as you switch tabs / views.