+9
Voltooid

ESC to reset tag- and search-text-filter in a single step

Thomas Lohrum 13 jaar geleden bijgewerkt door Alex Jenter 11 jaar geleden 20
ESC should reset any tag filters or/and search-text filters in a single step. The current multi-step reset has the disadvantage, that the user must be aware, on how many times he/she must press ESC to clear the filter, without exiting Cintanotes accidently.

[Original Post as of September 2012 "Shortcut to reset all filters"]
Add the ability to clear all filters with a single shortcut. Tag filters and text in the search-field should be cleared. The focus in the notes list should reset too and position on top of the list. I suggest to use the "del" key for simplicity. The key is used to delete a note in the notes list though. Thus to delete a note in the notes list Ctrl+Delete should be used. This would be consistent with deleting a note in the notes editor too.
notes-list searching complexity:easy

Antwoord

Antwoord
Voltooid
Released in version 2.3:


filters.reset.onescape.multistep
Controls whether filter reset happens sequentially or at once. When enabled, the text filter is reset on the first ESC press, the tags filter is reset on the second press. This parameter is only used if filters.reset.onescape.enabled = 1. Default value: 1 (enabled).

This is similar to my request suggestion 1.
So we should merge them and add the votes ;-)
Similar in what the result should be. I summarized the results of the discussion of two of your posts and combined them to a clear request on how to get there :) I think so far this was a success for the discussion (voting) here is less controversial.
Yes - for me your suggestion is sufficient and clear. So my request could be merged. My concern is to split all the up votes to those similar requests.

Another point is, that I would prefer the ESC key to reset all filters. I don't need the current mulit step reset because if I want to start a new search, I want to start from scratch. I also understand that others may have other preferences so this could be an option.

But this is no real problem - we just have to wait for this request which is alread planned:
http://roadmap.cintanotes.com/topic/3800-fully-configurable-keyboard-shortcuts/
ChrisCN wrote: "Another point is, that I would prefer the ESC key to reset all filters. I don't need the current mulit step reset because if I want to start a new search, I want to start from scratch"
I too dislike the multi-step reset. I never know how many times i'll have to press the ESC-key to either reset the filter or exit the main window. I too want to start search from scratch. That is why i made this request. Imo using the DEL-key gives the advantage, that someday in the future the ESC-key can be changed to directly close the main window with just a single click.

I realize, what really annoys me, is the double reset. When there is a tag filter and a search text filter, the first ESC will clear the search box, the second ESC will clear the tag filter. What i think might be much more convenient is: ESC should always reset both filters, that is tag+search filter. If i want to keep the tag filter, but want to edit/clear the search value i can use the TAB key to set the focus to the search box. Changing the ESC key to always clear all filters, would match with the following request to reset all filters using a double click on "All". http://roadmap.cintanotes.com/topic/142600-double-click-on-all-in-sidebar-should-reset-search-box/#comment_169559

Thomas, I agree that ESC is better than DEL. I think it would be better to edit the idea's text to reflect this.


Alex, i have rewritten my request, so it reflects and summarizes the current status of the discussion. Actually this resulted in an almost perfect duplicate to Chris' suggestion here: http://roadmap.cintanotes.com/topic/83591-shortcut-to-clear-tag-selection-or-an-option-to-do-it-automatically-on-search/  Maybe the two should be combined, which would also give them more than 10 votes.


When reading Chris' post i see there might be some confusion about his request and his post got many down-votes. Maybe we should keep them separated, because the request here now clearly describes what the request is.


Ok I agree. Thanks for rewriting the request!


As this request fully satisfies my needs, we can cancel my old request and focus on this one.


sorry Thomas, I voted negative .


because  to use "Delete" for resetting is radical idea.

... and in my opinion several Escape is easy shortcut.

Kazak, did you read my latest post? Rather than using DEL it suggests to reset tag+search-filter by simply pressing ESC only once. This way the behaviour of the ESC key would be predictable. Also the del key will not be needed anymore. The behaviour suggested shall be used, when the focus is on the notes list.


ok Thomas,  now I catch it:

ESCAPE resetting all in one press, both tags and search box.


This behavior of ESCAPE should be customizable, because some user don't like it. I'm also want to try it before deciding.


( I changed my vote to positive )

then how about, BACKSPACE should delete search symbols, even if focus on NotesList ?

Hi Kazak, happy to see you changed your vote to positive :) The backspace key is reserved, because it will be used in the future to support browser like navigation; see here http://roadmap.cintanotes.com/topic/23145-forwardbackward-navigation-filter-history/

Can you explain, what you mean be "search symbols", please?

... letters in search-box .. Try to press BACKSPACE when focus on NoteList, it doesn't start delete search-word...

Ok, understood. It's interesting, but i think it is to much. If BACKSPACE allows editing of the search text, then DEL should also edit? What about arrow-right/left? All those keys are used already. Tip: If you want to move the focus to the search-text you can use the TAB key.


With v2.1.1 we have Shift+Esc to minimize the main window while keeping an existing filter and we can deactivate "Minimize on Esc" using a menu option. What is actually left to a clean interface (imo) is an option to reset a tag and a search-text-filter in one step as here requested.


This would give us:

Esc                  reset all filters

Shift+Esc         minimize main window and keep filters

But which key should we use for resetting filters? I'm strongly against using Del for this.

I suggest Shift+BkSp or Alt+BkSp.

We could also use Ctrl+BkSp, and move "select current note's tags" function to another key.

I had a deeper look on the Backspace usage and actually came up with a table of it. Also i defined the requirement to have one keyboard-shortcut only for use in search-bar and notes-list. Backspace, Ctrl+Backspace and Alt+Backspace are standard for the search-bar's edit control. Shift+Backspace could be used, as it is free to use in all regards. However, this key feels strange to use. Though Alt+Backspace is a standard i suggest to use it as the new common shortcut to reset all filters, regardless whether the search-bar or the notes-list has the focus. Ctrl+Z can be used as an alternative to undo changes in the edit control. Alt+Backspace will not be changed for the editor, in which it is used to undo. I know there are considerations to use the key for navigating browser like history. However i suggest to use Alt+Left/Right instead. The both are also standard for navigating in browser and they are not yet used in CintaNotes. As a final remark, in case these changes will be implemented, it would be awesome to use ESC to exit Cintanotes immediately. That is same action as Alt+F4 or Shift+Esc.


Voltooid
Released in version 2.3:

filters.reset.onescape.multistepControls whether filter reset happens sequentially or at once. When enabled, the text filter is reset on the first ESC press, the tags filter is reset on the second press. This parameter is only used if filters.reset.onescape.enabled = 1. Default value: 1 (enabled).
Antwoord
Voltooid
Released in version 2.3:


filters.reset.onescape.multistep
Controls whether filter reset happens sequentially or at once. When enabled, the text filter is reset on the first ESC press, the tags filter is reset on the second press. This parameter is only used if filters.reset.onescape.enabled = 1. Default value: 1 (enabled).