Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global search breaks after using Ctrl+F #7988

Closed
3 tasks done
fenilgmehta opened this issue Apr 13, 2023 · 18 comments
Closed
3 tasks done

Global search breaks after using Ctrl+F #7988

fenilgmehta opened this issue Apr 13, 2023 · 18 comments

Comments

@fenilgmehta
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

Steps to reproduce:

  1. Open any document
  2. Press ctrl+f to perform search in the open document
  3. Press Esc to close the search panel
  4. Press ctrl+p to open global search panel

Expected result

Observed interface
image

Expected interface
image

Screenshot or screen recording presentation

No response

Version environment

- Version: 2.8.2
- Operating System: Fedora 25, KDE

Log file

Not needed as steps for reproducing the bug are given above

More information

No response

@88250 88250 changed the title Global search breaks after using ctrl+f Global search breaks after using Ctrl+F Apr 14, 2023
@88250 88250 changed the title Global search breaks after using Ctrl+F Global search breaks after using Ctrl+F Apr 14, 2023
@88250 88250 added the Bug label Apr 14, 2023
@88250 88250 added this to the 2.8.5 milestone Apr 14, 2023
@Vanessa219 Vanessa219 removed the Bug label Apr 14, 2023
@Vanessa219 Vanessa219 removed their assignment Apr 14, 2023
@Vanessa219 Vanessa219 removed this from the 2.8.5 milestone Apr 14, 2023
@Vanessa219
Copy link
Member

Because of #7745, you must follow this, otherwise keep the last query condition.

image

@choyy
Copy link

choyy commented Apr 19, 2023

不修复一下吗

@Vanessa219
Copy link
Member

@choyy 这个是特性,在使用过命名后才会记录,否则保持上一次的搜索条件。可参看 https://ld246.com/article/1679284103263

@choyy
Copy link

choyy commented Apr 19, 2023

那个也是我提的,是想保持上次搜索的关键字,但并不想保持ctrl f。快捷键的优先级应该比保持搜索条件高吧,上次搜索关键词保留,而ctrl f就是ctrl f,ctrl p就是ctrl p

@Vanessa219
Copy link
Member

Ctrl+F 也属于搜索,ctrl+P 中不想保持的话,可以使用命名查询

@choyy
Copy link

choyy commented Apr 25, 2023

问题是我Ctrl p却仍然保持ctrl f

@choyy
Copy link

choyy commented Apr 25, 2023

我想保持关键词,命名查询做不到

@Vanessa219
Copy link
Member

可以的呦,你按照这个步骤进行

QQ20230427-113240-HD.mp4

@choyy
Copy link

choyy commented Apr 27, 2023

你这是每次都保存“拖动”这个词吧,并不是上一次的关键词

你确定视频里的东西和这个链接里特性一样?

@choyy 这个是特性,在使用过命名后才会记录,否则保持上一次的搜索条件。可参看 https://ld246.com/article/1679284103263

@Vanessa219
Copy link
Member

这个是保持 ctrl+p 的,如果需要保持 ctrl+f 的可以点击一下
image

@choyy
Copy link

choyy commented Apr 27, 2023

用ctrl P搜索关键词“1”,然后搜索完了,下次打开搜索界面时搜索框默认保持关键词“1”;
然后再用ctrl P搜索关键词“2”,然后搜索完了,下次打开搜索界面时搜索框默认保持关键词“2”;
对于这个功能,命名查询做不到,是不是这样??

我想保持关键词,命名查询做不到

@Vanessa219
Copy link
Member

可以的呦,你按照上面我说的打开思源笔记试一下。具体可以看一下这个视频。

QQ20230506-114104-HD.mp4

@choyy
Copy link

choyy commented May 6, 2023

视频里只看到选词搜索的操作,并没有看到用ctrl p打开搜索界面后是否保留关键词

@Vanessa219
Copy link
Member

可以的

@choyy
Copy link

choyy commented May 12, 2023

可否麻烦给个演示,我没找到如何操作

@Vanessa219
Copy link
Member

QQ20230514-105735-HD.mp4

@choyy
Copy link

choyy commented May 14, 2023

这个视频中你只搜索了“新建笔记本”,搜索只会保持这个关键词不会保持其他关键词

@Vanessa219
Copy link
Member

是的,这样就可以保存上一次的搜索了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants