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

Note loses `# ` at the start of first line #619

Closed
Flashwalker opened this Issue Jun 19, 2017 · 10 comments

Comments

Projects
None yet
2 participants
@Flashwalker

Flashwalker commented Jun 19, 2017

When i try to create note with text e.g.: # Здравомыслие at first line, the piece of text: # auto-erased form start of first line

Expected behaviour

Note keeps authored text

Actual behaviour

Note loses piece of text: # at the start of first line

Steps to reproduce

Create new note with first line e.g.: # Здравомыслие

Output from the debug section in the settings dialog

QOwnNotes Debug Information

General Info

Current Date: пн июн. 19 20:30:01 2017
Version: 17.06.4
Build date: Jun 8 2017
Build number: 349
Platform: linux
Operating System: Ubuntu 14.04 LTS
Build architecture: i386
Current architecture: i386
Release: Launchpad PPA
Qt Version (build): 5.4.1
Qt Version (runtime): 5.7.1
Portable mode: no
Settings path / key: /home/user/.config/PBE/QOwnNotes.conf
Application database path: /home/user/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite
Application arguments: /usr/bin/QOwnNotes
Qt Debug: 0
Locale (system): ru_RU
Locale (interface): ru
Icon theme: breeze-dark-qownnotes
Notes in current note folder: 34
Enabled scripts: 0

Server Info

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

Note folders

currentNoteFolderId: 4

Note folder notes2

id: 1
isCurrent: no
activeTagId: -1
localPath: /home/user/Documents/notes2
remotePath: empty
isShowSubfolders: yes
isUseGit: no
activeNoteSubFolder name: done
database file: /home/user/Documents/notes2/notes.sqlite

Note folder notes3

id: 3
isCurrent: no
activeTagId: 0
localPath: /home/user/Documents/notes3
remotePath: empty
isShowSubfolders: yes
isUseGit: no
activeNoteSubFolder name: empty
database file: /home/user/Documents/notes3/notes.sqlite

Note folder notes

id: 4
isCurrent: yes
activeTagId: -1
localPath: /home/user/Documents/notes
remotePath: empty
isShowSubfolders: yes
isUseGit: yes
activeNoteSubFolder name: empty
database file: /home/user/Documents/notes/notes.sqlite

Enabled scripts

Settings

AboutDialog/geometry: <binary data>
ActiveNoteHistoryItem: empty
Debug/fakeOldVersionNumber: false
Debug/fileLogging: true
DistractionFreeMode/editorWidthMode: 1
DistractionFreeMode/isEnabled: false
DistractionFreeMode/menuBarGeometry: <binary data>
DistractionFreeMode/menuBarHeight: 19
DistractionFreeMode/windowState: <binary data>
Editor/ColorSchemes: EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378
Editor/CurrentSchemaKey: EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378
Editor/autoBracketClosing: true
Editor/autoBracketRemoval: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_-1: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_0: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_1: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_12: false
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_13: false
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_14: false
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_15: false
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_16: false
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_17: false
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_18: false
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_19: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_2: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_21: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_22: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_23: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_3: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_4: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_7: false
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColorEnabled_8: false
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_-1: #201f1f
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_0: #333333
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_1: #333333
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_12: #ebebf0
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_13: #ebebf0
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_14: #ebebf0
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_15: #ebebf0
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_16: #ebebf0
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_17: #ebebf0
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_18: #f5f9d8
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_19: #333333
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_2: #333333
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_21: #444444
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_22: #3e3e44
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_23: #1a1a1a
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_3: #646356
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_4: #1a1a1a
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_7: #9eb6ff
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/BackgroundColor_8: #dbf9e5
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/Bold_12: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/Bold_13: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/Bold_14: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/Bold_15: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/Bold_16: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/Bold_17: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/Bold_8: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/FontSizeAdaption_12: 120
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/FontSizeAdaption_13: 110
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_-1: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_0: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_1: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_10: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_11: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_12: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_13: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_14: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_15: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_16: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_17: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_18: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_19: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_2: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_20: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_21: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_22: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_23: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_24: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_3: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_4: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_5: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_6: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_7: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_8: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColorEnabled_9: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_-1: #c6c6c6
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_0: #fa680c
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_1: #fc7e00
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_10: #ffff00
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_11: #398246
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_12: #fdc109
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_13: #e3ae09
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_14: #c49509
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_15: #ad8609
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_16: #9d7b09
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_17: #8a6c09
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_18: #bc3838
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_19: #00aa00
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_2: #fc7e00
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_20: #e1e1e1
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_21: #fc970a
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_22: #d88109
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_23: #d95a0b
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_24: #747474
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_3: #fdad09
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_4: #d95a0b
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_5: #e1e1e1
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_6: #e1e1e1
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_7: #fdc109
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_8: #e3ae09
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/ForegroundColor_9: #ffff00
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/Italic_18: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/Italic_7: true
EditorColorSchema-31445cf4-4834-4d5e-bf90-b031fdff4378/Name: AnalyticalYellow (My)
FileDialog/LastPath: /home/user/Desktop
FileDialog/LastPath-NoteHTMLExport: /home/user/Desktop
FileDialog/LastPath-SaveDebugInfo: /home/user/Desktop
LastUpdateCheck: 2017-06-19T20:26:31
LinkDialog/geometry: <binary data>
MainWindow/geometry: <binary data>
MainWindow/mainToolBar.iconSize: 17
MainWindow/menuBarGeometry: <binary data>
MainWindow/noteTextEdit.code.font: monospace,10,-1,2,50,0,0,0,0,0
MainWindow/noteTextEdit.font: Iosevka Light,12,-1,5,25,0,0,0,0,0
MainWindow/noteTextView.code.font: monospace,10,-1,2,50,0,0,0,0,0
MainWindow/noteTextView.font: Sans Serif,12,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.rtl: false
MainWindow/showNotesFromAllNoteSubFolders: false
NoteDialog/geometry: <binary data>
PiwikClientId: <hidden>
SettingsDialog/geometry: <binary data>
SettingsDialog/mainSplitterState: <binary data>
ShowSystemTray: false
StartHidden: false
TagAddDialog/geometry: <binary data>
UpdateDialog/geometry: <binary data>
WelcomeDialog/geometry: <binary data>
acceptAllExternalModifications: false
allowDifferentNoteFileName: false
allowOnlyOneAppInstance: false
appMetrics/disableAppHeartbeat: true
appMetrics/disableTracking: true
appMetrics/notificationShown: true
cryptoKey: <hidden>
currentNoteFolderId: 4
currentWorkspace: d6419ed5-7558-4e66-97fd-48c0e952c51b
customNoteFileExtensionList: empty
darkMode: true
darkModeColors: true
darkModeTrayIcon: true
defaultNoteFileExtension: md
demoNotesCreated: true
disableAutomaticUpdateDialog: true
dockWasInitializedOnce: true
externalEditorPath: textadept
gitCommitInterval: 30
gitExecutablePath: empty
gitLogCommand: empty
ignoreAllExternalModifications: false
ignoreAllExternalNoteFolderChanges: false
imageScaleDown: false
imageScaleDownMaximumHeight: 1024
imageScaleDownMaximumWidth: 1024
insertTimeFormat: empty
interfaceLanguage: ru
internalIconTheme: true
itemHeight: 20
markdownHighlightingEnabled: true
networking/ignoreSSLErrors: true
networking/proxyHostName: 127.0.0.1
networking/proxyNeedsAuth: false
networking/proxyPassword: <hidden>
networking/proxyPort: 127
networking/proxyType: 3
networking/proxyUser: empty
noteSaveIntervalTime: 10
noteSubfoldersPanelDisplayAsFullTree: false
noteSubfoldersPanelHideSearch: false
noteSubfoldersPanelOrder: 0
noteSubfoldersPanelShowFullPath: false
noteSubfoldersPanelShowRootFolderName: false
noteSubfoldersPanelSort: 0
notesPanelOrder: 0
notesPanelSort: 1
notesPath: /home/user/Documents/notes
notifyAllExternalModifications: true
ownCloud/password: <hidden>
ownCloud/serverUrl: empty
ownCloud/supportEnabled: false
ownCloud/todoCalendarBackend: 1
ownCloud/todoCalendarCalDAVPassword: <hidden>
ownCloud/todoCalendarCalDAVServerUrl: empty
ownCloud/todoCalendarCalDAVUsername: empty
ownCloud/todoCalendarEnabledList: empty
ownCloud/todoCalendarEnabledUrlList: empty
ownCloud/todoCalendarUrlList: empty
ownCloud/userName: empty
previousWorkspace: 98840265-b52b-4f5c-8c6f-937cfca44feb
recentNoteFolders: /home/user/Documents/notes2, /home/user/Documents/notes3, /home/user/QOwnNotes/Notes
restoreCursorPosition: true
savedSearches/noteFolder-1: Note 2017-05-13T06.34.50, Note 2017-05-11T19.41.26, Note 2017-05-11T18.55.28, Note 2017-05-06T05.26.13, Note 2017-05-06T05.25.52, Note 2017-04-29T04.54.36, Note 2017-04-29T04.51.30, Note 2017-04-29T04.50.30, Note 2017-04-29T04.47.55, Note 2017-04-29T04.47.41, Note 2017-04-29T04.47.06, Note 2017-04-29T04.45.21, Note 2017-04-29T04.44.50, Note 2017-04-29T04.43.55, Note 2017-04-29T04.17.14, Note 2017-04-29T04.16.36, Note 2017-04-29T04.15.36, Note 2017-04-29T04.13.59, Note 2017-04-29T04.08.15, Note 2017-04-29T04.07.37, Note 2017-04-29T04.06.37, Note 2017-04-29T04.05.50, Note 2017-04-29T04.04.35, Note 2017-04-29T04.04.12, Note 2017-04-29T04.03.28, Note 2017-04-29T04.01.28, Note 2017-04-29T03.59.46, Note 2017-04-29T03.33.47, Note 2017-04-29T03.33.08, Note 2017-04-29T03.32.47, Note 2017-04-29T03.29.30, Note 2017-04-29T03.28.49, Note 2017-04-29T03.27.48, Note 2017-04-29T03.26.12, Note 2017-04-29T03.26.00, Note 2017-04-29T03.25.30, Note 2017-04-29T03.25.14, Note 2017-04-29T03.24.21, Note 2017-04-29T03.23.54, Note 2017-04-29T03.21.47, Note 2017-04-29T03.20.11, Note 2017-04-29T03.19.17, Note 2017-04-29T03.18.05, Note 2017-04-29T03.17.47, Note 2017-04-29T01.49.54, Note 2017-04-29T01.49.42, Note 2017-04-29T01.49.16, Note 2017-04-29T01.46.58, Note 2017-04-29T01.46.39, Note 2017-04-29T01.46.28, Note 2017-04-29T01.46.08, Note 2017-04-29T01.45.43, Note 2017-04-29T01.44.54, Note 2017-04-29T01.44.42, Note 2017-04-29T01.44.21, Note 2017-04-29T01.42.33, Note 2017-04-29T01.41.33, Note 2017-04-29T01.40.45, Note 2017-04-29T01.40.13, Note 2017-04-29T01.36.44, Note 2017-04-29T01.36.11, Note 2017-04-29T01.34.09, Note 2017-04-29T01.17.55, Note 2017-04-28T01.18.13, Note 2017-04-13T04.48.22
savedSearches/noteFolder-3: Note 2017-01-05T12.01.00, Note 2017-01-05T11.23.16
savedSearches/noteFolder-4: Note 2017-06-19T20.27.57, Note 2017-06-19T20.26.46, Note 2017-06-15T07.39.27, Note 2017-06-15T07.38.16, Note 2017-06-15T03.22.09, Note 2017-06-15T03.20.30, Note 2017-06-01T23.52.14, Note 2017-06-01T23.48.07, Note 2017-05-30T10.06.04, Note 2017-05-30T01.14.32, Note 2017-05-30T00.17.36, Note 2017-05-29T09.45.47, Note 2017-05-29T09.42.11, Note 2017-05-29T09.42.10, Note 2017-05-29T09.42.09, Note 2017-05-29T09.42.08, Note 2017-05-29T09.42.07, Note 2017-05-29T09.42.06, Note 2017-05-29T09.42.02, Note 2017-05-29T09.42.01, Note 2017-05-29T09.41.59, Note 2017-05-29T09.41.56, Note 2017-05-29T09.41.55, Note 2017-05-29T09.41.54, Note 2017-05-29T09.41.53, Note 2017-05-29T09.41.33, Note 2017-05-29T09.38.26, Note 2017-05-29T09.36.23, Note 2017-05-29T09.36.16, Note 2017-05-29T09.34.36, Note 2017-05-29T09.22.38, Note 2017-05-29T09.22.28, Note 2017-05-29T09.22.21, Note 2017-05-29T09.21.59, Note 2017-05-29T09.21.19, Note 2017-05-29T09.20.43, Note 2017-05-29T09.00.40, Note 2017-05-29T09.00.13, Note 2017-05-29T08.57.29, Note 2017-05-29T08.11.28, Note 2017-05-29T05.16.08, Note 2017-05-27T22.43.57, Note 2017-05-27T13.09.35, Note 2017-05-27T08.56.09, Note 2017-05-14T06.00.15, Note 2017-05-14T02.26.24, Note 2017-05-13T13.14.54, Note 2017-05-12T21.29.51, Note 2017-05-12T21.29.27, Note 2017-05-12T21.28.51, Note 2017-05-12T21.27.20, Note 2017-05-12T21.26.25, Note 2017-05-12T21.25.57, Note 2017-05-12T21.25.27, Note 2017-05-12T21.25.03, Note 2017-05-12T21.24.12, Note 2017-05-12T21.21.42, Note 2017-05-12T21.20.32, Note 2017-05-12T21.19.51, Note 2017-05-12T21.17.40, Note 2017-05-12T20.23.22, Note 2017-05-12T17.38.18
showMenuBar: true
showStatusBar: true
tagWasAddedToNote: true
tagsPanelHideSearch: false
tagsPanelOrder: 0
tagsPanelSort: 0
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: Главная панель инструментов
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: панель инструментов форматирования
toolbar/3/items: actionInsert_Link_to_note, actionInsert_image, actionInsert_current_time
toolbar/3/name: insertingToolbar
toolbar/3/title: панель инструментов вставки
toolbar/4/items: action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note
toolbar/4/name: encryptionToolbar
toolbar/4/title: панель инструментов шифрования
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: панель инструментов окна
toolbar/6/items: empty
toolbar/6/name: quitToolbar
toolbar/6/title: Панель инструментов выхода
toolbar/size: 6
useUNIXNewline: false
workspace-98840265-b52b-4f5c-8c6f-937cfca44feb/name: минимальный
workspace-98840265-b52b-4f5c-8c6f-937cfca44feb/noteSubFolderDockWidgetVisible: true
workspace-98840265-b52b-4f5c-8c6f-937cfca44feb/windowState: <binary data>
workspace-d6419ed5-7558-4e66-97fd-48c0e952c51b/name: на весь экран
workspace-d6419ed5-7558-4e66-97fd-48c0e952c51b/noteSubFolderDockWidgetVisible: true
workspace-d6419ed5-7558-4e66-97fd-48c0e952c51b/windowState: <binary data>
workspaces: d6419ed5-7558-4e66-97fd-48c0e952c51b, 98840265-b52b-4f5c-8c6f-937cfca44feb

System environment

QT_QPA_PLATFORMTHEME: qt5ct
XDG_VTNR: 7
UDEdir: empty
XDG_SESSION_ID: 1
SSH_AGENT_PID: 5508
CLUTTER_IM_MODULE: xim
rvm_bin_path: /usr/share/rvm/bin
GPG_AGENT_INFO: /tmp/gpg-9gRboW/S.gpg-agent:5534:1
GEM_HOME: /home/user/.rvm/gems/ruby-2.3.0
SHELL: /bin/bash
TERM: linux
XDG_SESSION_COOKIE: 8288b715b0334cf99be115df545f422a-1497698316.601546-1009987931
IRBRC: /usr/share/rvm/rubies/ruby-2.3.0/.irbrc
PERL5LIB: /home/user/perl5/lib/perl5:/home/user/perl5/lib/perl5:
QTDIR: /opt/qt57
GNOME_KEYRING_CONTROL: /run/user/1000/keyring-w8yaYO
MY_RUBY_HOME: /usr/share/rvm/rubies/ruby-2.3.0
PERL_MB_OPT: --install_base "/home/user/perl5"
GTK_MODULES: gtk-vector-screenshot
SWT_GTK3: 0
USER: user
LD_LIBRARY_PATH: /opt/qt57/lib/i386-linux-gnu:/opt/qt57/lib:
_system_type: Linux
rvm_path: /usr/share/rvm
SSH_AUTH_SOCK: /tmp/ssh-MwocK4Jd0bke/agent.5507
rvm_prefix: /usr/share
PATH: /opt/qt57/bin:/home/user/bin:/home/user/perl5/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/heroku/bin:/home/user/bin:/home/user/perl5/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/heroku/bin:/home/user/.rvm/gems/ruby-2.3.0/bin:/home/user/.rvm/gems/ruby-2.3.0@global/bin:/usr/share/rvm/rubies/ruby-2.3.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/rvm/bin
MAIL: /var/mail/user
QT_IM_MODULE: xim
PWD: /home/user
XMODIFIERS: @im=fcitx
EDITOR: vim
LANG: ru_RU.UTF-8
GNOME_KEYRING_PID: 5396
_system_arch: i386
_system_version: 17
rvm_version: 1.27.0 (latest)
HOME: /home/user
SHLVL: 1
XDG_SEAT: seat0
GNOME_DESKTOP_SESSION_ID: default
PERL_LOCAL_LIB_ROOT: /home/user/perl5:/home/user/perl5:
CUR_WIDTH: 71
LOGNAME: user
GEM_PATH: /home/user/.rvm/gems/ruby-2.3.0:/home/user/.rvm/gems/ruby-2.3.0@global
DBUS_SESSION_BUS_ADDRESS: unix:abstract=/tmp/dbus-6bBu8UI0NK,guid=9ad67539c8e68649409de95859451015
QT4_IM_MODULE: xim
PKG_CONFIG_PATH: /opt/qt57/lib/pkgconfig:
GTK_CSD: 1
TEXTDOMAIN: im-config
DISPLAY: :0.0
XDG_RUNTIME_DIR: /run/user/1000
GTK_IM_MODULE: xim
NO_AT_BRIDGE: 1
RUBY_VERSION: ruby-2.3.0
RSYNC_RSH: ssh -p 3253 -c arcfour -o Compression=no -x
VDPAU_DRIVER: va_gl
_system_name: Mint
TEXTDOMAINDIR: /usr/share/locale/
PERL_MM_OPT: INSTALL_BASE=/home/user/perl5
XAUTHORITY: /home/user/.Xauthority
_: /usr/bin/QOwnNotes

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

[июн 19 20:24:36] [status]: 1 заметок(ки) были перемещены в подкаталог заметки «done»
[июн 19 20:24:36] [status]: Каталог заметок был изменен извне
[июн 19 20:24:50] [warning]: QFSFileEngine::open: No file name specified
[июн 19 20:24:50] [warning]: QFSFileEngine::open: No file name specified
[июн 19 20:24:50] [warning]: QFSFileEngine::open: No file name specified
[июн 19 20:24:50] [warning]: QFSFileEngine::open: No file name specified
[июн 19 20:25:02] [warning]: QFSFileEngine::open: No file name specified
[июн 19 20:25:02] [warning]: QFSFileEngine::open: No file name specified
[июн 19 20:25:02] [warning]: QFSFileEngine::open: No file name specified
[июн 19 20:25:02] [warning]: QFSFileEngine::open: No file name specified
[июн 19 20:25:02] [warning]: QFSFileEngine::open: No file name specified
[июн 19 20:25:02] [warning]: QFSFileEngine::open: No file name specified

@pbek

This comment has been minimized.

Owner

pbek commented Jun 19, 2017

A # in the first line is not allowed because the first line will be the name of the file, until you turn that off in the general settings. ;)

@pbek pbek closed this Jun 19, 2017

@Flashwalker

This comment has been minimized.

Flashwalker commented Jun 19, 2017

Buuuuut, if there is no space after hash: #Здравомыслие, it works ok: /home/user/Documents/notes/#Здравомыслие.md ;)
So, how about ok with space?

@pbek

This comment has been minimized.

Owner

pbek commented Jun 19, 2017

@Flashwalker

This comment has been minimized.

Flashwalker commented Jun 19, 2017

And if there is more hashes with space after: ### Здравомыслие, it works ok too: /home/user/Documents/notes/### Здравомыслие.md ;)

@pbek pbek reopened this Jun 19, 2017

@pbek

This comment has been minimized.

Owner

pbek commented Jun 19, 2017

I wonder if I can do something about that without doing any damage...

@Flashwalker

This comment has been minimized.

Flashwalker commented Jun 19, 2017

It would be nice :)

In my humble opinion

  • It's good to let the user decide how the file will be named
  • The contents of the note should not suffer while sanitizing file name

@pbek pbek added the enhancement label Jun 19, 2017

@pbek pbek added this to the 17.06.5 milestone Jun 19, 2017

@pbek

This comment has been minimized.

Owner

pbek commented Jun 19, 2017

17.06.5

  • the first line of the note is now not modified when the note file gets
    automatically renamed because of harmful or unwanted characters
    • this doesn't seem to trouble ownCloud / Nextcloud notes a lot, but it
      renames the notes to its own liking
    • so you could use # at the beginning of your note and it will only be
      removed in the note file name (unless you allow the note file name to
      be different from the headline in the General settings)
    • if you want more control over your note file name you can achieve that
      by writing a script, please take a look at
      handleNoteTextFileNameHook
@pbek

This comment has been minimized.

Owner

pbek commented Jun 19, 2017

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

@Flashwalker

This comment has been minimized.

Flashwalker commented Jun 20, 2017

It works now, thanks!

@pbek

This comment has been minimized.

Owner

pbek commented Jun 20, 2017

Thank you for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment