z3ntu / RazerGenie

Qt application for configuring your Razer devices under GNU/Linux.
GNU General Public License v3.0
385 stars 35 forks source link

Preferences button not visible #50

Closed nightsky30 closed 5 years ago

nightsky30 commented 5 years ago

Maybe it is me and I'm just really missing it, but I don't see a preferences button anywhere. My layout looks like the following (without the downloaded images):

prefs_gone

In https://github.com/z3ntu/RazerGenie/issues/43#issuecomment-461806253 it is mentioned there is a button in the lower left, but I don't see one. I'd really like to be able to download the image files for my devices, but cannot access the setting in preferences.

For reference I'm running Xubuntu 19.04 (XFCE), OpenRazer 2.5.0, and RazerGenie 0.8.1

nightsky30 commented 5 years ago

Update:

The button is actually there, but invisible!!! I noticed the Daemon Version label was slightly skewed to the right compared to the reference image used above. I decided to click in that blank area, and a box popped up!

Screenshot_2019-05-09_21-40-55

Screenshot_2019-05-09_21-40-10

z3ntu commented 5 years ago

I'm using the configure icon from the icon theme, which apparently isn't available on your system (I've also seen this problem on Windows where there are no "normal" icon themes)

nightsky30 commented 5 years ago

At least the area is clickable and functioning. Is this something that should be fixed upstream say with the icon theme, Qt5, XFCE, or Xubuntu distro package? I'll gladly open an upstream issue :)

For reference I'm using the "Elementary Xfce darker" icon set...though maybe that is not what Qt uses??

Screenshot_2019-05-27_10-57-43

Qt5 settings (there does appear to be an issue with the Xubuntu setup):

Screenshot_2019-05-27_11-01-01

Screenshot_2019-05-27_11-03-55

I can't seem to override that stupid variable, and I'm not even sure if that would fix things...

nightsky30 commented 5 years ago

If anyone else finds their way here aggravated and wondering how to set the QT_QPA_PLATFORMTHEME variable to qt5ct or something else:

Xubuntu sets/overrides the QT_QPA_PLATFORMTHEME value in:

/etc/X11/Xsession.d/56xubuntu-session

I changed the following to remedy the error I was getting:

# QT5 apps to use GTK style
# export QT_QPA_PLATFORMTHEME=gtk2
export QT_QPA_PLATFORMTHEME=qt5ct

This did not fix the missing icon issue. Looking into raising an issue with https://github.com/shimmerproject/elementary-xfce

ochosi commented 5 years ago

So the icon name is just "configure"? If it's not shown in elementary-xfce it's probably also not in Gnome's icon theme, from where elementary-xfce inherits all missing icons. That may be a bigger problem than the icon missing in elementary-xfce.

Is that a standard qt icon name? At least the freedesktop standard doesn't know that name: https://specifications.freedesktop.org/icon-naming-spec/latest/ar01s04.html

Alternatively you could also consider to switch to a standard icon name (especially if it's not a qt standard), e.g. "document-properties"

z3ntu commented 5 years ago

Yes, in Breeze it's just configure: image

How about preferences-system ? The icon packs listed at https://commons.wikimedia.org/wiki/Comparison_of_icon_sets have a fitting icon for the preferences.

preferences-other would also be an option but it seems that less icon packs support that one.

ochosi commented 5 years ago

preferences-system should work out fine!

rios0rios0 commented 4 years ago

Hello guys. I have the same behavior.

OS: Ubuntu 18.04.03 LTS (I don't have any Icon Pack, and default appearance settings) RazerGenie Version: 0.8.1 OpenRazer Daemon Version: 2.7.0

Thanks!

Screen

z3ntu commented 4 years ago

@rios0rios0 The change is not included in RazerGenie 0.8.1. I have some changes that I want to include in the next release (a rewrite more or less) but I haven't got it finished yet, so the new release will still take a while, sorry.