Skip to content

Firefox: Non-alpha chars are not monospace in Monaco editor #171

@LinuxSBC

Description

@LinuxSBC

Describe the bug
For some reason, only alphabetical characters are monospace in the editor. According to the devtools, other characters use Noto Sans Arabic, while alpha characters use Noto Sans Mono. This also seems weird, since --monaco-monospace-font doesn't include either of those, but that's what it appears to be.

I tried this in Firefox on a fresh profile, which had the same issue. Chrome worked as expected.

Screenshots/logs

Image

Both of these lines have 5 characters in them, but the one with all the punctuation is much shorter.

Additional context
My client OS is Linux, specifically a variant of Fedora Silverblue.

Tracing Info

Add screenshot/text of Dockman version and config info (replace the placeholders)

  • version/commit/build date etc
 ==========================================================================================
 Version        : v3.1.0
 Flavour        : docker
 BuildDate      : 2026-01-12 10:17 AM UTC (2 days ago)
 ------------------------------------------------------------------------------------------
 Branch         : release
 CommitInfo     : 45ec68260eecebfecaa752fa2c01b766499b21da
 GoVersion      : go1.25.5
 ------------------------------------------------------------------------------------------
 Repo           : https://github.com/RA341/dockman
 Branch         : https://github.com/RA341/dockman/tree/release
 Commit         : https://github.com/RA341/dockman/commit/45ec68260eecebfecaa752fa2c01b766499b21da
 ==========================================================================================
  • config table
 ╭─────────────────────────────────────────────────────────────────────────────────── Config ────────────────────────────────────────────────────────────────────────────────────╮
 │                                                                                                                                                                               │
 │  Port:                   8866                                                     Port to run the server on                            Env: DOCKMAN_PORT                      │
 │  AllowedOrigins:         *                                                        Allowed origins for the API (in CSV)                 Env: DOCKMAN_ORIGINS                   │
 │  UIPath:                 ./dist                                                   Path to frontend files                               Env: DOCKMAN_UI_PATH                   │
 │  LocalAddr:              172.29.0.3                                               Local machine IP address                             Env: DOCKMAN_MACHINE_ADDR              │
 │  ComposeRoot:            /home/simmons/Docker/compose                             Root directory for compose files                     Env: DOCKMAN_COMPOSE_ROOT              │
 │  ConfigDir:              /config                                                  Directory to store dockman config                    Env: DOCKMAN_CONFIG                    │
 │  Auth.Enable:            true                                                     Enable authentication                                Env: DOCKMAN_AUTH_ENABLE               │
 │  Auth.Username:          admin                                                    authentication username                              Env: DOCKMAN_AUTH_USERNAME             │
 │  Auth.Password:          *REDACTED* ^_^                                           authentication password                              Env: DOCKMAN_AUTH_PASSWORD             │
 │  Auth.CookieExpiry:      24h                                                      Set cookie expiry-300ms/1.5h/2h45m [ns|us|ms|s|m|h]  Env: DOCKMAN_AUTH_EXPIRY               │
 │  Auth.MaxSessions:       5                                                        Set max active sessions per user                     Env: DOCKMAN_AUTH_MAX_SESSIONS         │
 │  Auth.OIDCEnable:        true                                                     enable OIDC support                                  Env: DOCKMAN_AUTH_OIDC_ENABLE          │
 │  Auth.OIDCAutoRedirect:  true                                                     automatically redirect to OIDC login                 Env: DOCKMAN_AUTH_OIDC_AUTO_REDIRECT   │
 │  Auth.OIDCIssuerURL:     https://sso.simmons.ovh                                  url for your oidc issuer                             Env: DOCKMAN_AUTH_OIDC_ISSUER          │
 │  Auth.OIDCClientID:      *REDACTED* ^_^                                           client id for OIDC                                   Env: DOCKMAN_AUTH_OIDC_CLIENT_ID       │
 │  Auth.OIDCClientSecret:  *REDACTED* ^_^                                           client secret for OIDC                               Env: DOCKMAN_AUTH_OIDC_CLIENT_SECRET   │
 │  Auth.OIDCRedirectURL:   http://dockman.simmons.ovh/api/auth/login/oidc/callback  redirect url for OIDC                                Env: DOCKMAN_AUTH_OIDC_REDIRECT_URL    │
 │  Log.Level:              info                                                     disabled|debug|info|warn|error|fatal                 Env: DOCKMAN_LOG_LEVEL                 │
 │  Log.Verbose:            false                                                    show more info in logs                               Env: DOCKMAN_LOG_VERBOSE               │
 │  Log.HttpLogger:         false                                                    enable printing of http routes logs                  Env: DOCKMAN_LOG_HTTP                  │
 │  Log.AuthWarning:        true                                                     display auth warning at app startup                  Env: DOCKMAN_LOG_AUTH_WARNING          │
 │  Viewer.ContainerWait:   5s                                                       time to wait for a viewer container to start         Env: DOCKMAN_VIEWER_CONTAINER_TIMEOUT  │
 │  Certs.PublicCertPath:                                                            path to a public cert                                Env: DOCKMAN_PUB_CERT_PATH             │
 │  Certs.PrivateKeyPath:                                                            path to a private cert                               Env: DOCKMAN_PRIV_KEY_PATH             │
 │                                                                                                                                                                               │
 │  To modify config, set the respective Env:                                                                                                                                    │
 │                                                                                                                                                                               │
 ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions