+7
Declined

Please stay focused on the note when press ESC in the tag view

liruicn 8 ár síðan updated by Christof Deininger 4 ár síðan 25
Please stay focused on the note when press ESC in the tag view.

Select a tag, several notes are listed in the right. Select one, then press ESC(I want to read the context of it), but the note lost focus. It switch to the first note of all notes.
Please fix this.
As a comparison, when I search something, select one of the result notes, then press ESC, the note will STILL be focused. So I can read the context of it.
viewing notes-list main-window complexity:easy

Answer

Answer
Declined
Closed due to inability to collect 10 votes for more than 2 years.
+2
I agree it is irritating to have different reactions from the gui on similar topics. I am not sure though what is the best solution. For example: Search for a tag and press ctrl+enter. Now press ESC again without having selected a specific note using the arrow keys. Should the first note of the last search become activated? This is what actually happens when searching for a regular term (not a tag). This can be confusing too. What to do best? Not Sure, but i agree the behaviour should be unified! You have my vote.
I also agree that unification is needed.
I suggest that the position should be reset if the focus didn't leave the search box, and preserved otherwise. But I guess this won't fit the bill for liruicn.
Would be fine with me :)
I use CN for event logging. When I filter the notes by tags and get the result, sometimes I also want to know what happened right before and after the focused one. That is what I mean about "context".
But in the current version, for this purpose, I must double click the note, copy some text from the focused note, then select "all", then search for the text, then select the note for the second time, then ESC for the second time.
Or, simply remember the title and scroll for it in all notes view.
It's so......
Is there any cleverer way?
+1
How about introducing Shift+ESC to reset the tags filter while keeping the current focus?
That would be great.
I don't understand the need for this. You also suggested "I suggest that the position should be reset if the focus didn't leave the search box, and preserved otherwise.", which i think is a good idea. What is the difference for introducing Shift+Esc?
This would be useful if you've picked the tag from the sidebar, as opposed to entering it in the search box.
It also allows for unification: it can be made so that ESC will always reset the focus, while Shift+ESC would always try to keep the last focus.
Sorry. Still don't get it. What is the difference of clickling a tag in the sidebar as to entering it in the searchbox? Why have an extra key, when the application is able to stay focused as suggested "leaving the searchbox"?
When you click a tag on the sidebar, focus doesn't leave the notes list.
Ok, i understand. I suggest something other than Shift+Esc though. When a note was edited (open and closed in the note editor) that last note should be kept focused when pressing ESC. That way we do not need to invent new keys, nor new functionality. We change existing functionality a little. Rather than always jumping to the top of the list, we stay on the last note. Much simpler, don't you think? When you really want to jump to the top of the list you press "arrow-down" and "Home" from the search-box.
I find the idea interesting, although a bit nonintuitive. I'm afraid people won't easily understand the logic behind this behavior (they may already forget that they've opened a note).
I have one more suggestion:
1) Always keep the focus on the last note on ESC
2) Use plain Backspace as a shortcut for "All"
What do you think?
Fine. Though Backspace is just another shortcut for Home, isn't it?
If you are referring to the Home key, not quite. The Home key doesn't reset the tag and text search filters, it just puts the focus to the top of the list.
Right now, after closing a note, we have different behaviour for similar actions:
  1. search for a term, select a note, open and close the note. First ESC will clear the search box. Second ESC will close the main window.
  2. Don't search a term, just scroll to a note directly, open and close the note. First ESC will close the main window immediately.
  3. Select a tag, select a note, open and close the note. First ESC will clear the search box. Second ESC will close the main window.
  4. Select a tag, search a term, select a note, open and close the note. Now you have three ESC's to first clear the search filter, second clear the tag and third close the main window.
Pressing any character will clear the search filter implicitly. Introducing a shortcut to clear the search filter is not a must. Thus the main benefit of backspace is the explicit clearing of a tag filter, right? However, to not confuse users, the backspace key should reset tag and search filters together. Also backspace should focus the top of the search list as a mean of resetting all together.

Possible Changes:
  1. The behaviour of the ESC key should be changed, to always leaves focus on the last edited note.
  2. The backspace-key will be introduced with three actions included, a) clear the search filter, (b) clear any tags and (c) jump to the top of the search list. Thus backspace is a global reset function.


Summary:


With those changes the user has more control over the GUI. While ESC does things step by step, BACKSPACE allows to easily and directly reset. Also with the existing Alt+X key the main window can be closed any time.

This is all very convincing, but frankly I'm still not 100% sure about the BkSp key.. if forward-backward navigation is implemented (and I intend to implement it eventually because I think this is a very organic feature), we will desperately need BkSp for "Back". Any ideas here?
If it helps, all browsers use ALT + left/right arrows for back/forward
All browsers also support BkSp and Shift+BkSp for backward and forward, and I think CN should support all common browser shortcuts for navigation. So we need to find something else for resetting the filters.
Since Ctrl+BkSp does select all notes with similar tags, Alt+BkSp could do the reverse. Well, not really, but Alt+BkSp could be used to clear all filters. The key is not yet used.
Alt+BkSp is generally reserved as a doppelganger of Ctrl+Z. As soon as Undo is implemented, Alt+BkSp will be used for undo, as well as Ctrl+Z of course.
Fine, but the keys are used inside the editor window only, right? It shouldn't be a problem in the search list, right?
To delete a note in the notes list, the shortcut could be changed to Ctrl+Del. This would also unify to deleting a note inside the note editor. The 'del' key could then be used to clear all search filters.
Returning to this issue: no, the keys will be used in the notes list as well. About using Ctrl+Del for deleting notes - I don't think that's particularly user friendly. We need to think of something else) 
Answer
Declined
Closed due to inability to collect 10 votes for more than 2 years.