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.69k stars 414 forks source link

Reduce context menu size and padding? #2719

Closed chaosdrop closed 1 year ago

chaosdrop commented 1 year ago

Hi, new to QOwnNotes and the first major issue I'm having is that the context menu is massive, it literally fills up most of my screen. It's making it rather cumbersome to add words to the dictionary just because of how much mouse movement is needed to click anything in the context menu, and even worse a lot of the time the spelling option is cutoff at the top of the screen and not even reachable.

2023-02-01_131705

The main interface had a lot of weird padding/spacing too, but that was fixed with the interface font, and icon size settings. Unfortunately I can't seem to find any settings to fix the context menu.

I use scaling 150% I tried enabling compatibility mode so that QOwnNotes would run at 100% instead but that didn't seem to help. On Windows 11 using a 24" 1440p screen.

pbek commented 1 year ago

I wouldn't call 15 entries "massive", but on the other hand your resolution and scaling leaves about 822px vertically of which Windows again will take a junk... Hard to say a lot about your setup without filling you out the issue template (e.g. Debug settings). 😉

But still, you can override the interface font size in the Interface settings and adapt it to your need. And you could do even more with the help of a script (see "Custom user interface styling" in the script repository).

chaosdrop commented 1 year ago

The number of entries isn't the issue it's all the padding around them. Every entry has at least double the padding it needs, at least for a mouse based system, it would be perfect for a touch screen.

I'll try looking into the custom user interface styling, but I'm not looking for a scripting project at the moment.

here's the debug info:

Though it looks wrong?

This line stands out to me: Primary screen resolution: 1280x720

I only have one monitor and it is certainly not that size.

2023-02-01_234051

The windows version also looks wrong, but a lot of programs don't report windows 11 correctly. 2023-02-01_234315

QOwnNotes Debug Information

General Info

Current Date: Wed Feb 1 23:33:02 2023 Version: 23.1.6 Build date: Feb 1 2023 Build number: 1009 Platform: windows Operating System: Windows 10 Version 2009 Build architecture: x86_64 Current architecture: x86_64 Release: GitHub Actions Qt Version (build): 5.15.2 Qt Version (runtime): 5.15.2 Portable mode: no Settings path / key: \HKEY_CURRENT_USER\Software\PBE\QOwnNotes Application database path: C:\Users\user\AppData\Roaming\PBE\QOwnNotes\QOwnNotes.sqlite Application arguments: B:\Users\user\Desktop\QOwnNotes\QOwnNotes.exe Qt Debug: 0 Locale (system): en_US Locale (interface): empty Primary screen resolution: 1280x720 Icon theme: breeze-dark-qownnotes Notes in current note folder: 4 Calendar items: 0 Enabled scripts: 2

Server Info

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

Spellchecking

Enabled: true Selected language: en_US Language codes: en_US Language names: American English (United States) Application dictionaries path: C:\Users\user\AppData\Roaming\PBE\QOwnNotes\dicts

Note folders

currentNoteFolderId: 1

Note folder default

id: 1 isCurrent: yes activeTagId: 0 localPath: B:\Notes remotePath: Notes cloudConnectionId: 1 isShowSubfolders: yes isUseGit: yes allowDifferentNoteFileName: yes activeNoteSubFolder name: empty database file: B:\Notes\notes.sqlite

Cloud connections

Cloud connection Default

id: 1 isCurrent: yes serverUrl: empty username: empty accountId: empty

Enabled scripts

Script Export notes as website

id: 1 path: C:\Users\user\AppData\Roaming\PBE\QOwnNotes\scripts\export-notes-as-website\export-notes-as-website.qml variablesJson:

{
    "defaultExportFolder": "export",
    "exportStyleSelection": "opt1"
}

identifier: export-notes-as-website version: 1.1.0 minAppVersion: 22.11.8

Script Wiki Links

id: 2 path: C:\Users\user\AppData\Roaming\PBE\QOwnNotes\scripts\wiki-links\wiki-links.qml variablesJson:

{
    "wikilinksBackgroundColor": "#FFFF00",
    "wikilinksForegroundColor": "#ff832b",
    "wikilinksHideSubfolder": true,
    "wikilinksLowerCase": true,
    "wikilinksRemoveSpaces": true,
    "wikilinksReplaceSpacesSymbol": "-",
    "wikilinksSanitizeFilename": true
}

identifier: wiki-links version: 0.0.1 minAppVersion: 20.6.0

Settings

ActiveNoteHistoryItem (NoteHistoryItem): <binary data> Debug/fakeOldVersionNumber (QString): false Debug/fileLogging (QString): false DictionaryManagerDialog/geometry (QByteArray): <binary data> DictionaryManagerDialog/mainSplitterState (QByteArray): <binary data> Editor/ColorSchemes (QStringList): EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70 Editor/CurrentSchemaKey (QString): EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70 Editor/autoBracketClosing (QString): true Editor/autoBracketRemoval (QString): true Editor/disableCursorBlinking (QString): false Editor/editorWidthInDFMOnly (QString): true Editor/highlightCurrentLine (QString): true Editor/indentSize (int): 4 Editor/removeTrailingSpaces (QString): false Editor/showLineNumbers (QString): false Editor/useTabIndent (QString): true Editor/vimMode (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_-1 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_0 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_1 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_1000 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_1001 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_1002 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_1003 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_1004 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_1005 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_1006 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_12 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_13 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_14 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_15 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_16 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_17 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_18 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_19 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_2 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_21 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_22 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_23 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_25 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_28 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_3 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_4 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_7 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColorEnabled_8 (QString): false EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_-1 (QColor): #201f1f EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_0 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_1 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_1000 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_1001 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_1002 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_1003 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_1004 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_1005 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_12 (QColor): #ebebf0 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_13 (QColor): #ebebf0 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_14 (QColor): #ebebf0 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_15 (QColor): #ebebf0 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_16 (QColor): #ebebf0 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_17 (QColor): #ebebf0 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_18 (QColor): #f5f9d8 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_19 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_2 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_21 (QColor): #444444 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_22 (QColor): #3e3e44 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_23 (QColor): #333333 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_25 (QColor): #3e3c36 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_28 (QColor): #3e3c36 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_3 (QColor): #e4ffe4 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_4 (QColor): #000000 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_7 (QColor): #9eb6ff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/BackgroundColor_8 (QColor): #dbf9e5 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Bold_12 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Bold_13 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Bold_14 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Bold_15 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Bold_16 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Bold_17 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Bold_8 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/FontSizeAdaption_12 (QString): 200 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/FontSizeAdaption_13 (QString): 160 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/FontSizeAdaption_14 (QString): 130 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/FontSizeAdaption_16 (QString): 90 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/FontSizeAdaption_17 (QString): 90 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_-1 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_0 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_1 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_10 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_1000 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_1001 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_1002 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_1003 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_1004 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_1005 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_1006 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_11 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_12 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_13 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_14 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_15 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_16 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_17 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_18 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_19 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_2 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_20 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_21 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_22 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_23 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_24 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_26 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_29 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_3 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_30 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_4 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_5 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_6 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_7 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_8 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColorEnabled_9 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_-1 (QColor): #ffffff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_0 (QColor): #fc7e00 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_1 (QColor): #fc7e00 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_10 (QColor): #ffff00 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_1000 (QColor): #f92672 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_1001 (QColor): #e6db74 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_1002 (QColor): #75715e EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_1003 (QColor): #66d9ef EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_1004 (QColor): #e69f66 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_1005 (QColor): #ae81ff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_1006 (QColor): #a6e22e EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_11 (QColor): #686868 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_12 (QColor): #9eb6ff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_13 (QColor): #b2c8ff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_14 (QColor): #c6d6ff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_15 (QColor): #dae4ff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_16 (QColor): #e4ecff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_17 (QColor): #e4ecff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_18 (QColor): #aa0000 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_19 (QColor): #00aa00 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_2 (QColor): #fc7e00 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_20 (QColor): #e1e1e1 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_21 (QColor): #d5d5d5 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_22 (QColor): #81acdf EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_23 (QColor): #00aa00 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_24 (QColor): #505050 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_26 (QColor): #ff5500 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_29 (QColor): #ff5a5a EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_3 (QColor): #00bf00 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_30 (QColor): #c3ff82 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_4 (QColor): #cf9be3 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_5 (QColor): #e1e1e1 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_6 (QColor): #e1e1e1 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_7 (QColor): #9eb6ff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_8 (QColor): #9eb6ff EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/ForegroundColor_9 (QColor): #ffff00 EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Italic_7 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Name (QString): Dark (Copy) EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Underline_26 (QString): true EditorColorSchema-9c91758f-9dff-4384-b7d0-33e7dc6d7e70/Underline_31 (QString): true FileDialog/LastPath (QString): B:/Users/CHX/Desktop FileDialog/LastPath-NoteHTMLExport (QString): B:/Users/CHX/Desktop FileDialog/LastPath-NotePDFExport (QString): B:/Users/CHX/Desktop FileDialog/LastPath-PreviewHTMLFileExport (QString): B:/Users/CHX/Desktop LastUpdateCheck (QDateTime): 2023-02-01T23:26:11.824 MainWindow/geometry (QByteArray): <binary data> MainWindow/mainToolBar.iconSize (int): 12 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): Courier Screenplay,9,-1,5,50,0,0,0,0,0,Regular 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,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.ignoreCodeFontSize (QString): true MainWindow/noteTextView.refreshDebounceTime (int): 600 MainWindow/noteTextView.rtl (QString): false MainWindow/noteTextView.underline (QString): true MainWindow/noteTextView.useEditorStyles (QString): true MainWindow/noteTextView.useInternalExportStyling (QString): true MainWindow/showNotesFromAllNoteSubFolders (QString): false NoteDialog/geometry (QByteArray): <binary data> NoteDialog/tabWidgetIndex (int): 0 NoteFolder-1/NoteTabNameList (QStringList): Argo NoteFolder-1/NoteTabStickinessList (QStringList): empty NoteFolder-1/NoteTabSubFolderPathDataList (QStringList): empty NoteFolder-1/allowDifferentNoteFileName (QString): true NoteHistory-1 (QVariantList): <variant list with 7 item(s)> NoteHistoryCurrentIndex-1 (int): 6 PiwikClientId (QString): <hidden> Printer/NotePDFExportOrientation (int): 0 Printer/NotePDFExportPageSize (int): 4 ScriptRepositoryDialog/geometry (QByteArray): <binary data> ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data> SearchEngineId (int): 2 SettingsDialog/geometry (QByteArray): <binary data> SettingsDialog/mainSplitterState (QByteArray): <binary data> ShareDialog/geometry (QByteArray): <binary data> ShowSystemTray (QString): false StartHidden (QString): false WelcomeDialog/geometry (QByteArray): <binary data> acceptAllExternalModifications (QString): false allowNoteEditing (QString): true allowOnlyOneAppInstance (QString): true appMetrics/disableAppHeartbeat (QString): true appMetrics/disableTracking (QString): true appMetrics/notificationShown (QString): true automaticNoteFolderDatabaseClosing (QString): false checkSpelling (QString): true closeTodoListAfterSave (QString): false cryptoKey (qlonglong): <hidden> currentNoteFolderId (int): 1 currentWorkspace (QString): initial cursorWidth (int): 1 darkMode (QString): true darkModeColors (QString): true darkModeIconTheme (QString): true darkModeTrayIcon (QString): true defaultNoteFileExtension (QString): md demoNotesCreated (QString): true disableAutomaticUpdateDialog (QString): true disableSavedSearchesAutoCompletion (QString): false dockWasInitializedOnce (QString): true enableNoteTree (QString): false enableSocketServer (QString): false enableWebAppSupport (QString): false 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): ^\. ignoredNoteFiles (QString): empty imageScaleDown (QString): false imageScaleDownMaximumHeight (int): 1024 imageScaleDownMaximumWidth (int): 1024 initialLayoutIdentifier (QString): minimal insertTimeFormat (QString): empty interfaceFontSize (int): 10 interfaceLanguage (QString): empty interfaceStyle (QString): Windows internalIconTheme (QString): true itemHeight (int): 15 legacyLinking (QString): false localTrash/autoCleanupDays (int): 30 localTrash/autoCleanupEnabled (QString): true localTrash/supportEnabled (QString): true markdownHighlightingEnabled (QString): true navigationPanelAutoSelect (QString): true navigationPanelHideSearch (QString): false networking/ignoreSSLErrors (QString): true networking/proxyType (int): 2 newNoteAskHeadline (QString): false noteEditIsCentralWidget (QString): true noteFileExtensionList (QStringList): md, txt 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): B:/Notes notifyAllExternalModifications (QString): false overrideInterfaceFontSize (QString): true ownCloud/supportEnabled (QString): false ownCloud/todoCalendarBackend (int): 3 ownCloud/todoCalendarCalDAVPassword (QString): <hidden> ownCloud/todoCalendarCalDAVServerUrl (QString): empty ownCloud/todoCalendarCalDAVUsername (QString): empty ownCloud/todoCalendarCloudConnectionId (int): 1 ownCloud/todoCalendarDisplayNameList (QStringList): empty ownCloud/todoCalendarEnabledList (QStringList): empty ownCloud/todoCalendarEnabledUrlList (QStringList): empty ownCloud/todoCalendarUrlList (QStringList): empty ownCloudInfo/appIsValid (QString): false ownCloudInfo/connectionErrorMessage (QString): empty ownCloudInfo/notesPathExistsText (QString): empty ownCloudInfo/serverVersion (QString): empty restoreCursorPosition (QString): true restoreLastNoteAtStartup (QString): true restoreNoteTabs (QString): true savedSearches/noteFolder-1 (QStringList): Note 2023-02-01T14.45.16, Note 2023-02-01T13.11.44, Note 2023-02-01T13.06.40 showMatches (QString): true showMenuBar (QString): true showStatusBar (QString): true spellCheckLanguage (QString): en_US startInReadOnlyMode (QString): false systemIconTheme (QString): false taggingShowNotesRecursively (QString): false tagsPanelHideNoteCount (QString): false tagsPanelHideSearch (QString): false tagsPanelOrder (int): 0 tagsPanelSort (int): 0 todoCalendarSupport (QString): true toolbar/1/items (QStringList): action_New_note, action_Open_note_in_external_editor, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , actionReplace_in_current_note, , actionShow_versions, actionShare_note, , actionShow_Todo_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_text_link, 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 (int): 6 useNoteFolderButtons (QString): false useUNIXNewline (QString): false webAppClientService/serverUrl (QString): wss://app.qownnotes.org webAppClientService/token (QString): <hidden> webSocketServerService/bookmarksNoteName (QString): Bookmarks webSocketServerService/bookmarksTag (QString): bookmarks webSocketServerService/commandSnippetsNoteName (QString): Commands webSocketServerService/commandSnippetsTag (QString): commands webSocketServerService/port (int): 22222 workspace-initial/name (QString): Minimal workspace-initial/noteSubFolderDockWidgetVisible (QString): true workspace-initial/windowState (QByteArray): <binary data> workspaces (QStringList): initial

System environment

ALLUSERSPROFILE: C:\ProgramData AMDRMPATH: C:\Program Files\AMD\RyzenMaster\ APPDATA: C:\Users\user\AppData\Roaming CommonProgramFiles: C:\Program Files\Common Files CommonProgramFiles(x86): C:\Program Files (x86)\Common Files CommonProgramW6432: C:\Program Files\Common Files COMPUTERNAME: L6 ComSpec: C:\Windows\system32\cmd.exe CUDA_PATH: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0 CUDA_PATH_V12_0: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0 DriverData: C:\Windows\System32\Drivers\DriverData FPS_BROWSER_APP_PROFILE_STRING: Internet Explorer FPS_BROWSER_USER_PROFILE_STRING: Default HOMEDRIVE: C: HOMEPATH: \Users\user LOCALAPPDATA: C:\Users\user\AppData\Local LOGONSERVER: \\L6 NUMBER_OF_PROCESSORS: 24 OS: Windows_NT Path: C:\Program Files\Microsoft\jdk-17.0.6.10-hotspot\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\libnvvp;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\Bandizip\;C:\Program Files\Git\cmd;C:\Program Files\Process Lasso\;C:\Program Files\Calibre2\;C:\Python\Python39\Scripts\;C:\Python\Python39\;C:\Users\user\AppData\Local\Programs\Python\Launcher\;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\PathExt;C:\Users\user\AppData\Local\GitHubDesktop\bin;C:\Users\user\.dotnet\tools PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE: AMD64 PROCESSOR_IDENTIFIER: AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD PROCESSOR_LEVEL: 25 PROCESSOR_REVISION: 6102 ProgramData: C:\ProgramData ProgramFiles: C:\Program Files ProgramFiles(x86): C:\Program Files (x86) ProgramW6432: C:\Program Files PSModulePath: %ProgramFiles%\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC: C:\Users\Public SAL_FORCE_IACCESSIBLE2: 1 SystemDrive: C: SystemRoot: C:\Windows TEMP: C:\Users\user\AppData\Local\Temp TMP: C:\Users\user\AppData\Local\Temp USERDOMAIN: L6 USERDOMAIN_ROAMINGPROFILE: L6 USERNAME: CHX USERPROFILE: C:\Users\user windir: C:\Windows

pbek commented 1 year ago

If you want to gain space with low resolutions I'd just turn off all panels you don't need and just turn them on via a "workspace".

pbek commented 1 year ago

Primary screen resolution: 1280x720

Yes, that's not much. Hard to tell what happens on your system. Looks like a 200% scaling, that would result in this resolution.

If your eyes permit you could just tone down the interface font size in QOwnNotes. And/Or setting individual sizes for panels with the help of the "Custom user interface styling" script.

chaosdrop commented 1 year ago

Font settings don't help because the padding stays the same as the context icons are not effected by the toolbar icon size.

Took a look at the "Custom user interface styling" and I'm afraid it's too far about my skill set to use couldn't even make heads or tells out of it.

2023-02-01_235834

chaosdrop commented 1 year ago

If all the padding is there because of the icons, then there might just need to be an option to disable icons in the context menu and that would solve it.

pbek commented 1 year ago

I think the root of the problem is that windows is forcing a 200% scaling of the app. Hard to tell why. You could try to mess with the various Qt scaling env variables like QT_AUTO_SCREEN_SCALE_FACTOR. See https://doc.qt.io/qt-5/highdpi.html

chaosdrop commented 1 year ago

I can read the words on the page, but they make no sense to me at all in terms of what I'm supposed to do in order to apply it. I have zero experience with Qt. I literally only know how to script in AHK and program using UE blueprints.

chaosdrop commented 1 year ago

I can't find a qt-conf file anywhere in the folder and I tired putting true false in the style script that's pretty much the extend of my ability to try and figure out how to apply the settings.

I'm guessing I'm way far off the mark on how to apply this, but I just am not seeing a starting point at all.

2023-02-02_003544

chaosdrop commented 1 year ago

Think I figured it out, had to make the qt.conf file and add it there.

QT_AUTO_SCREEN_SCALE_FACTOR = false

appears to get the program so that it looks like it's being scaled properly by windows so the context menu is normal sized rather than super huge.

chaosdrop commented 1 year ago

Or it did... I tired a couple more just to see if there was another one from the page the fit better, but now nothing is working and it's back to being oversized...

pbek commented 1 year ago

QT_AUTO_SCREEN_SCALE_FACTOR = false

Those are Windows environment variables (you use those for example on the terminal), not style sheets for QOwnNotes, your screenshot shows a link on how to use the style sheets.

Easiest path for you would be still to get some local Windows support to look into the issue of your Windows distribution forcing 200% scaling on the application...

chaosdrop commented 1 year ago

Don't see that happening I'm dirt poor disabled person on a fixed income and I'm the most tech savvy person in my family and friend circle.

pbek commented 1 year ago

Then maybe try settings QT_AUTO_SCREEN_SCALE_FACTOR=0 as environment variable for QOwnNotes.

It's hard to tell what's different on your Windows system. I don't work a lot on Windows, I'm more a Linux guy. 😉 I never had scaling issues on different Windows installations with scaling (which I use on every installation).

chaosdrop commented 1 year ago

So making a bat file with:

@echo off set QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough QOwnNotes.exe

works, not ideal since it opens a cmd window every launch which is kind of annoying... Seems like there should be someway to just make that default somewhere...

pbek commented 1 year ago

Or something like https://www.technewstoday.com/how-to-set-windows-environment-variables/ or https://stackoverflow.com/questions/3036325/can-i-set-an-environment-variable-for-an-application-using-a-shortcut-in-windows.

chaosdrop commented 1 year ago

Thank you, today I learned what a system environment variable is. Don't know if I'll ever use this knowledge again but now I know.

chaosdrop commented 1 year ago

On a side note, probably not worth opening another issue for, you wouldn't happen to know an easy way in the styles script system to just disable all icons in menus would you?

pbek commented 1 year ago

On a side note, probably not worth opening another issue for, you wouldn't happen to know an easy way in the styles script system to just disable all icons in menus would you?

I don't know if that would be worth another setting, just to mitigate an issue with one Windows installation. 😅

pbek commented 1 year ago

But if you want to self-build QOwnNotes, you could use that line to disable all icons: https://github.com/pbek/QOwnNotes/blob/de5f1f326145f62af2f193568796de4807fc95f4/src/mainwindow.cpp#L147-L150

chaosdrop commented 1 year ago

That's why it was a side note, since in this case I actually just don't like menu icons. Sounds like tomorrow adventure will be trying to learn how to build with GCC since I've never built anything outside of VisualStudio Before. XD

pbek commented 1 year ago

https://www.qownnotes.org/installation/building.html is your friend 😉

chaosdrop commented 1 year ago

I'm getting the error: error: Unknown module(s) in QT: websockets core5compat

seems qtwebsockets is something extra that is normally installed from a Linux repo... I can't seem to find a windows way of installing it.

Just kind of a PS documents say grab master branch but it seems not to exist instead I grabbed "main" 2023-02-02_083635

chaosdrop commented 1 year ago

Figured out how to get websocksets Also needed core5compat.

Had to use the QT maintenance tool and found them for download there in case anyone in the future finds this and runs into the same thing.

pbek commented 1 year ago

Just kind of a PS documents say grab master branch but it seems not to exist instead I grabbed "main"

Branches were renamed recently. I updated that part of the documentation yesterday. https://www.qownnotes.org/installation/building.html "main" is the development branch, "release" the release branch

Figured out how to get websocksets Also needed core5compat.

Seems like you are using Qt6 already, it should work (Qt6 support is "work in progress", see #1304), and feedback is appreciated. Currently https://github.com/pbek/QOwnNotes/blob/c6db59220e1b999dd1f44ae182aa4ad89268dae5/.github/workflows/build-release-qt6.yml#L37 ...is a good place to see what you need to build with Qt6.

So did you manage to build and run QOwnNotes successfully?

chaosdrop commented 1 year ago

I could never get it to build and run...

Even after uninstalling everything and switching to Qt5 I could get it to build the main program exe, but I couldn't figure out how to build any of the dlls, and even putting the new exe into the folder of the currently working one it wouldn't work because it still said it was missing a few dlls.

pbek commented 1 year ago

I could never get it to build and run...

Not even directly inside QtCreator?

Even after uninstalling everything and switching to Qt5 I could get it to build the main program exe, but I couldn't figure out how to build any of the dlls

DLLs are not meant to be "built", they are already built. They just need to be put in the proper place. This is what I do for Qt5: https://github.com/pbek/QOwnNotes/blob/main/build-systems/github/windows/build-zip.ps1

chaosdrop commented 1 year ago

Finally got one to build and work with the dlls that where already there. Seems I was using the wrong build system it defaulted to msvc2022 but switching it to MinGw 64-bit got rid of all the missing dll warnings.

Ironically while all the icons are gone all the space for them is still there, so ultimately it looks rather silly to disable them.

In the end it's probably better I don't build my own copy since that just means I'd be less likely to ever update it.

2023-02-03_022254

pbek commented 1 year ago

Yes, forking is always one thing, maintaining the fork another... 😅

Maybe playing around with styles like around:

https://github.com/pbek/QOwnNotes/blob/c6db59220e1b999dd1f44ae182aa4ad89268dae5/src/libraries/qdarkstyle/style.qss#L253-L276

with the Custom user interface styling script makes more sense.

pbek commented 1 year ago

But congratulation on building QOwnNotes yourself! 🥳

o-l-a-v commented 1 year ago

Here's a PowerShell way of setting the environmental variables for scaling in user context (doesn't require admin permissions).

Doc on scaling in Qt 5:

QT_AUTO_SCREEN_SCALE_FACTOR = Whether automatic scaling should be enabled.

# QT auto scale factor
## Get
[System.Environment]::GetEnvironmentVariable(
    'QT_AUTO_SCREEN_SCALE_FACTOR',
    'User'
)

## Set - 0 = disable
[System.Environment]::SetEnvironmentVariable(
    'QT_AUTO_SCREEN_SCALE_FACTOR',
    0,
    'User'
)

## Remove
[System.Environment]::SetEnvironmentVariable(
    'QT_AUTO_SCREEN_SCALE_FACTOR',
    $null,
    'User'
)

QT_SCALE_FACTOR = Override scaling. 1.5 = 1.5x "normal".

# QT scale factor
## Get
[System.Environment]::GetEnvironmentVariable(
    'QT_SCALE_FACTOR',
    'User'
)

## Set - 1.5 = 1.5x normal
[System.Environment]::SetEnvironmentVariable(
    'QT_SCALE_FACTOR',
    '1.5',
    'User'
)

## Remove
[System.Environment]::SetEnvironmentVariable(
    'QT_SCALE_FACTOR',
    $null,
    'User'
)
o-l-a-v commented 11 months ago

Here's a way to get to get the Flatpak version of QOwnNotes to scale.

Edit: Seems the proper way to do it is with flatpak override.

# System wide
sudo flatpak override --system --env=QT_AUTO_SCREEN_SCALE_FACTOR=0 --env=QT_SCALE_FACTOR=1.5 org.qownnotes.QOwnNotes

# Current user
flatpak override --env=QT_AUTO_SCREEN_SCALE_FACTOR=0 --env=QT_SCALE_FACTOR=1.5 org.qownnotes.QOwnNotes

My first attempt made QOwnNotes not start after an update (sudo flatpak update --assumeyes --system).

Click to expand first attempt ```bash # Go to Flatpak .desktop files ## System wide cd /var/lib/flatpak/exports/share/applications/ ## User cd ~/.local/share/flatpak/exports/share/applications/ # Edit (sudo only if system wide) sudo nano org.qownnotes.QOwnNotes.desktop # Change `exec` ## From Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=QOwnNotes org.qownnotes.QOwnNotes ## To Exec=/usr/bin/flatpak run --arch=x86_64 --branch=stable --env=QT_AUTO_SCREEN_SCALE_FACTOR=0 --env=QT_SCALE_FACTOR=1.5 --command=QOwnNotes org.qownnotes.QOwnNotes ```