Skip to content

Dark mode bug in Linux #557

@ExTBH

Description

@ExTBH

Describe the bug
Dark mode not being enabled

To Reproduce
Steps to reproduce the behavior:

  1. open app and see white mode

Expected behavior
should set dark mode

Screenshots
If applicable, add screenshots to help explain your problem.

Version and platform:

  • OS: [ArcoLinux rolling]
  • Syncplay version and build type: [ Syncplay 1.6.9 AppImage]
  • Media player and version: [e.g. VLC 3.0.16 32-bit]

Additional context
I think its being caused bu this line

if theme.endswith('-dark'):

it detects dark mode by running this
['gsettings', 'get', 'org.gnome.desktop.interface', 'gtk-theme'],

which return theme name
so i tried running it

>> gsettings get org.gnome.desktop.interface gtk-theme
<< 'Arc-Dark'

It is failing because .endwith() is case sensitive, .upper() or .lower() should get called before it

i don't know how to run or build from source so i can't check it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions