reset after deleting notes

Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

reset after deleting notes

Postby Thomas Lohrum » Tue Sep 08, 2015 5:56 pm

Hi Alex,

using my settings there is a problem when deleting notes in the notes list. I select some notes by selecting a tag. Then i delete all of them. Next pressing Ctrl+F has no effect. I need to restart CintaNotes. If instead i switch from "all sections" to a specific section i can see that tag for which the notes got deleted. Seems like this is still selected, but can not be reset.

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

Re: reset after deleting notes

Postby CintaNotes Developer » Thu Sep 10, 2015 11:06 am

Hmm, when I delete all notes for the selected tag, the tag selection gets automatically reset to "All".
Doesn't it happen in your case?
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: reset after deleting notes

Postby Thomas Lohrum » Thu Sep 10, 2015 7:02 pm

Maybe it depends on my settings. I've just send my latest settings to you.

It is easy to reproduce:

select 'All'
create a note with a tag 'Test'
save the note
select tag "Test"
one note should be visible now
delete it
the notes list is empty now
press Ctrl+F
bug: nothing happens, no reset
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: reset after deleting notes

Postby CintaNotes Developer » Sun Sep 13, 2015 10:32 am

Thomas Lohrum wrote:Maybe it depends on my settings. I've just send my latest settings to you.

It is easy to reproduce:

select 'All'
create a note with a tag 'Test'
save the note
select tag "Test"
one note should be visible now
delete it
the notes list is empty now
press Ctrl+F
bug: nothing happens, no reset


There's no reset because there's nothing to reset: the reset already happened before, when you deleted the only note that had the "Test" tag.
Or don't you get "All" selected automatically after deleting the note?
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: reset after deleting notes

Postby Thomas Lohrum » Sun Sep 13, 2015 10:43 am

Can't you reproduce? The problem is that instead of a notes list, there is only an empty area with no notes.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: reset after deleting notes

Postby CintaNotes Developer » Sun Sep 13, 2015 10:46 am

I see what you mean now.
Yes, this is definitely a bug.
The automatic reset to "All" doesn't update the notes list, but it should.
An even better solution IMO would be not to touch the tag selection and allow
it to have 0 notes at least till you select something else, after that the tag will
disappear from the list unless you have "no tag filter" mode.
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: reset after deleting notes

Postby Thomas Lohrum » Sun Sep 13, 2015 10:50 am

I agree. Probably this makes sense. However, the bug is, that pressing Ctrl+F has no effect! It should, since i am explicitly asking CN to reset.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: reset after deleting notes

Postby CintaNotes Developer » Sun Sep 13, 2015 10:51 am

It's connected. CN thinks that there's nothing to reset.
If after delete there's no automatic reset, Ctrl+F will reset because of your setting (reset.onctrlf).
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: reset after deleting notes

Postby Thomas Lohrum » Sun Sep 13, 2015 11:08 am

ehm, so you will change/fix something?
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: reset after deleting notes

Postby CintaNotes Developer » Thu Sep 17, 2015 12:14 pm

Yes, sure. I'll make that deletion won't cause auto reset and Ctrl+F will work.
Alex

Return to “Bug Reports”