diff --git a/src/Services/NoteManager.vala b/src/Services/NoteManager.vala index 5cad0014..a3acf594 100644 --- a/src/Services/NoteManager.vala +++ b/src/Services/NoteManager.vala @@ -128,7 +128,7 @@ public class Jorts.NoteManager : Object { application.remove_window ((Gtk.Window)note); note.close (); note = null; - save_all (); + immediately_save (); } /*************************************************/ @@ -152,6 +152,7 @@ public class Jorts.NoteManager : Object { private void immediately_save () { var array = new Json.Array (); + print (open_notes.size.to_string ()); foreach (Jorts.StickyNoteWindow note in open_notes) { var data = note.packaged (); diff --git a/src/Widgets/TextView.vala b/src/Widgets/TextView.vala index f4cef519..cb93f80d 100644 --- a/src/Widgets/TextView.vala +++ b/src/Widgets/TextView.vala @@ -150,10 +150,9 @@ public class Jorts.TextView : Granite.HyperTextView { /** * Handler whenever a key is pressed, to see if user needs something and get ahead * Some local stuff is deduplicated in the Ifs, because i do not like the idea of getting computation done not needed 98% of the time - */ + */ private bool on_key_pressed (uint keyval, uint keycode, Gdk.ModifierType state) { - print ("char typed"); - + // If backspace on a prefix: Delete the prefix. if (keyval == Gdk.Key.BackSpace) { print ("backspace"); diff --git a/windows/beware.txt b/windows/beware.txt index 539bf441..b72f5d6a 100644 --- a/windows/beware.txt +++ b/windows/beware.txt @@ -15,8 +15,9 @@ Note about this one: Notes are not deleted on uninstall. Do not worry you wont l - There is no setting to enable/disable Jorts starting with Windows. The Installer sets it once, then it is between you and God. - - There may be some very edge case bugs. + - There may be some specific bugs. As i write this, the looking glass in the search field of the emoji chooser does not show up. I dont fucking know why. +The app is starting slowly, because Windows has to load a lot of libraries Linux kinda has loaded already by default. ==== If you report bugs on Github, please mention that you are using the app on Windows, and ideally your level of technical knowledge so we can respond in a way that does not make you dissociate diff --git a/windows/deploy.sh b/windows/deploy.sh index 7c71bfdb..af6fd77a 100644 --- a/windows/deploy.sh +++ b/windows/deploy.sh @@ -158,7 +158,7 @@ BrandingText "Jorts ${version}, ${publisher} 2025" !define MUI_FINISHPAGE_LINK "Source code and wiki" !define MUI_FINISHPAGE_LINK_LOCATION "https://github.com/ellie-commons/jorts" -!define MUI_FINISHPAGE_RUN "\$SMPROGRAMS\\${app_name}\\${app_name}.lnk" +!define MUI_FINISHPAGE_RUN "\$INSTDIR\bin\io.github.ellie_commons.jorts.exe" !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_DIRECTORY