QOwnNotes
QOwnNotes copied to clipboard
[I] Toolbar icons oversized on external monitor
Please paste the text from the issue assistant here. It should be already in your clipboard.#### Expected behaviour
toolbar icons will display correctly regardless of display used
Actual behaviour
when used on an externally attached monitor toolbar icons are oversized. This behavior is not seen on qownnotes 18.9.03
Steps to reproduce
Open or drag qownnotes to external monitor.
Relevant log output in the Log panel
Expand
[10:19:33] [warning] "QNetworkReply error 4 from url https://.owncube.com/ocs/v1.php/apps/files_sharing/api/v1/shares: " "Socket operation timed out"
[10:19:33] [warning] "QNetworkReply error 4 from url https://.owncube.com/remote.php/dav/calendars//default/: " "Socket operation timed out"
[10:19:33] [warning] "QNetworkReply error 4 from url https://.owncube.com/index.php/apps/qownnotesapi/api/v1/note/app_info?format=json¬es_path=/CaseNotes/&version_test=1: " "Socket operation timed out"
Information about the application, settings and environment
Expand
QOwnNotes Debug Information
General Info
Current Date: Wed Mar 27 10:22:07 2019
Version: 19.3.4
Build date: Mar 26 2019
Build number: 4197
Platform: macosx
Operating System: macOS High Sierra (10.13)
Build architecture: x86_64
Current architecture: x86_64
Release: Travis CI
Qt Version (build): 5.12.2
Qt Version (runtime): 5.12.2
Portable mode: no
Settings path / key: /Users//Library/Preferences/com.pbe.QOwnNotes.plist
Application database path: /Users//Library/Application Support/PBE/QOwnNotes/QOwnNotes.sqlite
Application arguments: /Applications/QOwnNotes 2.app/Contents/MacOS/QOwnNotes
Qt Debug: 0
Locale (system): en_US
Locale (interface): empty
Icon theme: breeze-qownnotes
Notes in current note folder: 27
Enabled scripts: 2
Server Info
serverUrl: https://.owncube.com
appIsValid: yes
notesPathExists: not found
serverVersion: 10.0.10.4
appVersion: empty
Note folders
currentNoteFolderId: 1
Note folder Case Notes
id: 1
isCurrent: yes
activeTagId: 0
localPath: /Users//ownCloud/CaseNotes
remotePath: CaseNotes
isShowSubfolders: no
isUseGit: no
activeNoteSubFolder name: empty
database file: /Users/n/ownCloud/CaseNotes/notes.sqlite
Note folder CNC Notes
id: 3
isCurrent: no
activeTagId: 0
localPath: /Users//ownCloud/CNC
remotePath: CNC
isShowSubfolders: no
isUseGit: no
activeNoteSubFolder name: empty
database file: /Users//ownCloud/CNC/notes.sqlite
Enabled scripts
Script new-note-clipboard
id: 2
path: /Users//Documents/QOwnNotesScripts/new-note-clipboard.qml
variablesJson: empty
Script notefromjira
id: 3
path: /Users//Documents/QOwnNotesScripts/notefromjira.qml
variablesJson: empty
Settings
AKLastCheckInAttemptDate (QDateTime): 2019-03-27T07:51:34.036
AKLastCheckInSuccessDate (QDateTime): 2019-03-27T07:51:35.019
AKLastEmailListRequestDateKey (QDateTime): 2019-03-27T10:02:04.175
AKLastIDMSEnvironment (qlonglong): 0
ActiveNoteHistoryItem (NoteHistoryItem): <binary data>
Country (QString): US
Debug/fakeOldVersionNumber (bool): false
Debug/fileLogging (bool): false
Editor/CurrentSchemaKey (QString): EditorColorSchema-cdbf28fc-1ddc-4d13-bb21-6a4043316a2f
Editor/autoBracketClosing (bool): true
Editor/autoBracketRemoval (bool): true
Editor/editorWidthInDFMOnly (bool): true
Editor/highlightCurrentLine (bool): true
Editor/vimMode (bool): false
FileDialog/LastPath (QString): /Users//Documents/QOwnNotesScripts
FileDialog/LastPath-ScriptPath (QString): /Users//Documents/QOwnNotesScripts
Fitbit Inc/ Blaze (QString): 1
General UDisk (QString): 1
Generic Mass Storage (QString): 1
Generic Mass Storage Device (QString): 1
Generic USB Storage (QString): 1
HP DeskJet 3700 series (QString): 1
HP LaserJet M101-M106 (QString): 1
HUAWEI BTV-W09 (QString): 1
IssueAssistantDialog/geometry (QByteArray): <binary data>
KONICA MINOLTA C364Series (QString): 1
Kingston DataTraveler 3/0 (QString): 1
LastUpdateCheck (QDateTime): 2019-03-27T10:18:33.580
LogWidget/criticalLog (bool): true
LogWidget/debugLog (bool): true
LogWidget/fatalLog (bool): true
LogWidget/infoLog (bool): true
LogWidget/scriptingLog (bool): true
LogWidget/statusLog (bool): true
LogWidget/warningLog (bool): true
Logitech USB Receiver (QString): 1
MainWindow/geometry (QByteArray): <binary data>
MainWindow/mainToolBar.iconSize (qlonglong): 32
MainWindow/menuBarGeometry (QByteArray): <binary data>
MainWindow/noteTextEdit.code.font (QString): Monaco,10,-1,5,50,0,0,0,0,0
MainWindow/noteTextEdit.font (QString): .SF NS Text,13,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.code.font (QString): Monaco,10,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.font (QString): .SF NS Text,13,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.rtl (bool): false
MainWindow/noteTextView.underline (bool): true
NoteHistory-1 (QVariantList): <variant list with 1 item(s)>
NoteHistory-3 (QVariantList): <variant list with 2 item(s)>
NoteHistoryCurrentIndex-1 (qlonglong): 0
NoteHistoryCurrentIndex-3 (qlonglong): 1
PKSecureElementAvailableFlags (qlonglong): 3
PNY USB 2/0 FD (QString): 1
PiwikClientId (QString): <hidden>
Realtek USB 10·100·1000 LAN (QString): 1
SanDisk Ultra Fit (QString): 1
ScriptRepositoryDialog/geometry (QByteArray): <binary data>
ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data>
Seagate GoFlex Desk (QString): 1
SearchEngineId (qlonglong): 0
SettingsDialog/geometry (QByteArray): <binary data>
SettingsDialog/mainSplitterState (QByteArray): <binary data>
ShowSystemTray (bool): false
StartHidden (bool): false
SyncServicesServerWasActive (bool): true
USB Storage USB Storage (QString): 1
UpdateDialog/geometry (QByteArray): <binary data>
VIA Technologies Inc/ USB 2/0 BILLBOARD (QString): 1
WebAutomaticSpellingCorrectionEnabled (bool): true
WelcomeDialog/geometry (QByteArray): <binary data>
_HIHideMenuBar (bool): true
acceptAllExternalModifications (bool): false
allowDifferentNoteFileName (bool): false
allowNoteEditing (bool): true
allowOnlyOneAppInstance (bool): false
appMetrics/disableAppHeartbeat (bool): false
appMetrics/disableTracking (bool): false
appMetrics/notificationShown (bool): true
automaticNoteFolderDatabaseClosing (bool): false
closeTodoListAfterSave (bool): false
cryptoKey (qlonglong): <hidden>
currentNoteFolderId (qlonglong): 1
currentWorkspace (QString): 114eabd1-0222-4437-9241-9ca858efd4c1
cursorWidth (qlonglong): 1
customNoteFileExtensionList (QStringList): empty
darkMode (bool): false
darkModeColors (bool): true
darkModeTrayIcon (bool): false
defaultNoteFileExtension (QString): md
demoNotesCreated (bool): true
disableAutomaticUpdateDialog (bool): false
disableSavedSearchesAutoCompletion (bool): false
dockWasInitializedOnce (bool): true
enableSocketServer (bool): true
externalEditorPath (QString): empty
fullyHighlightedBlockquotes (bool): false
gitCommitInterval (qlonglong): 30
gitExecutablePath (QString): empty
gitLogCommand (QString): empty
guiFirstRunInit (bool): true
ignoreAllExternalModifications (bool): false
ignoreAllExternalNoteFolderChanges (bool): false
ignoreNoteSubFolders (QString): ^\.
imageScaleDown (bool): false
imageScaleDownMaximumHeight (qlonglong): 1024
imageScaleDownMaximumWidth (qlonglong): 1024
insertTimeFormat (QString): MM.dd.yyyy hh:mm
interfaceFontSize (qlonglong): 11
interfaceLanguage (QString): empty
internalIconTheme (bool): false
itemHeight (qlonglong): 18
localTrash/autoCleanupDays (qlonglong): 30
localTrash/autoCleanupEnabled (bool): true
localTrash/supportEnabled (bool): true
markdownHighlightingEnabled (bool): true
navigationPanelHideSearch (bool): false
networking/ignoreSSLErrors (bool): true
networking/proxyType (qlonglong): 2
newNoteAskHeadline (bool): false
noteEditIsCentralWidget (bool): true
noteListPreview (bool): false
noteSaveIntervalTime (qlonglong): 10
noteSubfoldersPanelDisplayAsFullTree (bool): true
noteSubfoldersPanelHideSearch (bool): false
noteSubfoldersPanelOrder (qlonglong): 0
noteSubfoldersPanelShowFullPath (bool): false
noteSubfoldersPanelShowNotesRecursively (bool): false
noteSubfoldersPanelShowRootFolderName (bool): true
noteSubfoldersPanelSort (qlonglong): 0
notesPanelOrder (qlonglong): 0
notesPanelSort (qlonglong): 1
notesPath (QString): /Users//ownCloud/CaseNotes
notifyAllExternalModifications (bool): false
overrideInterfaceFontSize (bool): false
ownCloud/password (QString): <hidden>
ownCloud/serverUrl (QString): https://.owncube.com
ownCloud/supportEnabled (bool): true
ownCloud/todoCalendarBackend (qlonglong): 3
ownCloud/todoCalendarCalDAVPassword (QString): <hidden>
ownCloud/todoCalendarCalDAVServerUrl (QString): empty
ownCloud/todoCalendarCalDAVUsername (QString): empty
ownCloud/todoCalendarDisplayNameList (QStringList): default
ownCloud/todoCalendarEnabledList (QStringList): default
ownCloud/todoCalendarEnabledUrlList (QStringList): https://.owncube.com/remote.php/dav/calendars//default/
ownCloud/todoCalendarUrlList (QStringList): https://.owncube.com/remote.php/dav/calendars//default/
ownCloud/userName (QString): ``
ownCloudInfo/appIsValid (bool): true
ownCloudInfo/connectionErrorMessage (QString): Unknown error
ownCloudInfo/notesPathExistsText (QString): not found
ownCloudInfo/serverVersion (QString): 10.0.10.4
previousWorkspace (QString): 4a9a20d3-c3a2-4dc0-83e3-41a1da7dc0fb
recentNoteFolders (QStringList): /Users//ownCloud/CNC, /Users//ownCloud/Fitness
restoreCursorPosition (bool): false
savedSearches/noteFolder-0 (QStringList): Note 2019-03-11T23.57.58
savedSearches/noteFolder-1 (QStringList): Note 2019-03-25T08.28.21, Note 2019-03-25T08.25.49, Note 2019-03-21T10.43.32, Note 2019-03-13T14.10.27, Note 2019-03-13T14.09.16, Note 2019-03-13T13.13.19, Note 2019-03-13T13.09.09, Note 2019-03-13T13.06.23, Note 2019-03-13T12.58.56, Note 2019-03-13T12.55.55, Note 2019-03-13T12.55.04, Note 2019-03-13T12.54.21, Note 2019-03-13T12.51.59, Note 2019-03-13T12.50.56, Note 2019-03-13T12.50.11, Note 2019-03-13T10.09.53, Note 2019-03-13T10.08.59, Note 2019-03-13T09.54.53, Note 2019-03-13T09.48.09, Note 2019-03-13T09.45.31, Note 2019-03-13T09.43.46, Note 2019-03-12T15.13.51, Note 2019-03-12T15.08.30, Note 2019-03-12T14.55.51, Note 2019-03-12T14.45.32, Note 2019-03-12T10.14.08, Note 2019-03-12T09.42.21, Note 2019-03-12T09.39.03, Note 2019-03-12T09.36.19, Note 2019-03-12T09.28.40, Note 2019-03-12T09.27.33, Note 2019-03-12T09.27.08, Note 2019-03-12T00.06.56
savedSearches/noteFolder-3 (QStringList): Note 2019-03-24T00.14.14, Note 2019-03-20T09.24.26, Note 2019-03-14T13.27.58
showMenuBar (bool): true
showStatusBar (bool): true
skipVersion (QString): 19.3.0
taggingShowNotesRecursively (bool): false
tagsPanelHideSearch (bool): false
tagsPanelOrder (qlonglong): 0
tagsPanelSort (qlonglong): 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): main toolbar
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): formatting toolbar
toolbar/3/items (QStringList): actionInsert_Link_to_note, actionInsert_image, actionInsert_current_time
toolbar/3/name (QString): insertingToolbar
toolbar/3/title (QString): inserting toolbar
toolbar/4/items (QStringList): action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note
toolbar/4/name (QString): encryptionToolbar
toolbar/4/title (QString): encryption toolbar
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): window toolbar
toolbar/6/items (QStringList): action_Quit
toolbar/6/name (QString): quitToolbar
toolbar/6/title (QString): quit toolbar
toolbar/size (qlonglong): 6
useUNIXNewline (bool): false
webSocketServerService/bookmarksNoteName (QString): Bookmarks
webSocketServerService/bookmarksTag (QString): bookmarks
webSocketServerService/port (qlonglong): 22222
workspace-/noteSubFolderDockWidgetVisible (bool): true
workspace-/windowState (QByteArray): <binary data>
workspace-114eabd1-0222-4437-9241-9ca858efd4c1/name (QString): full
workspace-114eabd1-0222-4437-9241-9ca858efd4c1/noteSubFolderDockWidgetVisible (bool): true
workspace-114eabd1-0222-4437-9241-9ca858efd4c1/windowState (QByteArray): <binary data>
workspace-4a9a20d3-c3a2-4dc0-83e3-41a1da7dc0fb/name (QString): minimal
workspace-4a9a20d3-c3a2-4dc0-83e3-41a1da7dc0fb/noteSubFolderDockWidgetVisible (bool): true
workspace-4a9a20d3-c3a2-4dc0-83e3-41a1da7dc0fb/windowState (QByteArray): <binary data>
workspaces (QStringList): 114eabd1-0222-4437-9241-9ca858efd4c1, 4a9a20d3-c3a2-4dc0-83e3-41a1da7dc0fb
System environment
TERM_PROGRAM: Apple_Terminal
SHELL: /bin/bash
TERM: xterm-256color
CLICOLOR: 1
TMPDIR: /var/folders/t3/dg5gw89s1736t390qq19389c0000gn/T/
Apple_PubSub_Socket_Render: /private/tmp/com.apple.launchd.oKV0pRcw75/Render
TERM_PROGRAM_VERSION: 404.1
TERM_SESSION_ID: 924C0E9D-25C1-4786-AC13-D820C2C7259C
USER: **SSH_AUTH_SOCK**: `/private/tmp/com.apple.launchd.7tkQc6Mb1i/Listeners` **LSCOLORS**: `EHfxcxdxBxegecabagacad` **PATH**: `/usr/local/opt/python/libexec/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/salt/bin:/usr/local/sbin:/usr/local/munki:/Applications/Wireshark.app/Contents/MacOS` **PWD**: `/Users/` **DBUS_LAUNCHD_SESSION_BUS_SOCKET**: `/private/tmp/com.apple.launchd.KwZr9XJYq9/unix_domain_listener` **LANG**: `en_US.UTF-8` **XPC_FLAGS**: `0x0` **PS1**: `\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]$ ` **XPC_SERVICE_NAME**: `0` **SHLVL**: `1` **HOME**: `/Users/` **LOGNAME**:
DISPLAY: /private/tmp/com.apple.launchd.4SwzHgPmWt/org.macports:0
SECURITYSESSIONID: 186a7
_: /Applications/QOwnNotes 2.app/Contents/MacOS/QOwnNotes
__CF_USER_TEXT_ENCODING: 0x1F5:0x0:0x0
QT_LOGGING_RULES: qt.network.ssl.warning=false
![Screen Shot 2019-03-27 at 10 27 20 AM](https://user-images.githubusercontent.com/5306141/55084063-f0eff280-507a-11e9-9b1c-b0cc1c0117d8.png)
![Screen Shot 2019-03-27 at 10 26 24 AM](https://user-images.githubusercontent.com/5306141/55084065-f0eff280-507a-11e9-9598-23194b8b0781.png)
please look at #1119 and #1108
or are you talking of something different?
Yup that's it. I looked at 1119 and 1108, I am not using high resolution monitors however. I only have this issue if I upgrade past 18.9.03. On 18.9.03 it works perfectly. I am using OS X.
Maybe the Qt version was changed by Travis, but I can't reproduce your issue on mac OS, everything works fine for me. Why don't you just reset or set the icon size in the settings?
Tried changing settings already. Doesn't work.
So what is your settings for MainWindow/mainToolBar.iconSize
now (you can search for it in the Debug settings)?
Even the Qt version was the same in 19.3.3 (Qt 5.12.2).
MainWindow/mainToolBar.iconSize is currently set to 32 on 18.09.3 and 19.3.4
On Thu, Mar 28, 2019 at 12:33 AM Patrizio Bekerle [email protected] wrote:
Even the Qt version was the same in 19.3.3 (Qt 5.12.2).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pbek/QOwnNotes/issues/1168#issuecomment-477444161, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD3Hdomv1cqgF6UvfnpdonjBwok3GB_ks5vbEYPgaJpZM4cN8AP .
Could you please test https://github.com/pbek/QOwnNotes/releases/download/macosx-b4192-164814/QOwnNotes-19.3.3.dmg if the icons are also too big?
Edit: no need to test that
Ah sorry, I just saw that you previously had 18.9.03... There were a lot of Qt version in between. :) Hard to tell what was changed there. But I wonder why you can't change the toolbar size in the settings.
MainWindow/mainToolBar.iconSize is currently set to 32 on 18.09.3 and 19.3.4
That's the default value, are you sure you changed it?
same issue. changing the toolbar size helps a little. Until I drag it back to my macbook pro display then the icons are small. Enabling dark mode makes it worse, and dark mode is my preferred working environment.
On Thu, Mar 28, 2019 at 8:09 AM Patrizio Bekerle [email protected] wrote:
Could you please test https://github.com/pbek/QOwnNotes/releases/download/macosx-b4192-164814/QOwnNotes-19.3.3.dmg if the icons are also too big?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pbek/QOwnNotes/issues/1168#issuecomment-477568591, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD3HRMCTrQOwJBznBYBV8yLpA7URoJQks5vbLEBgaJpZM4cN8AP .
Then I guess you currently can only hope for Qt to improve the high-dpi situation or play with the source code, like in https://github.com/pbek/QOwnNotes/blob/3b25156a80de9c08b102f9a5f50facc9af07e3c8/src/main.cpp#L287 (an attempt to fix some issues was made there for #1005).
Yup. I will stay on 18.09.3 for now.
On Thu, Mar 28, 2019 at 10:47 AM Patrizio Bekerle [email protected] wrote:
Ah sorry, I just saw that you previously had 18.9.03... There were a lot of Qt version in between. :) Hard to tell what was changed there. But I wonder why you can't change the toolbar size in the settings.
MainWindow/mainToolBar.iconSize is currently set to 32 on 18.09.3 and 19.3.4
That's the default value, are you sure you changed it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pbek/QOwnNotes/issues/1168#issuecomment-477569236, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD3HYIqQv26U7V0Fr7YRRo388UwQRjMks5vbLGHgaJpZM4cN8AP .
Do you still have that problem?
Steps to reproduce:
- Connect 4K UHD Monitor (3840x2160)
- Connect Full HD Monitor (1920x1080)
- Open QOwnNotes and drag it to each display.
macOS 10.14.6 QOwnNotes 19.11.11
Screenshot 1: Full HD 1920x1080 Screenshot 2: UHD 4k 3840x2160 Recording: drag between two display
![Screenshot 2](https://user-images.githubusercontent.com/57713011/68764395-97622580-0655-11ea-92a4-a049b1e01e00.png)
Yes I do
I lack the hardware to reproduce that. :grimacing: And if I could it most certainly would be a thing that macOS does with Qt.
Qt 5.14 may address this.
I have several apps using Qt 5.14 that don't have this problem, QOwnNotes for Mac appears to be using 5.13.2.
See this announcement regarding 5.14 and its high-DPI related fixes: https://lists.qt-project.org/pipermail/development/2019-September/037434.html
Great, then we just need to wait until brew has Qt 5.14.
Nice, we'll possibly see it in the next release then.
On windows, the way to get rid of this is to modify the properties of the exe to "Windows 8" compatibility mode.