Skip to content
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

(Bug report) Themes not working properly in server and Windows version (fonts and visibility) #4767

Open
kotlasu opened this issue May 9, 2024 · 1 comment

Comments

@kotlasu
Copy link

kotlasu commented May 9, 2024

Trilium Version

0.63.5

What operating system are you using?

Other (specify below)

What is your setup?

Local + server sync

Operating System Version

Windows 11, Docker DitePi (RPi ARM7)

Description

Switching native and custom themes are not working as intended:

  • when switching from one theme to another only the icons/accent color changes
  • code is barely visible no matter which theme I'll choose
  • switching from official dark to light theme doesn't change anything
  • "override theme fonts" works partially (I can change note tree, note detail and monospace fonts but Headers/fonts in menu stays the same/it's always Tahoma or Verdana)

Screenshot 2024-05-09 160050

Reloading frontend, restarting docker container and rebooting whole system doesn't change anything.
There's a message saying "0 GET options" just before the theme refreshes.

Screenshot 2024-05-09 161114

Error logs

16:15:03 Frontend app reload: theme change desktop.js:2:119817
16:15:03 error: undefined desktop.js:2:102331
16:15:03 0 GET options - undefined desktop.js:2:119643
16:15:03 error: undefined desktop.js:2:102331
16:15:03 0 GET options - undefined desktop.js:2:119643
16:15:03 error: undefined desktop.js:2:102331
16:15:03 0 GET options - undefined desktop.js:2:119643
16:15:03 error: undefined desktop.js:2:102331
16:15:03 0 GET options - undefined desktop.js:2:119643
Uncaught (in promise) Error: 0 GET options - undefined
throwError toast.js:102
c server.js:222
error server.js:141
jQuery 6
l server.js:157
l server.js:117
l server.js:104
get server.js:36
refreshWithNote options_widget.js:47
refresh note_context_aware_widget.js:60
entitiesReloadedEvent options_widget.js:54
callMethod component.js:104
handleEvent component.js:48
handleEventInChildren component.js:74
handleEventInChildren type_widget.js:59
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEventInChildren scrolling_container.js:47
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEventInChildren split_note_container.js:199
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
triggerEvent app_context.js:97
processEntityChanges froca_updater.js:81
S ws.js:179
A ws.js:90
A ws.js:114
P ws.js:213
4264 ws.js:238
setTimeout handler4264 ws.js:237
Webpack 10
4 desktop.js:2:102524
16:15:03 error: undefined desktop.js:2:102331
16:15:03 0 GET options - undefined desktop.js:2:119643
Uncaught (in promise) Error: 0 GET options - undefined
throwError toast.js:102
c server.js:222
error server.js:141
jQuery 6
l server.js:157
l server.js:117
l server.js:104
get server.js:36
refreshWithNote options_widget.js:47
refresh note_context_aware_widget.js:60
entitiesReloadedEvent options_widget.js:54
callMethod component.js:104
handleEvent component.js:48
handleEventInChildren component.js:74
handleEventInChildren type_widget.js:59
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEventInChildren scrolling_container.js:47
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEventInChildren split_note_container.js:199
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
handleEventInChildren component.js:74
handleEvent component.js:50
triggerEvent app_context.js:97
processEntityChanges froca_updater.js:81
S ws.js:179
A ws.js:90
A ws.js:114
P ws.js:213
4264 ws.js:238
setTimeout handler
4264 ws.js:237
Webpack 10
desktop.js:2:102524
16:15:04 WS closed or closing, trying to reconnect desktop.js:2:122690
InstallTrigger is deprecated and will be removed in the future. constants.js:50:15
Failed to get subsystem status for purpose
Object { rejected: true, message: TypeError }
content-script.js:95:21
16:15:05 Connected to server ws://XXX.XX.XX.XX:8080/ with WebSocket ws.js:212:30
Cannot find action 'switchToMobileVersion' keyboard_actions.js:54:11
Cannot find action 'switchToDesktopVersion' keyboard_actions.js:54:11
Cannot find action 'showLaunchBarSubtree' keyboard_actions.js:54:11
Cannot find action 'showShareSubtree' keyboard_actions.js:54:11
Cannot find action 'showSQLConsoleHistory' keyboard_actions.js:54:11
Cannot find action 'showSearchHistory' keyboard_actions.js:54:11
Cannot find action 'showHiddenSubtree' keyboard_actions.js:54:11
Cannot find action 'downloadLatestVersion' keyboard_actions.js:54:11
Cannot find action 'logout' keyboard_actions.js:54:11
16:15:06 Did not find parent root (root)
for child _options (Options), available parents: _hidden (Hidden Notes).
You can ignore this message as it is mostly harmless. tree.js:77:28

@zadam
Copy link
Owner

zadam commented May 18, 2024

My guess is that the custom theme is buggy / perhaps created for an older version of Trilium.

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

No branches or pull requests

2 participants