qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.5k stars 2.99k forks source link

Can't override dark or light theme setting under Ubuntu 23.04 #52920

Closed mapperfr closed 1 year ago

mapperfr commented 1 year ago

What is the bug or the crash?

When set to "default", the UI theme adapts to the global system options. It would be great to have an option to override this behaviour - e.g. keeping QGIS on default light theme while the system is set to dark mode, or the other way around.

See the system options in the top right angle and the "Thème UI" option in the QGIS settings, on the following screenshots:

Capture d’écran du 2023-04-27 09-59-22 Capture d’écran du 2023-04-27 09-58-47

Steps to reproduce the issue

  1. Set your system to dark mode
  2. Open QGIS
  3. Go to Preferences > Options > General
  4. Check "default" in "theme UI"
  5. Restart QGIS
  6. Check if QGIS is in dark mode or light mode

Repeat the steps by changing step 1 and setting your system to light mode. QGIS theme UI follows the global UI theme with no way to override the behaviour.

Versions

Version de QGIS 3.30.1-'s-Hertogenbosch Branche de code de QGIS Release 3.30
Version de Qt 5.15.9
Version de Python 3.10.6
Version de GDAL/OGR 3.6.3
Version de Proj 9.2.0
Version de la base de données du registre EPSG v10.082 (2023-02-06)
Version de GEOS 3.11.2-CAPI-1.17.2
Version de SQLite 3.36.0
Version de PDAL 2.5.3
Version du client PostgreSQL unknown
Version de SpatiaLite 5.0.1
Version de QWT 6.1.5
Version de QScintilla2 2.11.6
Version de l'OS KDE Flatpak runtime
       

Extensions Python actives GeoCoding | 2.18 qgiscloud | 3.8.4 qgis_resource_sharing | 1.0.0 track_profile_2_web | 1.3 pgRoutingLayer | 3.0.2 mmqgis | 2021.9.10 GamepadNavigation | 1.0.5 qgis-maptiler-plugin | 3.2 Qgis2threejs | 2.7.1 kart | 1.0.10 LAStools | 1.4 zoom_level | 0.1 profiletool | 4.2.5 cartogram3 | 3.1.5 Mergin | 2023.1 koordinates | 1.0.3 qgis2web | 3.16.0 processing | 2.12.99 otbprovider | 2.12.99 grassprovider | 2.12.99 MetaSearch | 0.3.6 db_manager | 0.1.20

Supported QGIS version

New profile

Additional context

No response

nicogodet commented 1 year ago

FYI: https://lists.osgeo.org/pipermail/qgis-developer/2023-April/065773.html

DelazJ commented 1 year ago

Hi @mapperfr Same as #33079?

mapperfr commented 1 year ago

FYI: https://lists.osgeo.org/pipermail/qgis-developer/2023-April/065773.html

Yes I've seen it this morning, thanks for the notice @nicogodet! Two things though:

mapperfr commented 1 year ago

Hi @mapperfr Same as #33079?

Haha indeed @DelazJ, I forgot about it even if I added a comment two years ago! Thanks for spotting the duplicate. I'll update the original ticket and close this one then.

mapperfr commented 1 year ago

Duplicate of https://github.com/qgis/QGIS/issues/33079