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

[F] Dark mode and blue light #1067

zorglups opened this Issue Nov 16, 2018 · 5 comments


None yet
2 participants

zorglups commented Nov 16, 2018

Expected behaviour

To reduce eye strain, I installed f.lux on my computer.
This has a really positive impact on me.

The side effect is that any blue pixel tend to be filtered (hence not seen or seen as black).

In conjonction to this, I have chosen a dark interface in QOwnNotes as well as a dark theme.
The chosen dark theme is "Analytical Yellow" as this has no bluish color.

The only issue is that in the interface dark theme, selections are blue (#3d8ec9) and will therefore not play well when f.lux is active.

Could you allow the use of a non bluish color and why not allow the user to specify it somehow ?
I would suggest the the color #C64A13
An option in a config file will be ok for me.

Actual behaviour

The selection is bluish and will be filtered by f.lux.

Steps to reproduce

Set QOwnNotes interface to night mode.
Install f.lux and enable night mode.

Relevant log output in the Log panel

Information about the application, settings and environment

QOwnNotes Debug Information

General Info

Current Date: ven. nov. 16 10:54:43 2018
Version: 18.11.3
Build date: Nov 14 2018
Build number: 3947
Platform: windows
Operating System: Windows 10 (10.0)
Build architecture: i386
Current architecture: x86_64
Release: AppVeyor
Qt Version (build): 5.10.1
Qt Version (runtime): 5.10.1
Portable mode: yes
Settings path / key: C:/Users/phi/Documents/bin/edit/QOwnNotes/Data/PBE/QOwnNotes.ini
Application database path: C:\Users\phi\Documents\bin\edit\QOwnNotes\Data\QOwnNotes.sqlite
Application arguments: QOwnNotes.exe, --portable
Qt Debug: 0
Locale (system): fr_BE
Locale (interface): empty
Icon theme: breeze-dark-qownnotes
Notes in current note folder: 3
Enabled scripts: 0

Server Info

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

Note folders

currentNoteFolderId: 1

Note folder par défaut

id: 1
isCurrent: yes
activeTagId: -1
localPath: C:\Users\phi\Documents\bin\edit\QOwnNotes\Data\..\..\..\..\doc
remotePath: Notes
isShowSubfolders: no
isUseGit: no
activeNoteSubFolder name: empty
database file: C:\Users\phi\Documents\bin\edit\QOwnNotes\Data\..\..\..\..\doc\notes.sqlite

Enabled scripts


ActiveNoteHistoryItem (NoteHistoryItem): <binary data>
Debug/fakeOldVersionNumber (bool): false
Debug/fileLogging (bool): false
DistractionFreeMode/isEnabled (QString): false
DistractionFreeMode/menuBarGeometry (QByteArray): <binary data>
DistractionFreeMode/menuBarHeight (QString): 26
DistractionFreeMode/menuBarVisible (QString): true
DistractionFreeMode/windowState (QByteArray): <binary data>
Editor/CurrentSchemaKey (QString): EditorColorSchema-6d7d03f9-ffac-4e75-a57b-847fd4871eac
Editor/autoBracketClosing (bool): true
Editor/autoBracketRemoval (bool): true
Editor/editorWidthInDFMOnly (bool): true
Editor/highlightCurrentLine (bool): true
Editor/vimMode (bool): false
IssueAssistantDialog/geometry (QByteArray): <binary data>
LastUpdateCheck (QDateTime): 2018-11-16T10:32:47
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
MainWindow/geometry (QByteArray): <binary data>
MainWindow/mainToolBar.iconSize (int): 30
MainWindow/menuBarGeometry (QByteArray): <binary data>
MainWindow/noteTextEdit.code.font (QString): Courier New,9,-1,2,50,0,0,0,0,0
MainWindow/noteTextEdit.font (QString): MS Shell Dlg 2,6.6,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.code.font (QString): Courier New,9,-1,2,50,0,0,0,0,0
MainWindow/noteTextView.font (QString): MS Shell Dlg 2,6.6,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.rtl (bool): false
MainWindow/showNotesFromAllNoteSubFolders (bool): true
NoteHistory-1 (QVariantList): <variant list with 3 item(s)>
NoteHistoryCurrentIndex-1 (int): 2
PiwikClientId (QString): <hidden>
SearchEngineId (int): 2
SettingsDialog/geometry (QByteArray): <binary data>
SettingsDialog/mainSplitterState (QByteArray): <binary data>
ShowSystemTray (bool): false
StartHidden (bool): false
WelcomeDialog/geometry (QByteArray): <binary data>
acceptAllExternalModifications (bool): false
allowDifferentNoteFileName (bool): false
allowNoteEditing (bool): true
allowOnlyOneAppInstance (bool): true
appMetrics/disableAppHeartbeat (bool): false
appMetrics/disableTracking (bool): false
appMetrics/notificationShown (QString): true
automaticNoteFolderDatabaseClosing (bool): false
closeTodoListAfterSave (bool): false
cryptoKey (QString): <hidden>
currentNoteFolderId (QString): 1
currentWorkspace (QString): initial
cursorWidth (int): 1
customNoteFileExtensionList (QStringList): empty
darkMode (bool): true
darkModeColors (bool): true
darkModeTrayIcon (bool): true
defaultNoteFileExtension (QString): md
demoNotesCreated (QString): true
disableAutomaticUpdateDialog (bool): false
dockWasInitializedOnce (QString): true
externalEditorPath (QString): empty
fullyHighlightedBlockquotes (bool): false
gitCommitInterval (int): 30
gitExecutablePath (QString): empty
gitLogCommand (QString): empty
ignoreAllExternalModifications (bool): false
ignoreAllExternalNoteFolderChanges (bool): false
ignoreNoteSubFolders (QString): ^\.
imageScaleDown (bool): false
imageScaleDownMaximumHeight (int): 1024
imageScaleDownMaximumWidth (int): 1024
insertTimeFormat (QString): empty
interfaceLanguage (QString): empty
internalIconTheme (bool): false
itemHeight (int): 15
localTrash/autoCleanupDays (int): 30
localTrash/autoCleanupEnabled (bool): true
localTrash/supportEnabled (bool): true
markdownHighlightingEnabled (bool): true
networking/ignoreSSLErrors (bool): true
networking/proxyType (int): 2
newNoteAskHeadline (bool): false
noteEditIsCentralWidget (bool): true
noteListPreview (bool): false
noteSaveIntervalTime (int): 10
noteSubfoldersPanelDisplayAsFullTree (bool): true
noteSubfoldersPanelHideSearch (bool): true
noteSubfoldersPanelOrder (int): 0
noteSubfoldersPanelShowFullPath (bool): false
noteSubfoldersPanelShowNotesRecursively (bool): false
noteSubfoldersPanelShowRootFolderName (bool): true
noteSubfoldersPanelSort (int): 0
notesPanelOrder (int): 0
notesPanelSort (int): 1
notesPath (QString): ../../../../doc
notifyAllExternalModifications (bool): false
ownCloud/password (QString): <hidden>
ownCloud/serverUrl (QString): empty
ownCloud/supportEnabled (bool): false
ownCloud/todoCalendarBackend (int): 3
ownCloud/todoCalendarCalDAVPassword (QString): <hidden>
ownCloud/todoCalendarCalDAVServerUrl (QString): empty
ownCloud/todoCalendarCalDAVUsername (QString): empty
ownCloud/todoCalendarDisplayNameList (QStringList): empty
ownCloud/todoCalendarEnabledList (QStringList): empty
ownCloud/todoCalendarEnabledUrlList (QStringList): empty
ownCloud/todoCalendarUrlList (QStringList): empty
ownCloud/userName (QString): empty
restoreCursorPosition (bool): true
showMenuBar (bool): true
showStatusBar (bool): true
tagWasAddedToNote (QString): true
taggingShowNotesRecursively (bool): false
tagsPanelHideSearch (bool): false
tagsPanelOrder (int): 0
tagsPanelSort (int): 0
toolbar/1/items (QStringList): action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionOpen_List
toolbar/1/name (QString): mainToolBar
toolbar/1/title (QString): barre d'outils principale
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): barre d'outils de formatage
toolbar/3/items (QStringList): actionInsert_Link_to_note, actionInsert_image, actionInsert_current_time
toolbar/3/name (QString): insertingToolbar
toolbar/3/title (QString): barre d'outils d'insertion
toolbar/4/items (QStringList): action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note
toolbar/4/name (QString): encryptionToolbar
toolbar/4/title (QString): barre d'outils de chiffrement
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): barre d'outils de fenêtre
toolbar/6/items (QStringList): action_Quit
toolbar/6/name (QString): quitToolbar
toolbar/6/title (QString): quitter la barre d’outils
toolbar/size (int): 6
useUNIXNewline (bool): false
workspace-initial/name (QString): Full
workspace-initial/noteSubFolderDockWidgetVisible (QString): true
workspace-initial/windowState (QByteArray): <binary data>
workspaces (QString): initial

System environment

APPDATA: C:\Users\phi\AppData\Roaming
asl.log: Destination=file
CommonProgramFiles: C:\Program Files (x86)\Common Files
CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
CommonProgramW6432: C:\Program Files\Common Files
ComSpec: C:\WINDOWS\system32\cmd.exe
DriverData: C:\Windows\System32\Drivers\DriverData
HOMEPATH: \Users\phi
LOCALAPPDATA: C:\Users\phi\AppData\Local
NDI_RUNTIME_DIR_V2: C:\Program Files\NewTek\NewTek NDI 3.7 Tools\Redistributable
NDI_RUNTIME_DIR_V3: C:\Program Files\NewTek\NewTek NDI 3.7 Tools\Redistributable
OneDrive: C:\Users\phi\OneDrive - EVS Broadcast Equipment SA
OS: Windows_NT
Path: C:\Program Files\Docker\Docker\Resources\bin;C:\Python34\Lib\site-packages\PyQt5;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\OpenVPN\bin;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Evs Broadcast Equipment\EvsEdit Framework;C:\Program Files\TortoiseGit\bin;C:\Program Files\Git\cmd;C:\Python34;C:\Python34\Lib\site-packages;C:\Python34\Scripts;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\nodejs\;C:\Program Files\PuTTY\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Kensington\TrackballWorks;C:\Program Files\Amazon\AWSCLI\;C:\Users\phi\AppData\Local\Microsoft\WindowsApps;;C:\Users\phi\AppData\Local\Programs\Fiddler;C:\Users\phi\AppData\Local\Microsoft\WindowsApps;C:\Users\phi\AppData\Roaming\npm;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\
PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 61 Stepping 4, GenuineIntel
ProgramData: C:\ProgramData
ProgramFiles: C:\Program Files (x86)
ProgramFiles(x86): C:\Program Files (x86)
ProgramW6432: C:\Program Files
PSModulePath: C:\Program Files (x86)\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\AutoIt3\AutoItX;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\PowerShell\Modules\
PUBLIC: C:\Users\Public
SCITE_USERHOME: C:\Users\phi\AppData\Local\AutoIt v3\SciTE
SystemDrive: C:
SystemRoot: C:\WINDOWS
TEMP: C:\Users\phi\AppData\Local\Temp
TMP: C:\Users\phi\AppData\Local\Temp
windir: C:\WINDOWS

@pbek pbek added the enhancement label Nov 16, 2018


This comment has been minimized.


pbek commented Nov 16, 2018

Thank you for your suggestion.

pbek added a commit that referenced this issue Nov 19, 2018


This comment has been minimized.


pbek commented Nov 19, 2018


  • the selection colors in dark mode are now adapted to not get removed by blue filters like f.lux

@pbek pbek added this to the 18.11.4 milestone Nov 19, 2018


This comment has been minimized.


pbek commented Nov 19, 2018

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


This comment has been minimized.

zorglups commented Nov 20, 2018

Whaouw !!! So fast !!! You are incredible !
This is perfect like this !
Thank you !


This comment has been minimized.


pbek commented Nov 20, 2018

Great, thank you for testing! 😄
By the way, in the script repository there is a script Custom user interface styling where you can override styles too...

@pbek pbek closed this Nov 20, 2018

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