[Ann] CintaNotes 3.8 Beta 1

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

[Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Sat May 27, 2017 9:24 am

Hi all,

Here's the beta of the next CN update - as usual, would be grateful for your feedback!

WARNING: BETA SOFTWARE - USE AT OWN RISK, ALWAYS BACKUP YOUR DATA FIRST

May 27, 2017 - Version 3.8 Beta1

In this version:

Features:
  • Autosave currently edited note
    Works completely transparent to the user: in case of crash or power failure, all unsaved edited notes will be reopened after startup.
    (You can test this out by killing cintanotes.exe in Task Manager)
  • Editor: Added "Paste as plain text" command to context menu with Ctrl+Alt+V shortcut
  • Added option to auto minimize on losing focus to Options/Window menu

Enhancements:
  • Notes list: more prominent display of selected tags in note previews
  • Retain tag filter when hiding tag sidebar
  • Double the length limit for names of note links
  • "Window/Close to tray" option is now active by default
  • "Window/Minimize to tray" option is now not active by default

Fixes:
  • Editor: fixed extremely slow opening of some notes
  • Editor: entering uppercase accented letters was not possible in some locales
  • Remembered password shouldn't be requested upon clipping

Download:
Portable: CintaNotes_3_8_Beta1.zip
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: [Ann] CintaNotes 3.8 Beta 1

Postby Thomas Lohrum » Sat May 27, 2017 10:28 am

Hi Alex,

thanks for the latest update.

[*]Added option to auto minimize on losing focus to Options/Window menu
Works nicely, great! However you should publish the delay setting to your announcement. I did set mine to zero seconds right away, after wondering why the feature appeared not to work. ;)

[*]Notes list: more prominent display of selected tags in note previews
Thumbs up. Had needed this before without realizing it. :)

[*]Retain tag filter when hiding tag sidebar
:)


Thomas
date
Posts: 243
Joined: Sat Aug 01, 2015 5:15 am
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby date » Sat May 27, 2017 2:50 pm

Reopening autosaved notes does not always work. Sometimes when you reopen CN after terminating cn.exe in the task-manager, you still get the old note text. Then, exiting normally, and reopen CN again, you get the text that was autosaved. The second time I tried, it worked right away. (I'm assuming the notes get auto-saved after a few seconds, when the icon flickers.) And the third time, it did not reopen the notes at all, and another try, opened both the note how it was from the start, and in another window the same note with the auto-saved text.

The fourth time, I set debug.loguserdata to 1 and made two unsaved notes, two notes that I saved, and two notes that I saved, closed and reopened. Then, after a short while edited them, and terminated the process in the taskmanager. It took me a few times of closing and reopening Cintanotes to get all the notes reopened! But, they were saved nonetheless. Just not reopened, and the windows with the unsaved text trickled in with each subsequent CN restart.

Hopefully you can make something out of the log files: https://yadi.sk/d/Fu7FVC1M3JaGTr . (I could not attach here for some reason.)
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Mon May 29, 2017 9:47 am

Hi Thomas, glad to see you back here :)

Thomas Lohrum wrote:Works nicely, great! However you should publish the delay setting to your announcement. I did set mine to zero seconds right away, after wondering why the feature appeared not to work. ;)

Yes, I sure will, thanks! Was an oversight that it wasn't mentioned.

Thumbs up. Had needed this before without realizing it. :)

Glad you liked it! Some people have complained to me however that the highlighting is too bright. Will probably dim it down a notch in the final version.

[*]Retain tag filter when hiding tag sidebar
:)

Yep, many people have already asked for this. I finally gave in ;)
Alex
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Mon May 29, 2017 11:24 am

date wrote:Reopening autosaved notes does not always work.


date, thanks a lot for the investigation and for the log files. I couldn't really make a lot of sense out of them - the important info turned out not to be logged (as usual ;)

Please try this version:
http://cintanotes.com/files/beta/CintaN ... Beta1b.zip

I've improved the algorithm so that loading an autosave with exclude loading of the "normal" note.
Also added additional logging.

The "do I need to autosave?"-check is done every 15 secs, and the autosave will happen if something has changed since the last autosave.

Make sure that you allow for 15 secs after every modification, and that you have sqlite.pragma.synchronous parameter set to NORMAL or FULL.
Alex
date
Posts: 243
Joined: Sat Aug 01, 2015 5:15 am
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby date » Mon May 29, 2017 1:23 pm

Make two notes, with titles: 'reopenednote1' and 'reopenednote2.' Close the notes and save them.
Make four additional notes and rearrange them on the screen for easy editing.
In two notes, put in the title 'savednote1' and 'savednote2.' Press Ctrl-S to save them (not closing them.)
In the other two notes, put in the title 'unsavednote1' and 'unsavednote2.'
Open the other two notes, so you have six notes on the screen, with no text.
In all those notes, enter the text 'mytext' in the body.
After more than 15 seconds, terminate the Cintanotes process in taskmgr.

Open CN. Result: the main window and the note window 'reopenednote1.' No contents visible in the main window, only 4 notes titles. (Not 6.) Now, close them by right-clicking in the system tray and 'Exit.'
2nd reopen CN: + savednote1. (For savednote1, no text visible in the main window.)
3rd reopen: + reopenednote2.
4th reopen: + unsavednote2.
5th reopen: + unsavednote1.
6th reopen: + savednote2.
7th reopen: the same, but now for each of them the unsaved text is in the main window.

Now, in all notes, you can enter the text 'lastedit' on a new line.
Then, shut down the process in taskman after 15 seconds.
And repeat the same thing again.
In case all note windows are reopened, they do not necessarily include the 'lastedit.' That will appear for each only after closing and reopening CN. If you happen to save the note before restarting, 'lastedit' would be lost.

By the way, when I deleted the settings file, and started CN, behind all windows was a 'Trial has ended' window. (I didn't copy the license file.) I closed CN in the system tray, but the windows would stay and CN would hang, and the 'Trial has ended' dialog was unreachable.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Tue May 30, 2017 12:13 pm

Huge thanks for detailed instructions! Tuned out that that the autosave loading code loaded only one first autosave instead of all.
Here's the fixed version, please try it:

http://cintanotes.com/files/beta/CintaN ... Beta1с.zip
Alex
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Tue May 30, 2017 12:16 pm

date wrote:By the way, when I deleted the settings file, and started CN, behind all windows was a 'Trial has ended' window. (I didn't copy the license file.) I closed CN in the system tray, but the windows would stay and CN would hang, and the 'Trial has ended' dialog was unreachable.


Interesting. For me it does quit, however creates a core dump file in the CN folder. Will try to debug it now.
Alex
date
Posts: 243
Joined: Sat Aug 01, 2015 5:15 am
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby date » Tue May 30, 2017 5:22 pm

CintaNotes Developer wrote:Here's the fixed version, please try it:
'Page not found'...
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Wed May 31, 2017 10:25 am

Alex
date
Posts: 243
Joined: Sat Aug 01, 2015 5:15 am
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby date » Wed May 31, 2017 11:32 am

Seems to be working great now :)
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Wed May 31, 2017 11:47 am

Phew, great to hear! Thanks a lot, date!
Alex
date
Posts: 243
Joined: Sat Aug 01, 2015 5:15 am
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby date » Wed May 31, 2017 11:59 am

Just setting a password on the notebook when autosaved windows are open will make CN hang.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Wed May 31, 2017 12:34 pm

I confirm, thanks. Will fix it
Alex
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Thu Jun 01, 2017 6:24 am

date wrote:Just setting a password on the notebook when autosaved windows are open will make CN hang.

Here it should be fixed:
http://cintanotes.com/files/beta/CintaN ... Beta1d.zip
Alex
date
Posts: 243
Joined: Sat Aug 01, 2015 5:15 am
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby date » Thu Jun 01, 2017 8:47 am

CintaNotes Developer wrote:Here it should be fixed:
It is.
date
Posts: 243
Joined: Sat Aug 01, 2015 5:15 am
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby date » Thu Jun 01, 2017 9:39 am

When a note has been edited, and I press Ctrl-Del, it asks whether I want to delete it, and I confirm by pressing space. But after that, there is another box asking me to save the note, which should not be necessary to be there.

If I press 'Ctrl-Del,' I should be able to assume that confirming the message box means deleting the note, without having to read the text in the message box. (No I didn't read the text, and wondered why the note has returned :mrgreen: .)

Then, I made a note and pressed Esc, and ticked 'Don't ask again' for saving. Deleted a note, and tick 'Don't ask again' for that as well. Now, on 'Ctrl-Del' the note always returns.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Thu Jun 01, 2017 11:16 am

Damn, I knew I'd mess up something with this editor closing code.
HUGE thanks for catching this!
Here's the fixed variant:
http://cintanotes.com/files/beta/CintaN ... Beta1e.zip
Alex
date
Posts: 243
Joined: Sat Aug 01, 2015 5:15 am
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby date » Thu Jun 01, 2017 4:46 pm

The 'Cancel' button saves the auto-saved note.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: [Ann] CintaNotes 3.8 Beta 1

Postby CintaNotes Developer » Fri Jun 02, 2017 8:19 am

date wrote:The 'Cancel' button saves the auto-saved note.


Well you said you clicked on "Don't ask again"? So it is not asking, assuming a positive answer to a question "Save unsaved changes?"
And since autosave is an unsaved change by definition, this is what happens.

This is clearly not the expected behavior though. I'd say it would be better to switch positive and negative sides of the question, from "Save unsaved changes?" to "Close without saving?". What do you think?
Alex

Return to “CintaNotes Personal Notes Manager”