Skip to content

[BUG] Frontend switch not set according to SELKIES_USE_CSS_SCALING=True setting #114

@baxerus

Description

@baxerus

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If the SELKIES_USE_CSS_SCALING is set to "True" the scaling is used and shown correct.
But the frontend switch that allows changing the setting "HiDPI something" (not sure what exactly it is called in english since my fronend is not running in english is still switched to it's on state.

Maybe this information is not communicated to the frontend at all?
If it is, then the info is not properly used to set the switches state (the setting and the switch state are also opposite. Also the names do not match at all 😐)

Expected Behavior

If SELKIES_USE_CSS_SCALING=True also the "HiDPI something" switch in Off on first connect.

Steps To Reproduce

  1. Start a container with the SELKIES_USE_CSS_SCALING env set to True.
  2. Connect the browser
  3. Open the side panel and check the "HiDPI something"

Environment

- OS: Ubuntu 24.04.3 LTS
- How docker service was installed: packagemanager

Docker creation

Every working `docker` command, but with `-e SELKIES_USE_CSS_SCALING="True"` in it :wink:

Container logs

-

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions