Skip to content

Dark mode broken in AppImage (built with old Qt version), but works in flatpak (built with newer Qt version) #4374

@11BelowStudio

Description

@11BelowStudio

Flameshot Version

Flameshot v13.3.0 (88c951e)

Installation Type

AppImage

Operating System type and version

Linux Mint 22.2 (Cinnamon)

Description

The AppImage version of Flameshot (downloaded from the 'releases' tab) renders in light mode, despite my computer being configured to use dark mode - however, the Flatpak version (from flathub) and a version which I built from source (using Qt6.10) do not have this issue.

The AppImage appears to have been built with Qt 6.2.4, whilst the Flatpak was built with Qt 6.9.3, and my source build used Qt 6.10.0, so I suspect that the AppImage's older version of Qt causes it to render in light mode, and that building it with a newer version of Qt should fix the issue.

Steps to reproduce

  1. Run the AppImage version of Flameshot
  2. Open the launcher/click 'about'/click 'configuration'/etc...
  3. Get flashbanged by light mode
  4. (try the Flatpak or attempt building it yourself after downloading qt6.10 from the qt installer and running cmake pointing at that version of qt6 otherwise it complains about a lack of qt6-svg which isn't available on apt for some reason and then notice that the problem isn't present)

Screenshots or screen recordings

version AppImage Flatpak (from Flathub) Built from source
About screen It's in light mode! My eyes! It's in dark mode, much nicer This is also in dark mode
'About' text for each version

AppImage

Flameshot v13.3.0 (88c951e7)
Compiled with Qt 6.2.4
linux: 6.14.0-35-generic
linuxmint: 22.2

Flatpak

Flameshot v13.3.0 (88c951e)
Compiled with Qt 6.9.3
linux: 6.14.0-35-generic
org.kde.Platform: 6.9

Built from source

Flameshot v13.3.0 (88c951e7)
Compiled with Qt 6.10.0
linux: 6.14.0-35-generic
linuxmint: 22.2

System Information

System:
  Host: omitted Kernel: 6.14.0-35-generic arch: x86_64 bits: 64
  Desktop: Cinnamon v: 6.4.8 Distro: Linux Mint 22.2 Zara
Graphics:
  Device-1: NVIDIA GM204 [GeForce GTX 970] driver: nvidia v: 580.95.05
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
    gpu: nvidia,nvidia-nvswitch resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: nouveau,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.95.05
    renderer: NVIDIA GeForce GTX 970/PCIe/SSE2
  API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlib

Metadata

Metadata

Assignees

No one assigned

    Labels

    Unconfirmed BugThe bug is not confirmed by anyone else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions