5

According to the 2.12 Changelog QGIS now ships with a light and a dark UI Theme. A longer description of the UI themes can be found at Nathan Woodrows blog on QGIS UI themes.

However, when I install QGIS 2.12.0-1 via OSGeo4W there is only the option to choose the default theme.

Does anybody know whether there is another option I am missing to enable the dark theme?

enter image description here


Edit:

According to the QGIS repository the Theme should be saved under QGIS/ressources/themes. I am missing said themes folder even after a re-install and a fresh install of QGIS 2.12 from OSGeo4W.

Edit2:

Nathan Woodrow confirmed it as a bug and is on it. In the meantime I copied the themes folder, like @Mapperz suggested, and everything looks great now.

Edit3:

Annnnnd it is fixed. That was fast!

3
  • I have asked the core programmer twitter.com/mapperz/status/658695217797664769
    – Mapperz
    Oct 26, 2015 at 17:23
  • on windows 7 (pro) themes folder does not exist either C:\Program Files\QGIS Lyon\apps\qgis\resources
    – Mapperz
    Oct 26, 2015 at 17:47
  • Where I have to adjust the color setting in the Night Mapping theme to make the description text from black (unreadable) to white?
    – blackgis
    Nov 20, 2015 at 19:50

2 Answers 2

7

Worked this out - the theme folders are missing from the release for the QGIS UI Themes.

I created the folders and copied the files from https://github.com/qgis/QGIS/tree/master/resources

restarted QGIS and the Night Mapping Theme is now available.

enter image description here

I would class this as a bug in the first release of QGIS 2.12

4
  • 2
    Yeah looks like a bug.
    – Nathan W
    Oct 26, 2015 at 20:07
  • Did that as well after finding the folder on Github. You beat me to the answer. Accepted as solved for future reference, until this is fixed with the next release.
    – Kersten
    Oct 26, 2015 at 20:23
  • 2
    Fix in github.com/qgis/QGIS/commit/…
    – Nathan W
    Oct 26, 2015 at 22:55
  • 1
    As well as following @mapperz instructions, I had to copy the themes directory and symbology-ng-style.db and symbology-ng-style.xml to my .qgis2 directory in my home folder. Then the Night Mapping theme was picked up. Thanks to @nathan-w for the tip! link Nov 3, 2015 at 9:03
2

To change the User Interface (UI) for QGIS the 'Load QSS' Plugin is required

Here is an example in QGIS 2.12

enter image description here

There are 8 themes currently (restart of QGIS is not required) enter image description here

Plugin link https://plugins.qgis.org/plugins/LoadQSS/

2
  • +1, However, while this is a nice plugin it completely contradicts the Changelog("By default we ship with two themes: Default and Night mapping.") and the QGIS respository master which lists Night Mapping as a theme that is shipped with QGIS.
    – Kersten
    Oct 26, 2015 at 17:27
  • @Kersten it may a bug preventing the activation, this version of QGIS has only just been released. Though this is the only way I have made UI changes in previous versions.
    – Mapperz
    Oct 26, 2015 at 17:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.