You are not logged in.

#1 2021-03-26 09:19

Aristide
Member
Registered: 2021-03-26
Posts: 6

[CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

Hello !

I have installed Apper for manage software, but I have a problem, I don't have icons¹ (Screenshot : 1)
I have try to install Qt5ct and set QT_QPA_PLATFORMTHEME=qt5ct its work (Screenshot : 2) and launch (QT_QPA_PLATFORMTHEME=qt5ct apper) : Its work.

BUT, problem is here :
I try to set QT_QPA_PLATFORMTHEME to qt5ct but this env var is set as q4ostde. I have try several methods :

→ Set variable in .bashrc and .profile (I don't have .bash_login) in my home directory. QT_QPA_PLATFORMTHEME is set as qt5ct if I launch konsole, but not from session manager.
→ Modify /etc/X11/Xsession.d/99qt5ct for force set : Don't set.

Do you know where QT_QPA_PLATFORMTHEME is set as q4ostde ?

Thank's smile

# Enable qt5ct by default unless another PLATFORMTHEME option is set
# or KDE is running.
#if [ -z "$QT_QPA_PLATFORMTHEME" ] && [ "$XDG_CURRENT_DESKTOP" != "KDE" ]
#then
export QT_QPA_PLATFORMTHEME=qt5ct
#fi


Screenshots :
1 : Screen 1
2 : Screen 2

Last edited by Aristide (2021-03-27 12:33)

Offline

#2 2021-03-26 09:24

Aristide
Member
Registered: 2021-03-26
Posts: 6

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

So, I add informations :

I have try to add a script shell (and chmod +x) for set variable into ~/.trinity/env and ~/.trinity/Autostart too : Same problem.
I use trinity Desktop

Offline

#3 2021-03-26 09:49

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,502
Website

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

What desktop profile do you apply at install phase ?

You shouldn't modify the "QT_QPA_PLATFORMTHEME" variable, as it defines theme for QT5 applications to integrate in Trinity. We would recommend you just to install "oxygen-icon-theme" package to add the needed icons:
$ sudo apt install oxygen-icon-theme

The  QT_QPA_PLATFORMTHEME is defined in "/opt/trinity/env/50_q4loginscr01.sh", however we wouldn't recommend you to modify it, as noted above. You can also edit the file "$HOME/.configtde/q4tde/q4tde.conf" file to change QT5 settings in Trinity, it's the recommended way.

Offline

#4 2021-03-26 09:57

Aristide
Member
Registered: 2021-03-26
Posts: 6

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

Hello !

Thank's for your response smile

I use breeze theme icon (sorry, I forget to specify).

OK. I try to edit this file but I have same problem (try after logoff/logon).

[General]
icon_theme=breeze
;single_click_activate=false
;theme=light
;tool_button_style=ToolButtonTextUnderIcon

[Mouse]
cursor_theme=breeze_cursors

[Qt]
;doubleClickInterval=400
;font="Droid Sans,9,-1,5,50,0,0,0,0,0"
;style=Fusion
;wheelScrollLines=3
user@q4os-desktop:/usr/share/icons$ ls
Adwaita         Breeze_Snow      desktop-base  hicolor      Tango
breeze          cab_extract.png  DMZ-Black     locolor      vendor
breeze_cursors  cab_view.png     DMZ-White     oxygen       Waterleaf
breeze-dark     default          gnome         q4os-nuvola

For profile, I have selected « TDE » desktop with full desktop set.

Last edited by Aristide (2021-03-26 09:58)

Offline

#5 2021-03-26 10:00

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,502
Website

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

Well, the applications seems to not respect the icon settings. So, please try to uncomment the "style" line in the "q4tde.conf" file.

Offline

#6 2021-03-26 10:12

Aristide
Member
Registered: 2021-03-26
Posts: 6

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

Hm. Ok. I have try to edit q4tde.conf (both style=Fusion (default) and QtCurve, and Breeze : Same problem).
App theme is changed (in direct live), but not icon (I have again try to logoff/logon).

But its strange, because only « Apper » is impacted by this problem.
Kdevelop is loaded correcly with icons.

Offline

#7 2021-03-26 10:24

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,502
Website

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

You could also try to run affected applications from terminal and check the terminal output for errors.

Offline

#8 2021-03-26 10:33

Aristide
Member
Registered: 2021-03-26
Posts: 6

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

Hm. Maybe this « pixmap » error :

user@q4os-desktop:~$ apper
QCommandLineParser: option not defined: "install-provide-file"
kf5.kwidgetsaddons: Invalid pixmap specified.
kf5.kwidgetsaddons: Invalid pixmap specified.
apper:
apper:

This error not appear with qt5ct :

user@q4os-desktop:~$ QT_QPA_PLATFORMTHEME=qt5ct apper
qt5ct: using qt5ct plugin
QCommandLineParser: option not defined: "install-provide-file"
apper:
apper:

Offline

#9 2021-03-26 10:41

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,502
Website

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

We will investigate the issue and post back on updates.

Offline

#10 2021-03-26 10:44

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,502
Website

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

It would be also helpful, if you summarize the issue and create a new report at our bug tracker https://sourceforge.net/p/q4os/tickets/ . Thanks for reproting.

Offline

#11 2021-03-26 16:41

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,502
Website

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

We conclude it's a Debian upstream bug. The same issue shows at a clean pure LXQT Debian installation https://cdimage.debian.org/debian-cd/cu … 4-lxqt.iso , so it would be appropriate to report that as a Debian bug.

Offline

#12 2021-03-27 12:32

Aristide
Member
Registered: 2021-03-26
Posts: 6

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

Hello.

Thank's for your response smile

Offline

#13 2021-03-27 15:43

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,333

Re: [CONCLUSION : BUG DEBIAN RELATED] - Probem with icons with Apper

Getting qt5 apps to behave can be a pain. Getting them to behave in TDE is even more of a pain to impossible.

However, the assumption that it is a bug may be incorrect.

Installed Debian LXQT as above.

Installed qt5ct (the style plugins are already installed)

Run

env QT_QPA_PLATFORMTHEME=qt5ct qt5ct

It takes a few moments to load.

Configure using Fusion, Sans/Mono, Oxygen Icons and save.

Install apper

Run apper - it glitches as previously described

https://imgur.com/vu0TG3o

So, you need to set the environment on launching the program

env QT_QPA_PLATFORMTHEME=qt5ct apper

https://imgur.com/QUsfYaC

All good. You can fit this into a custom launcher.

As regards doing this in TDE - well I find it easier to use a VM running LXDE (LXQT or XFCE will do) to create the ~/.config/qt5ct folder and just drop it where I need it.

Offline

Board footer

Powered by FluxBB