zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.2k stars 1.9k forks source link

(Bug report) Options page does not initially render on Firefox #4165

Closed fuzzykiller closed 1 year ago

fuzzykiller commented 1 year ago

Trilium Version

0.60.4

What operating system are you using?

Windows

What is your setup?

Server access only

Operating System Version

Windows 10 22H2, macOS Big Sur, …

Description

Inside Firefox, when opening the options page (the one that has tiles for Appearance, Shortcuts, …), it does not display its contents initially. That is, the HTML element <div class="note-list-widget-content"> is completely empty. The page can be made to appear by refreshing the application (F5) or by switching to another note tab, then switching back. Sometimes it also renders right away, but only once after the web app is loaded.

I use Firefox 116.0.2 on all devices. I have replicated this behavior on Windows, macOS and Linux. It also happens with a fresh installation (see docker-compose.yml below). I did not get the error with Edge or Chrome or the Trilium desktop app.

My guess is that there is some sort of race condition. However, there is no error being logged.


Docker Compose setup that I used to test this:

version: "3"

services:
  trilium:
    image: zadam/trilium:0.60.4
    restart: always
    ports:
      - 8080:8080
    volumes:
      - ./trilium-data:/home/node/trilium-data

Error logs

No response

fuzzykiller commented 1 year ago

I checked v0.58.4 now, the version that introduced the new options UI. It is also affected.

zadam commented 1 year ago

thanks, should be fixed in the next release.