pbek / QOwnNotes

QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.
https://www.qownnotes.org/
GNU General Public License v2.0
4.59k stars 407 forks source link

No notes in list panel #589

Closed vvevans closed 7 years ago

vvevans commented 7 years ago

Expected behaviour

Show all notes in selected folder

Actual behaviour

No notes shown in any folders

Steps to reproduce

Close qownnotes; restart - notes are shown for default folder - change folders, notes are not shown; go back to default folder, notes are no longer shown. This changed after upgrade to 17.05.9

Output from the debug section in the settings dialog

QOwnNotes Debug Information

General Info

Current Date: Wed May 24 10:03:49 2017 Version: 17.05.10 Build date: May 23 2017 Build number: 340 Platform: linux Operating System: Ubuntu 16.04.2 LTS Build architecture: x86_64 Current architecture: x86_64 Release: Launchpad PPA Qt Version (build): 5.5.1 Qt Version (runtime): 5.5.1 Portable mode: no Settings path / key: /home/<username>/.config/PBE/QOwnNotes.conf Application database path: /home/<username>/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite Application arguments: /usr/bin/QOwnNotes Qt Debug: 0 Locale (system): en_US Locale (interface): empty Icon theme: breeze-dark-qownnotes Notes in current note folder: 22 Enabled scripts: 0

Server Info

serverUrl: https://<my_server> appIsValid: yes notesPathExists: yes serverVersion: 11.0.2.7 appVersion: 17.5.0

Note folders

currentNoteFolderId: 1

Note folder Notes

id: 1 isCurrent: yes activeTagId: 3 localPath: /home/<user>/nextcloud/Notes remotePath: Notes isShowSubfolders: yes isUseGit: no activeNoteSubFolder name: empty database file: /home/<user>/nextcloud/Notes/notes.sqlite

Enabled scripts

Settings

ActiveNoteHistoryItem: empty Debug/fakeOldVersionNumber: false Debug/fileLogging: false Editor/CurrentSchemaKey: EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb Editor/autoBracketClosing: true Editor/autoBracketRemoval: true LastUpdateCheck: 2017-05-24T09:55:49 LinkDialog/geometry: <binary data> MainWindow/geometry: <binary data> MainWindow/mainToolBar.iconSize: 24 MainWindow/menuBarGeometry: <binary data> MainWindow/noteSubFolderTreeWidgetExpandState-1: System, Faith MainWindow/noteTextEdit.code.font: monospace,9,-1,2,50,0,0,0,0,0 MainWindow/noteTextEdit.font: Ubuntu,11,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.code.font: monospace,9,-1,2,50,0,0,0,0,0 MainWindow/noteTextView.font: Ubuntu,11,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.rtl: false MainWindow/showNotesFromAllNoteSubFolders: true NoteSortOrder: 0 PiwikClientId: <hidden> SettingsDialog/geometry: <binary data> SettingsDialog/mainSplitterState: <binary data> ShowSystemTray: false SortingModeAlphabetically: false UpdateDialog/geometry: <binary data> WelcomeDialog/geometry: <binary data> acceptAllExternalModifications: false allowDifferentNoteFileName: false allowOnlyOneAppInstance: false appMetrics/disableAppHeartbeat: false appMetrics/disableTracking: false appMetrics/notificationShown: true cryptoKey: <hidden> currentNoteFolderId: 1 currentWorkspace: 62279e49-18e5-4afc-b81b-9af2451cbc6d customNoteFileExtensionList: empty darkMode: true darkModeColors: true darkModeTrayIcon: true defaultNoteFileExtension: md disableAutomaticUpdateDialog: false dockWasInitializedOnce: true externalEditorPath: empty gitCommitInterval: 30 gitExecutablePath: empty gitLogCommand: empty ignoreAllExternalModifications: false ignoreAllExternalNoteFolderChanges: false imageScaleDown: false imageScaleDownMaximumHeight: 1024 imageScaleDownMaximumWidth: 1024 insertTimeFormat: empty interfaceLanguage: empty internalIconTheme: false itemHeight: 19 markdownHighlightingEnabled: true networking/ignoreSSLErrors: true networking/proxyType: 2 noteSaveIntervalTime: 10 notesPath: /home/<user>/nextcloud/Notes notifyAllExternalModifications: false ownCloud/password: <hidden> ownCloud/serverUrl: https://<my_server> ownCloud/supportEnabled: true ownCloud/todoCalendarBackend: 3 ownCloud/todoCalendarCalDAVPassword: <hidden> ownCloud/todoCalendarCalDAVServerUrl: empty ownCloud/todoCalendarCalDAVUsername: empty ownCloud/todoCalendarEnabledList: nextCloud ownCloud/todoCalendarEnabledUrlList: https://<my_server>/remote.php/dav/calendars/<user>/personal/ ownCloud/todoCalendarUrlList: https://<my_server>/remote.php/dav/calendars/<user>/personal/ ownCloud/userName: <username> previousWorkspace: 356aea57-a05d-4f69-86a9-5d35bbc7fd9e restoreCursorPosition: true savedSearches/noteFolder-1: Note 2017-05-23T05.53.19, Note 2017-05-23T05.30.54, Note 2017-05-22T05.12.55, Note 2017-05-22T04.48.19, Note 2017-05-12T05.16.06, Note 2017-05-10T05.50.38, Note 2017-05-09T15.39.03, Note 2017-05-09T06.02.15, Note 2017-05-09T06.00.43, Note 2017-04-14T06.01.00, Note 2017-04-12T06.12.40, Note 2017-04-12T05.58.10, Note 2017-04-11T05.01.30, Note 2017-04-08T08.38.45 showMenuBar: false showStatusBar: true tagWasAddedToNote: true toolbar/1/items: action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, , 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: mainToolBar toolbar/1/title: main toolbar toolbar/2/items: actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote toolbar/2/name: formattingToolbar toolbar/2/title: formatting toolbar toolbar/3/items: actionInsert_Link_to_note, actionInsert_image, actionInsert_current_time toolbar/3/name: insertingToolbar toolbar/3/title: inserting toolbar toolbar/4/items: action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note toolbar/4/name: encryptionToolbar toolbar/4/title: encryption toolbar toolbar/5/items: 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: windowToolbar toolbar/5/title: window toolbar toolbar/6/items: action_Quit toolbar/6/name: quitToolbar toolbar/6/title: quit toolbar toolbar/size: 6 useUNIXNewline: false workspace-356aea57-a05d-4f69-86a9-5d35bbc7fd9e/name: full workspace-356aea57-a05d-4f69-86a9-5d35bbc7fd9e/noteSubFolderDockWidgetVisible: true workspace-356aea57-a05d-4f69-86a9-5d35bbc7fd9e/windowState: <binary data> workspace-62279e49-18e5-4afc-b81b-9af2451cbc6d/name: minimal workspace-62279e49-18e5-4afc-b81b-9af2451cbc6d/noteSubFolderDockWidgetVisible: true workspace-62279e49-18e5-4afc-b81b-9af2451cbc6d/windowState: <binary data> workspaces: 356aea57-a05d-4f69-86a9-5d35bbc7fd9e, 62279e49-18e5-4afc-b81b-9af2451cbc6d

System environment

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin XDG_VTNR: 7 XDG_SESSION_ID: c2 CLUTTER_IM_MODULE: xim XDG_GREETER_DATA_DIR: /var/lib/lightdm-data/<user> GPG_AGENT_INFO: /home/<user>/.gnupg/S.gpg-agent:0:1 SHELL: /bin/bash QT_LINUX_ACCESSIBILITY_ALWAYS_ON: 1 GTK_MODULES: gail:atk-bridge:unity-gtk-module USER: <user> QT_ACCESSIBILITY: 1 XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session0 XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0 DEFAULTS_PATH: /usr/share/gconf/ubuntu.default.path XDG_CONFIG_DIRS: /etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg DESKTOP_SESSION: ubuntu QT_IM_MODULE: ibus QT_QPA_PLATFORMTHEME: appmenu-qt5 PWD: /home/<user> XDG_SESSION_TYPE: x11 XMODIFIERS: @im=ibus LANG: en_US.UTF-8 MANDATORY_PATH: /usr/share/gconf/ubuntu.mandatory.path GDM_LANG: en_US IM_CONFIG_PHASE: 1 COMPIZ_CONFIG_PROFILE: ubuntu GDMSESSION: ubuntu SESSIONTYPE: gnome-session GTK2_MODULES: overlay-scrollbar SHLVL: 0 XDG_SEAT: seat0 HOME: /home/<user> LANGUAGE: en_US XDG_SESSION_DESKTOP: ubuntu LOGNAME: <user> QT4_IM_MODULE: xim XDG_DATA_DIRS: /usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_RUNTIME_DIR: /run/user/1000 DISPLAY: :0 GTK_IM_MODULE: ibus XDG_CURRENT_DESKTOP: Unity XAUTHORITY: /home/<user>/.Xauthority DBUS_SESSION_BUS_ADDRESS: unix:abstract=/tmp/dbus-8BJtidD7BV GNOME_KEYRING_CONTROL: empty SSH_AUTH_SOCK: /run/user/1000/keyring/ssh GNOME_KEYRING_PID: empty GNOME_DESKTOP_SESSION_ID: this-is-deprecated SESSION: ubuntu JOB: unity-settings-daemon INSTANCE: empty UPSTART_EVENTS: xsession started XDG_MENU_PREFIX: gnome- SESSION_MANAGER: local/z97n-i7-4790:@/tmp/.ICE-unix/2182,unix/z97n-i7-4790:/tmp/.ICE-unix/2182 UPSTART_JOB: unity7 UPSTART_INSTANCE: empty UPSTART_SESSION: unix:abstract=/com/ubuntu/upstart-session/1000/1961 COMPIZ_BIN_PATH: /usr/bin/ GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/QOwnNotes.desktop GIO_LAUNCHED_DESKTOP_FILE_PID: 19237

Relevant log output (you have to enable enable the log widget)

pbek commented 7 years ago

Are you really talking about note folders? Because you seem to only have one... I neither can reproduce that with note folder nor note subfolders under 17.05.10... Was there any log output?

pbek commented 7 years ago

And what is a default folder?

vvevans commented 7 years ago

Attached log file, but I just turned this on today. I don't actually think it's a bug; it was working fine and I was checking something in settings - as I was moving my mouse, I accidentally clicked and this is when I noticed my files missing. I don't know what I clicked and I've been sifting through the settings trying to figure it out, but no luck so far. QOwnNotes_edit.txt

pbek commented 7 years ago

Nothing interesting in the logs... Maybe you should try to move your settings files away or even clear them altogether in the settings...

vvevans commented 7 years ago

That's a nice trick to know - it worked. Sorry about the bother, and not seeing / trying that function first. I love this app and it is a huge help to me since I've moved completely over to Nextcloud.

pbek commented 7 years ago

I'm glad you like it. :) But I really wonder what setting you changed. :)