epasveer / seer

Seer - a gui frontend to gdb
GNU General Public License v3.0
2.11k stars 67 forks source link

How to enable dark theme? #116

Closed krupitskas closed 1 year ago

krupitskas commented 1 year ago

Hi, I've found solution to enable dark theme only for code window. Any option to enable whole dark mode for seer? Thanks.

epasveer commented 1 year ago

Dark themes are set by your desktop environment. Seer honors that. There's no specific setting in Seer.

krupitskas commented 1 year ago

I have gnome with dark theme enabled image And yaru dark as a fallback theme image And everything dark, except Seer image

epasveer commented 1 year ago

I have gnome with dark theme enabled

Ahh, Gnome.

Let me try some things. (Thanks for the screenshots, btw).

epasveer commented 1 year ago

Btw, what shows under "Views -> Styles"?

There may be a dark style under that you can choose. If so, select it, then select "Settings -> Save Configuration..." to save it.

image

krupitskas commented 1 year ago

image Only windows and fusion, both white

epasveer commented 1 year ago

OK. One more question. What distro are you using?

I should be able to do some further research based on that.

krupitskas commented 1 year ago

6.0.9-arch1-1

krupitskas commented 1 year ago

I've installed seer through yay -S seer-gdb

epasveer commented 1 year ago

My initial research shows this link to an Arch wiki.

https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications#QGtkStyle

I doubt Seer is the only Qt app with the dark/light theme problem with Gnome. The wiki has some tips. Especially the QGtkStyle and QGnomePlatform packages. I suspect, after they are installed, you can select them with "View -> Styles". Then Seer should honor the Gnome desktop theme settings.

Give it a try. I'll continue to dig, though.

epasveer commented 1 year ago

And this video may help.

https://youtu.be/RPULg5X5r6g

uyar commented 1 year ago

I struggled with the same problem (in reverse,.i.e. gtk apps on lxqt) a while back. I found that same wiki and had pretty good results with Kvantum. I don't know if it would work for this case as well, though.

epasveer commented 1 year ago

After I installed Kvantum, Seer was able to use it. It was listed in "View -> Styles".

epasveer commented 1 year ago

@krupitskas just wondering if you had a moment to try the suggestions in the thread?

krupitskas commented 1 year ago

And yes and no :) Actually gnome was pretty crap for me, so I've switched to plasma. And with plasma it works flawlessly (with gnome, when app hanged, I couldn't even switch to seer for debugging, eh.. )

epasveer commented 1 year ago

Okay. Glad to hear you're not stuck.

I'm going to close this task. I've created a discussion (#118) for anyone with Gnome experience to chime in.