[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with Dark Theme and Foreground
[Thread Prev] | [Thread Next]
- Subject: Re: Problem with Dark Theme and Foreground
- From: CD <dessere.claude@xxxxxx>
- Date: Tue, 25 Nov 2025 11:11:33 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Thanks for the info, that does indeed fix the problem. Claude DESSERÉ Le samedi 22 novembre 2025 à 18:23 -0700, Dimitris Anogiatis a écrit : > QT5 has its own Configuration tool where you can select a dark theme if you > want... it's called qt5ct > QT6 also has the same kind of tool called qt6ct > > The IDE might be able to select the theme but the compiled apps are probably > getting their theme options from the system not from the IDE. > > On Sat, Nov 22, 2025 at 5:32 PM CD <dessere.claude@xxxxxx> wrote: > > I don't know which bug you're referring to, > > nor how that line ended up in the project file. > > > > I've tested it with and without that line, > > and I get exactly the same behavior > > except that `Application.Env["GB_GUI"]` > > returns nothing with gb.qt5. > > > > I've made a summary, which I've attached. > > > > One thing has changed with the gb.qt5 component: > > In my first email about this, the color wasn't displaying in design mode; > > now it is. > > But in runtime mode, there's still no foreground color for the button! > > > > Regards > > > > [System] > > Gambas=3.21.1 5994807 (master) > > OperatingSystem=Linux > > Distribution=Ubuntu 24.04.3 LTS (Noble Numbat) > > Kernel=6.8.0-88-generic > > Architecture=x86_64 > > Cores=8 > > Memory=7817M > > Language=fr_FR.UTF-8 > > Platform=x11 > > Desktop=MATE > > DesktopResolution=96 > > DesktopScale=9 > > WidgetTheme=blackmate > > Font=Ubuntu Mono,13 > > DarkTheme=True > > [Programs] > > dpkg=Programme « dpkg » de gestion de paquets Debian version 1.22.6 (amd64). > > gcc=gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 > > git=git version 2.43.0 > > msgmerge=msgmerge (GNU gettext-tools) 0.21 > > rpmbuild=RPM version 4.18.2 > > [Libraries] > > Cairo=libcairo.so.2.11800.0 > > Curl=libcurl.so.4.8.0 > > DBus=libdbus-1.so.3.32.4 > > GDK2=libgdk-x11-2.0.so.0.2400.33 > > GDK3=libgdk-3.so.0.2409.32 > > GStreamer=libgstreamer-1.0.so.0.2402.0 > > GTK+2=libgtk-x11-2.0.so.0.2400.33 > > GTK+3=libgtk-3.so.0.2409.32 > > OpenGL=libGL.so.1.7.0 > > Poppler=libpoppler.so.134.0.0 > > Poppler=libpoppler.so.73.0.0 > > QT5=libQt5Core.so.5.15.13 > > QT6=libQt6Core.so.6.4.2 > > RSvg=librsvg-2.so.2.50.0 > > SDL=libSDL2-2.0.so.0.3000.0 > > SQLite3=libsqlite3.so.0.8.6 > > [Environment] > > COMPIZ_CONFIG_PROFILE=mate > > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus > > DEBUGINFOD_URLS=https://debuginfod.ubuntu.com > > DEFAULTS_PATH=/usr/share/gconf/mate.default.path > > DESKTOP_SESSION=mate > > DISPLAY=:0 > > GB_GUI=gb.gtk3 > > GDMSESSION=mate > > GDM_LANG=fr_FR > > GIO_LAUNCHED_DESKTOP_FILE=<home>/Bureau/gambas3.desktop > > GIO_LAUNCHED_DESKTOP_FILE_PID=56895 > > GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 > > GTK3_MODULES=xapp-gtk3-module > > GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module > > GTK_OVERLAY_SCROLLING=0 > > HOME=<home> > > INSIDE_CAJA_PYTHON= > > LANG=fr_FR.UTF-8 > > LANGUAGE=fr_FR.UTF-8 > > LC_ADDRESS=fr_FR.UTF-8 > > LC_IDENTIFICATION=fr_FR.UTF-8 > > LC_MEASUREMENT=fr_FR.UTF-8 > > LC_MONETARY=fr_FR.UTF-8 > > LC_NAME=fr_FR.UTF-8 > > LC_NUMERIC=fr_FR.UTF-8 > > LC_PAPER=fr_FR.UTF-8 > > LC_TELEPHONE=fr_FR.UTF-8 > > LC_TIME=fr_FR.UTF-8 > > LOGNAME=<user> > > MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path > > MATE_DESKTOP_SESSION_ID=this-is-deprecated > > PAPERSIZE=a4 > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games > > :/usr/local/games:/snap/bin > > PWD=<home> > > QT_ACCESSIBILITY=1 > > QT_FONT_DPI=96 > > QT_LOGGING_RULES=*.debug=false > > QT_QPA_PLATFORMTHEME=gtk2 > > QT_SCALE_FACTOR=1 > > SESSION_MANAGER=local/<hostname>:@/tmp/.ICE- > > unix/2337,unix/<hostname>:/tmp/.ICE-unix/2337 > > SHELL=/bin/bash > > SHLVL=0 > > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > > TZ=:/etc/localtime > > UBUNTU_MENUPROXY=1 > > USER=<user> > > XAUTHORITY=<home>/.Xauthority > > XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg > > XDG_CURRENT_DESKTOP=MATE > > XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:/usr/share/gnome:/usr/local/sh > > are:/usr/share:/var/lib/snapd/desktop > > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user> > > XDG_RUNTIME_DIR=/run/user/1000 > > XDG_SEAT=seat0 > > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > > XDG_SESSION_CLASS=user > > XDG_SESSION_DESKTOP=mate > > XDG_SESSION_ID=c2 > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > > XDG_SESSION_TYPE=x11 > > XDG_VTNR=7 > > > > Le samedi 22 novembre 2025 à 17:00 +0000, Bruce Steers a écrit : > > > That was odd. > > > I could only get your program to run with gb.gtk3. > > > > > > It did not matter how i set the GB_GUI env it always used gb.gtk3 > > > > > > I then removed this line from the ".project" file... > > > StartupEnvironment=GB_GUI=gb.qt5 gambas3 > > > > > > After removing that line it now uses the different gui toolkits requested > > > in the IDE. > > > > > > I do not know if that helps with your issue? it certainly seemed to fix a > > > bug. > > > > > > Respects > > > BruceS > > > > > > > > > On Sat, 22 Nov 2025 at 16:25, CD <dessere.claude@xxxxxx> wrote: > > > > Hello, thank you for your reply. > > > > > > > > I'm really disappointed! > > > > > > > > I've tried all the themes offered by Mate, but nothing works. > > > > > > > > I wrote an app that displays information for the three components: > > > > gb.gui selects gb.gtk3 > > > > gb.gui.qt selects gb.qt6 > > > > gb.qt5 selects gb.qt5 gambas3 > > > > > > > > In design mode, the button doesn't display correctly in all three cases! > > > > > > > > The attached app includes a screenshot for each of the three cases. > > > > > > > > Only with gb.gui does the color display correctly when running. > > > > > > > > I've also attached a screenshot of Gambas3 in design mode with the test > > > > app. > > > > > > > > I've also included two files in the attached project that describe the > > > > theme I'm using. > > > > > > > > Like many others, I find that Ubuntu isn't what it used to be. > > > > > > > > What configuration do you recommend: > > > > > > > > Distribution > > > > Desktop > > > > Dark theme > > > > Environment settings, etc.? > > > > > > > > Thank you in advance for your expert advice. > > > > Regards > > > > > > > > [System] > > > > Gambas=3.21.1 5994807 (master) > > > > OperatingSystem=Linux > > > > Distribution=Ubuntu 24.04.3 LTS (Noble Numbat) > > > > Kernel=6.8.0-88-generic > > > > Architecture=x86_64 > > > > Cores=8 > > > > Memory=7817M > > > > Language=fr_FR.UTF-8 > > > > Platform=x11 > > > > Desktop=MATE > > > > DesktopResolution=96 > > > > DesktopScale=9 > > > > WidgetTheme=proxy > > > > Font=Ubuntu,11 > > > > DarkTheme=True > > > > [Programs] > > > > dpkg=Programme « dpkg » de gestion de paquets Debian version 1.22.6 > > > > (amd64). > > > > gcc=gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 > > > > git=git version 2.43.0 > > > > msgmerge=msgmerge (GNU gettext-tools) 0.21 > > > > rpmbuild=RPM version 4.18.2 > > > > [Libraries] > > > > Cairo=libcairo.so.2.11800.0 > > > > Curl=libcurl.so.4.8.0 > > > > DBus=libdbus-1.so.3.32.4 > > > > GDK2=libgdk-x11-2.0.so.0.2400.33 > > > > GDK3=libgdk-3.so.0.2409.32 > > > > GStreamer=libgstreamer-1.0.so.0.2402.0 > > > > GTK+2=libgtk-x11-2.0.so.0.2400.33 > > > > GTK+3=libgtk-3.so.0.2409.32 > > > > OpenGL=libGL.so.1.7.0 > > > > Poppler=libpoppler.so.134.0.0 > > > > Poppler=libpoppler.so.73.0.0 > > > > QT5=libQt5Core.so.5.15.13 > > > > QT6=libQt6Core.so.6.4.2 > > > > RSvg=librsvg-2.so.2.50.0 > > > > SDL=libSDL2-2.0.so.0.3000.0 > > > > SQLite3=libsqlite3.so.0.8.6 > > > > [Environment] > > > > COMPIZ_CONFIG_PROFILE=mate > > > > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus > > > > DEBUGINFOD_URLS=https://debuginfod.ubuntu.com > > > > DEFAULTS_PATH=/usr/share/gconf/mate.default.path > > > > DESKTOP_SESSION=mate > > > > DISPLAY=:0 > > > > GB_GUI=gb.qt5 > > > > GDMSESSION=mate > > > > GDM_LANG=fr_FR > > > > GIO_LAUNCHED_DESKTOP_FILE=<home>/Bureau/gambas3.desktop > > > > GIO_LAUNCHED_DESKTOP_FILE_PID=8877 > > > > GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 > > > > GTK3_MODULES=xapp-gtk3-module > > > > GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module > > > > GTK_OVERLAY_SCROLLING=0 > > > > HOME=<home> > > > > INSIDE_CAJA_PYTHON= > > > > LANG=fr_FR.UTF-8 > > > > LANGUAGE=fr_FR.UTF-8 > > > > LC_ADDRESS=fr_FR.UTF-8 > > > > LC_IDENTIFICATION=fr_FR.UTF-8 > > > > LC_MEASUREMENT=fr_FR.UTF-8 > > > > LC_MONETARY=fr_FR.UTF-8 > > > > LC_NAME=fr_FR.UTF-8 > > > > LC_NUMERIC=fr_FR.UTF-8 > > > > LC_PAPER=fr_FR.UTF-8 > > > > LC_TELEPHONE=fr_FR.UTF-8 > > > > LC_TIME=fr_FR.UTF-8 > > > > LOGNAME=<user> > > > > MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path > > > > MATE_DESKTOP_SESSION_ID=this-is-deprecated > > > > PAPERSIZE=a4 > > > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/g > > > > ames:/usr/local/games:/snap/bin > > > > PWD=<home> > > > > QT_ACCESSIBILITY=1 > > > > QT_FONT_DPI=96 > > > > QT_LOGGING_RULES=*.debug=false > > > > QT_QPA_PLATFORMTHEME=gtk2 > > > > QT_SCALE_FACTOR=1 > > > > SESSION_MANAGER=local/<hostname>:@/tmp/.ICE- > > > > unix/2337,unix/<hostname>:/tmp/.ICE-unix/2337 > > > > SHELL=/bin/bash > > > > SHLVL=0 > > > > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > > > > TZ=:/etc/localtime > > > > UBUNTU_MENUPROXY=1 > > > > USER=<user> > > > > XAUTHORITY=<home>/.Xauthority > > > > XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg > > > > XDG_CURRENT_DESKTOP=MATE > > > > XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:/usr/share/gnome:/usr/loca > > > > l/share:/usr/share:/var/lib/snapd/desktop > > > > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user> > > > > XDG_RUNTIME_DIR=/run/user/1000 > > > > XDG_SEAT=seat0 > > > > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > > > > XDG_SESSION_CLASS=user > > > > XDG_SESSION_DESKTOP=mate > > > > XDG_SESSION_ID=c2 > > > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > > > > XDG_SESSION_TYPE=x11 > > > > XDG_VTNR=7 > > > > > > > > > > > > > > > >
| Re: Problem with Dark Theme and Foreground | CD <dessere.claude@xxxxxx> |
| Re: Problem with Dark Theme and Foreground | Bruce Steers <bsteers4@xxxxxxxxx> |
| Re: Problem with Dark Theme and Foreground | CD <dessere.claude@xxxxxx> |
| Re: Problem with Dark Theme and Foreground | Dimitris Anogiatis <dosida@xxxxxxxxx> |