Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[I] Damaged note #1275

Closed
Krzysztof933 opened this issue Sep 2, 2019 · 8 comments

Comments

@Krzysztof933
Copy link

commented Sep 2, 2019

Expected behaviour

Do not lost notes when I use encrypted note.

Actual behavior

Same notes are replaced by another, encrypted notes.

Steps to reproduce

Add note

n1
===

n1

and note

p1
===
p1

encrypt p1. Select n1 and change some options (ctrl-,). n1 go to top of list (why?).
Change encrypted note p1 to p11:

p11
===
p1

Wait some seconds. Select n1. Note n1 is damaged - is encrypted:

p1
===

Relevant log output in the Log panel

Expand

Information about the application, settings and environment

Expand

QOwnNotes Debug Information

General Info

Current Date: Pn wrz 2 09:28:43 2019
Version: 19.8.8
Build date: Aug 23 2019
Build number: 4509
Platform: windows
Operating System: Windows 8.1 (6.3)
Build architecture: i386
Current architecture: x86_64
Release: AppVeyor
Qt Version (build): 5.13.0
Qt Version (runtime): 5.13.0
Portable mode: no
Settings path / key: \HKEY_CURRENT_USER\Software\PBE\QOwnNotes
Application database path: C:\Users\Win8\AppData\Roaming\PBE\QOwnNotes\QOwnNotes.sqlite
Application arguments: C:\util\qnotes\QOwnNotes.exe
Qt Debug: 0
Locale (system): pl_PL
Locale (interface): empty
Icon theme: breeze-qownnotes
Notes in current note folder: 128
Calendar items: 0
Enabled scripts: 0

Server Info

serverUrl: empty
appIsValid: no
notesPathExists: empty
connectionErrorMessage: empty

Note folders

currentNoteFolderId: 1

Note folder Domyślny

id: 1
isCurrent: yes
activeTagId: 0
localPath: C:\KZ\qnotes
remotePath: Notes
isShowSubfolders: no
isUseGit: no
activeNoteSubFolder name: empty
database file: C:\KZ\qnotes\notes.sqlite

Enabled scripts

Settings

AboutDialog/geometry (QByteArray): <binary data>
ActiveNoteHistoryItem (NoteHistoryItem): <binary data>
Debug/fakeOldVersionNumber (QString): false
Debug/fileLogging (QString): false
Editor/CurrentSchemaKey (QString): EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb
Editor/autoBracketClosing (QString): true
Editor/autoBracketRemoval (QString): true
Editor/disableCursorBlinking (QString): false
Editor/editorWidthInDFMOnly (QString): true
Editor/highlightCurrentLine (QString): true
Editor/vimMode (QString): false
FileDialog/LastPath (QString): C:/Tmp
FileDialog/LastPath-SettingsExport (QString): C:/Tmp
IssueAssistantDialog/geometry (QByteArray): <binary data>
LastUpdateCheck (QDateTime): 2019-09-02T09:06:28.690
LocalTrashDialog/geometry (QByteArray): <binary data>
LogWidget/criticalLog (QString): true
LogWidget/debugLog (QString): true
LogWidget/fatalLog (QString): true
LogWidget/infoLog (QString): true
LogWidget/scriptingLog (QString): true
LogWidget/statusLog (QString): true
LogWidget/warningLog (QString): true
MainWindow/geometry (QByteArray): <binary data>
MainWindow/mainToolBar.iconSize (int): 24
MainWindow/menuBarGeometry (QByteArray): <binary data>
MainWindow/noteTextEdit.code.font (QString): Courier New,9,-1,2,50,0,0,0,0,0
MainWindow/noteTextEdit.font (QString): MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.code.font (QString): Courier New,9,-1,2,50,0,0,0,0,0
MainWindow/noteTextView.font (QString): MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.ignoreCodeFontSize (QString): true
MainWindow/noteTextView.rtl (QString): false
MainWindow/noteTextView.underline (QString): true
MainWindow/showNotesFromAllNoteSubFolders (QString): true
NoteDiffDialog/geometry (QByteArray): <binary data>
NoteHistory-1 (QVariantList): <variant list with 59 item(s)>
NoteHistoryCurrentIndex-1 (int): 58
OrphanedAttachmentsDialog/geometry (QByteArray): <binary data>
PasswordDialog/geometry (QByteArray): <binary data>
PiwikClientId (QString): <hidden>
ScriptRepositoryDialog/geometry (QByteArray): <binary data>
ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data>
SearchEngineId (int): 2
SettingsDialog/geometry (QByteArray): <binary data>
SettingsDialog/mainSplitterState (QByteArray): <binary data>
SettingsExport/platform (QString): windows
ShareDialog/geometry (QByteArray): <binary data>
ShowSystemTray (QString): false
StartHidden (QString): false
UpdateDialog/geometry (QByteArray): <binary data>
WelcomeDialog/geometry (QByteArray): <binary data>
acceptAllExternalModifications (QString): false
allowDifferentNoteFileName (QString): false
allowNoteEditing (QString): true
allowOnlyOneAppInstance (QString): true
appMetrics/disableAppHeartbeat (QString): false
appMetrics/disableTracking (QString): true
appMetrics/notificationShown (QString): true
automaticNoteFolderDatabaseClosing (QString): false
closeTodoListAfterSave (QString): false
cryptoKey (QString): <hidden>
currentNoteFolderId (int): 1
currentWorkspace (QString): initial
cursorWidth (int): 1
customNoteFileExtensionList (QStringList): empty
darkMode (QString): false
darkModeColors (QString): false
darkModeIconTheme (QString): false
darkModeTrayIcon (QString): false
defaultNoteFileExtension (QString): md
disableAutomaticUpdateDialog (QString): false
disableSavedSearchesAutoCompletion (QString): false
dockWasInitializedOnce (QString): true
enableSocketServer (QString): true
externalEditorPath (QString): empty
fullyHighlightedBlockquotes (QString): false
gitCommitInterval (int): 30
gitExecutablePath (QString): empty
gitLogCommand (QString): empty
guiFirstRunInit (QString): true
ignoreAllExternalModifications (QString): false
ignoreAllExternalNoteFolderChanges (QString): false
ignoreNoteSubFolders (QString): ^\.
imageScaleDown (QString): false
imageScaleDownMaximumHeight (int): 1024
imageScaleDownMaximumWidth (int): 1024
initialLayoutIdentifier (QString): minimal
insertTimeFormat (QString): empty
interfaceFontSize (int): 11
interfaceLanguage (QString): empty
internalIconTheme (QString): false
itemHeight (int): 15
localTrash/autoCleanupDays (int): 30
localTrash/autoCleanupEnabled (QString): true
localTrash/supportEnabled (QString): true
localTrashSplitterSizes (QByteArray): <binary data>
markdownHighlightingEnabled (QString): true
navigationPanelHideSearch (QString): false
networking/ignoreSSLErrors (QString): true
networking/proxyType (int): 2
newNoteAskHeadline (QString): false
noteEditIsCentralWidget (QString): false
noteListPreview (QString): false
noteSaveIntervalTime (int): 10
noteSubfoldersPanelDisplayAsFullTree (QString): true
noteSubfoldersPanelHideSearch (QString): false
noteSubfoldersPanelOrder (int): 0
noteSubfoldersPanelShowFullPath (QString): false
noteSubfoldersPanelShowNotesRecursively (QString): false
noteSubfoldersPanelShowRootFolderName (QString): true
noteSubfoldersPanelSort (int): 0
notesPanelOrder (int): 0
notesPanelSort (int): 1
notesPath (QString): C:/KZ/qnotes
notifyAllExternalModifications (QString): false
overrideInterfaceFontSize (QString): false
ownCloud/password (QString): <hidden>
ownCloud/serverUrl (QString): empty
ownCloud/supportEnabled (QString): false
ownCloud/todoCalendarBackend (int): 3
ownCloud/todoCalendarCalDAVPassword (QString): <hidden>
ownCloud/todoCalendarCalDAVServerUrl (QString): empty
ownCloud/todoCalendarCalDAVUsername (QString): empty
ownCloud/todoCalendarDisplayNameList (QStringList): empty
ownCloud/todoCalendarEnabledList (QStringList): empty
ownCloud/todoCalendarEnabledUrlList (QStringList): empty
ownCloud/todoCalendarUrlList (QStringList): empty
ownCloud/userName (QString): empty
ownCloudInfo/appIsValid (QString): false
ownCloudInfo/connectionErrorMessage (QString): empty
ownCloudInfo/notesPathExistsText (QString): empty
ownCloudInfo/serverVersion (QString): empty
previousWorkspace (QString): e61911df-dc45-4525-8379-99a12d3fafc0
restoreCursorPosition (QString): true
savedSearches/noteFolder-1 (QStringList): Note 2019-09-02T09.17.41, Note 2019-09-02T09.17.29, Note 2019-09-02T09.08.53, Note 2019-09-02T09.06.57, Note 2019-09-02T09.06.42, Note 2019-08-29T11.46.08, Note 2019-08-29T11.04.04, Note 2019-08-29T11.03.47, Note 2019-08-29T11.03.25, Note 2019-08-29T11.02.45, Olimp, Note 2019-02-19T11.26.16, Note 2019-02-14T14.36.17, Note 2019-02-14T14.34.07, has
showMenuBar (QString): true
showStatusBar (QString): true
skipVersion (QString): 19.7.2
systemIconTheme (QString): false
taggingShowNotesRecursively (QString): false
tagsPanelHideSearch (QString): false
tagsPanelOrder (int): 0
tagsPanelSort (int): 0
toolbar/1/items (QStringList): action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionOpen_List
toolbar/1/name (QString): mainToolBar
toolbar/1/title (QString): główny pasek narzędzi
toolbar/2/items (QStringList): actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote
toolbar/2/name (QString): formattingToolbar
toolbar/2/title (QString): Pasek formatowania
toolbar/3/items (QStringList): actionInsert_Link_to_note, actionInsert_image, actionInsert_current_time
toolbar/3/name (QString): insertingToolbar
toolbar/3/title (QString): Pasek wstawiania
toolbar/4/items (QStringList): action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note
toolbar/4/name (QString): encryptionToolbar
toolbar/4/title (QString): Pasek szyfrowania
toolbar/5/items (QStringList): actionWorkspaceComboBox, actionStore_as_new_workspace, actionRemove_current_workspace, actionRename_current_workspace, actionSwitch_to_previous_workspace, actionUnlock_panels, , actionToggle_distraction_free_mode, action_Increase_note_text_size, action_Decrease_note_text_size, action_Reset_note_text_size
toolbar/5/name (QString): windowToolbar
toolbar/5/title (QString): Pasek widoku
toolbar/6/items (QStringList): action_Quit
toolbar/6/name (QString): quitToolbar
toolbar/6/title (QString): Pasek zamykania
toolbar/size (int): 6
useUNIXNewline (QString): false
webSocketServerService/bookmarksNoteName (QString): Bookmarks
webSocketServerService/bookmarksTag (QString): bookmarks
webSocketServerService/port (int): 22222
workspace-e61911df-dc45-4525-8379-99a12d3fafc0/name (QString): HTML
workspace-e61911df-dc45-4525-8379-99a12d3fafc0/noteSubFolderDockWidgetVisible (QString): true
workspace-e61911df-dc45-4525-8379-99a12d3fafc0/windowState (QByteArray): <binary data>
workspace-initial/name (QString): Minimalny
workspace-initial/noteSubFolderDockWidgetVisible (QString): true
workspace-initial/windowState (QByteArray): <binary data>
workspaces (QStringList): initial, e61911df-dc45-4525-8379-99a12d3fafc0

System environment

ALLUSERSPROFILE: C:\ProgramData
APPDATA: C:\Users\Win8\AppData\Roaming
CommonProgramFiles: C:\Program Files (x86)\Common Files
CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
CommonProgramW6432: C:\Program Files\Common Files
COMPUTERNAME: WIN-5O3K0VQHGNV
ComSpec: C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK: NO
HOMEDRIVE: C:
HOMEPATH: \Users\Win8
K2PDFOPT_CUSTOM0: Last Settings;-evl 1 -ehl 1 -de 1.5 -bp m -ac -col 3;
K2PDFOPT_CUSTOM1: 2-column paper;-mode 2col;
K2PDFOPT_CUSTOM2: Trim Margins;-mode fw;
K2PDFOPT_WINPOS: 392 104 1185 686
LOCALAPPDATA: C:\Users\Win8\AppData\Local
LOGONSERVER: \\MicrosoftAccount
NUMBER_OF_PROCESSORS: 1
OS: Windows_NT
Path: C:\ProgramData\Oracle\Java\javapath;C:\xpertis1122\macrobase;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Users\Win8\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\Win8\AppData\Local\Programs\Python\Python36-32\
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE: x86
PROCESSOR_ARCHITEW6432: AMD64
PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROCESSOR_LEVEL: 6
PROCESSOR_REVISION: 3a09
ProgramData: C:\ProgramData
ProgramFiles: C:\Program Files (x86)
ProgramFiles(x86): C:\Program Files (x86)
ProgramW6432: C:\Program Files
PSModulePath: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC: C:\Users\Public
SESSIONNAME: Console
SystemDrive: C:
SystemRoot: C:\WINDOWS
TEMP: C:\Users\Win8\AppData\Local\Temp
TMP: C:\Users\Win8\AppData\Local\Temp
USERDOMAIN: WIN-5O3K0VQHGNV
USERDOMAIN_ROAMINGPROFILE: WIN-5O3K0VQHGNV
USERNAME: Win8
USERPROFILE: C:\Users\Win8
windir: C:\WINDOWS

@pbek

This comment has been minimized.

Copy link
Owner

commented Sep 2, 2019

Note: I fixed some typos in above text and added proper code blocks

@pbek

This comment has been minimized.

Copy link
Owner

commented Sep 2, 2019

Thank you for reporting, I will try to reproduce your issue.

@pbek pbek added the bug label Sep 3, 2019

@pbek

This comment has been minimized.

Copy link
Owner

commented Sep 3, 2019

Thank you very much for reporting, that was a really tricky bug!

@pbek pbek added this to the 19.9.1 milestone Sep 3, 2019

pbek added a commit that referenced this issue Sep 3, 2019
@pbek

This comment has been minimized.

Copy link
Owner

commented Sep 3, 2019

19.9.1

  • fixed a problem with updating the current note even if it didn't change after the
    settings of the note text edit were updated
    • this happened for example after the settings dialog was closed and could have
      led to overwriting of notes
  • fixed a problem with un-selecting the current note in the note list after the
    note list was reloaded
    • this happened for example after the settings dialog was closed
@pbek

This comment has been minimized.

Copy link
Owner

commented Sep 3, 2019

There now is a new release, could you please test it and report if it works for you?

@Krzysztof933

This comment has been minimized.

Copy link
Author

commented Sep 4, 2019

I have not described efects, but when I change encrypted note, it sametime go to top, samtime doesnt go to top.
In example:
change n1, ctrl-s (go to top)

when I change p1, ctrl-s - p1 is second
when I change p1 (without ctrl-s) and select quick n1 and p1 - p1 go to top.

@pbek

This comment has been minimized.

Copy link
Owner

commented Sep 4, 2019

Could you please open an other issue for that or are the notes damaged in the process?

@Krzysztof933

This comment has been minimized.

Copy link
Author

commented Sep 4, 2019

I change notes and encrypded. Notes are not damaged.
Thank You.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.