Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Project Pane Too Dark
Forum Updated to NodeBB v4.3 + New Features

Project Pane Too Dark

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 3 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    ggalt
    wrote on last edited by
    #1

    I'm running Qt Creator 4.8.0 on Arch Linux (x86_64). The project pane on the left-hand side is dark (which is fine) but the default font is black, making the project files unreadable unless they are highlighted. I've found some old posts that talk about updating the stylesheet for Qt Creator, but it looks like the stylesheet approach doesn't work any longer (I could be wrong, but none of the changes I did made a difference). I've tried all of the available themes in the "Interface" Options setting, but none fix this issue. I've posted an image below. There is actually a project listing on the left-hand side, but you can't really see the files. Any thoughts?

    0_1547321226713_qtcreator_dark.png

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      So even the Light themes are too dark ??
      Im not sure what could be the cause of this.
      You could try altering teh color in the theme files itself
      Qt\Tools\QtCreator\share\qtcreator\themes

      alt text

      1 Reply Last reply
      1
      • G Offline
        G Offline
        ggalt
        wrote on last edited by
        #3

        Thanks for the suggestion. Can you tell me what variables cover the panel color and the text color? I tried modifying the "darkText" variable with no effect, but there are a large number of options and having to edit, save, load, (rinse, repeat) is taking a while. FYI, this is what the "light flat" theme looks like:

        0_1547415491343_qtcreator_light_theme.png

        mrjjM 1 Reply Last reply
        0
        • G ggalt

          Thanks for the suggestion. Can you tell me what variables cover the panel color and the text color? I tried modifying the "darkText" variable with no effect, but there are a large number of options and having to edit, save, load, (rinse, repeat) is taking a while. FYI, this is what the "light flat" theme looks like:

          0_1547415491343_qtcreator_light_theme.png

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @ggalt
          Hi
          Sadly im not sure what color key is used for the project tree background.
          Also, i doubt it will have any effect as that is very strange why it has dark background even
          with light theme so doubt it would have any effect.

          Do your OS have Dark theme set for the other windows ?
          I have never seen this bug before and i do wonder where the color and font color comes from.

          G 1 Reply Last reply
          0
          • mrjjM mrjj

            @ggalt
            Hi
            Sadly im not sure what color key is used for the project tree background.
            Also, i doubt it will have any effect as that is very strange why it has dark background even
            with light theme so doubt it would have any effect.

            Do your OS have Dark theme set for the other windows ?
            I have never seen this bug before and i do wonder where the color and font color comes from.

            G Offline
            G Offline
            ggalt
            wrote on last edited by
            #5

            @mrjj I'm running Arch Linux (x86_64) and Plasma/KDE theme "Breeze Dark". I've reverted to "Breeze" and the panel color changes to a light color (see first screenshot). Compare with the similar screen shot for the "Breeze Dark" theme (second screenshot). Clearly it is pulling the panel color from the Plasma theme. I will explore further, but will probably file a bug report against it.
            Breeze Plasma Theme:
            0_1547420076973_qtcreator_light_theme2.png

            Breeze Dark Plasma Theme:
            0_1547420229140_qtcreator_dark2.png

            1 Reply Last reply
            0
            • G Offline
              G Offline
              ggalt
              wrote on last edited by
              #6

              OK, so it appears to be pulling the panel color from the "View Background" color in the Plasma theme. You can see a somewhat lighter panel in the screen shot below. I haven't been able to determine where Qt Creator is pulling the text color, because that would be easier to work with (and less disruptive to the Plasma theme).

              0_1547435007214_qtcreator_light_theme3.png

              mrjjM 1 Reply Last reply
              0
              • G ggalt

                OK, so it appears to be pulling the panel color from the "View Background" color in the Plasma theme. You can see a somewhat lighter panel in the screen shot below. I haven't been able to determine where Qt Creator is pulling the text color, because that would be easier to work with (and less disruptive to the Plasma theme).

                0_1547435007214_qtcreator_light_theme3.png

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @ggalt
                Hi
                Ok, good digging.
                Does seems like a bug to me.
                Somehow the QStyle being used pulls this in.
                Im not really sure why only "View Background" then.

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  flukey
                  wrote on last edited by
                  #8

                  I had the same problem (but in reverse, the pane was too light and the pale text hard to read) on Manjaro / Xfce. I solved it by running qt5ct from the terminal and changing the appearance settings there. Changing 'style' to Gtk2 worked for me, making the sidebar more like my desktop.

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved