Note focus issue

User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Note focus issue

Postby usbpoweredfridge » Mon Sep 05, 2016 12:17 pm

I'm not entirely sure what triggers this, but I can at least do it consistently on my PC. I have a DB with a number of sections. In each section, I ensure the top note in the notes list is the one selected, so that when I click on each section, CN starts at the very top of the list each time.

1. I hit Ctrl+Shift+Space, and type a tag name in. Once the tag matches, I hit Enter (search field is set to all text). This reduces the matches to only that specific tag.

2. I have 'only related tags' enabled, so the tag list gets filtered as well when I hit Enter. I select a tag from the tags list, and this typically only shows me one or two notes.

3. I then click 'all' in the tags list, and click on the same section that I had open when I hit Ctrl+Shift+Space - and I find that CN has made the very bottom note in the list the active note, so I have to scroll all the way back up to the top of the list. The very top note should be the one active.

Note that this only happens for the section I had open when I hit Ctrl+Shift+Space - for all other sections, the very top note remains selected. Only minor, but a little annoying that I have to scroll all the way back up the notes list each time I use Ctrl+Shift+Space.

Chris
User avatar
CintaNotes Developer
Site Admin
Posts: 4741
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Note focus issue

Postby CintaNotes Developer » Mon Sep 05, 2016 12:46 pm

I think it really depends on which note was selected. As per user requests from some time ago, CN tries to keep selection as best as it can. However when the note that was selected last was from another section, CN can't find the note with the same id, and having nothing better, selects note with the same index. However one section has less notes, and there are high chances that this index will be greater than the total number of notes in the section, hence, the last note gets selected.
Alex
User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Re: Note focus issue

Postby usbpoweredfridge » Tue Sep 06, 2016 9:48 am

Hm, why does it only happen to the tab (section) that was the active tab when you hit the hotkeys though? If it was a general issue, rather than a specific bug, should it not happen with multiple tabs (sections)?

Chris
User avatar
CintaNotes Developer
Site Admin
Posts: 4741
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Note focus issue

Postby CintaNotes Developer » Tue Sep 06, 2016 9:58 am

Because CN remembers which note is selected for each section.
But when multiple sections are selected, the settings get saved into the slot of the section which was selected first.
Here's a relevant excerpt from Help:

Selecting multiple sections
What do you do if you want to find something, but you don’t remember in which section it was? What if you need to temporarily combine notes from two sections?

CintaNotes solves these problems via supporting multiple section selection. You can Ctrl+Click on a tab, and this tab will be added to the current selection instead of replacing it. Notes from this tab will be added to the notes list.

What is necessary to remember here is that the first section that was selected is the “main” section that defines the view state (the sorting order and search parameters).

The Ctrl+Shift+Space shortcut, or “Select All” command in the section’s context menu, allows you to quickly select all sections. This can be useful when you don’t remember exactly the needed section and want to search your whole notebook, for example.
Alex
User avatar
usbpoweredfridge
Posts: 407
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Re: Note focus issue

Postby usbpoweredfridge » Wed Sep 07, 2016 8:25 am

Oh, ok - I understand now.

Chris
User avatar
CintaNotes Developer
Site Admin
Posts: 4741
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Note focus issue

Postby CintaNotes Developer » Sat Sep 10, 2016 7:10 am

Thanks for raising this question. I guess you're right that CN could behave in a more predictable manner here. At least not focus a random note when previously focused note is no longer in the list. I'll add this task to our backlog with low priority.
Alex

Return to “Bug Reports”