Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibreCAD theme conflicting #1278

Closed
Bollos00 opened this issue Sep 15, 2020 · 3 comments
Closed

LibreCAD theme conflicting #1278

Bollos00 opened this issue Sep 15, 2020 · 3 comments

Comments

@Bollos00
Copy link

I have been using LibreCAD since the last semester for school projects and it has been being an excellent tool for me.
I used to use LibreCAD on Ubuntu, but two months ago I switched to Manjaro and LibreCAD theme seems to be weird.

This is how LibreCAD looks for me, I thought that it was just an adaptation to my gtk theme, but then I figured out that even when I switch to a gtk light theme, LibreCAD stayed still.

Screenshot from 2020-09-15 19-23-55

I have done a record showing this (Sorry for the bad quality). As it can be seen, every application changes the theme, but LibreCAD. What I really found weird is that the default theme is dark. That usually would not be a problem, but that way I cannot see the icons clearly.

sample-2020-09-15-192732

##Informations about the system and LibreCAD:

Version: 2.1.3
Compiler: GNU GCC 10.1.0
Compiled on: Jul  7 2020
Qt Version: 5.15.0
Boost Version: 1.72.0
System: Manjaro Linux
OS: Manjaro Linux x86_64 
Kernel: 5.8.6-1-MANJARO 
DE: GNOME 3.36.

LibreCAD was installed with pacman.

Thanks in advance.

@Bollos00
Copy link
Author

I have just found the issue, I will post the solution here for someone whom faces the same problem or for me of the future if I ever have this issue again.

There is this environment variable QT_STYLE_OVERRIDE that was defined with kvantum, this used to force all my Qt Applications to have this theme. It will be defined in one of those files:
~/.bash_profile
~/.profile
/etc/profile
/etc/environment

For me it was located on /etc/environment. Once Identified, delete or comment the line that define that variable (if it is in the /etc directory you will need root privileges).

Then reboot your system.

Next install the package qt5ct.

sudo pacman -S qt5ct

Now open the Qt Configuration Tool (qt5ct) and choose the theme that you want.

Reference:
https://bbs.archlinux.org/viewtopic.php?id=214147&p=3
https://wiki.manjaro.org/index.php?title=Set_all_Qt_app%27s_to_use_GTK%2B_font_%26_theme_settings
https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications

@deric
Copy link

deric commented Oct 27, 2020

Looks like duplicate of #1144

@Bollos00
Copy link
Author

Bollos00 commented Nov 9, 2020

Looks like duplicate of #1144

Yes. I did not see it.

Anyway, now that it is solved the issue can be closed.

@Bollos00 Bollos00 closed this as completed Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants