[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3034: QT6 : Problems with displaying the color transparent in a readonly ComboBox


http://gambaswiki.org/bugtracker/edit?object=BUG.3034&from=L21haW4-

Poly TRICHUM reported a new bug.

Summary
-------

QT6 : Problems with displaying the color transparent in a readonly ComboBox

Type             : Bug
Priority         : Medium
Gambas version   : Unknown
Product          : Unknown


Description
-----------

I have discovered a different behaviour of QT6 compared to all other GUI components. 

If I set a ComboBox to readonly, but at the same time a start color is set, then the start color transparent is not displayed correctly, but another color, in my case it is black, is displayed. 
However, other colors in the default setting are displayed correctly despite readonly. 
See the attached example.

Color 1 : readonly True --> Transparent is not displayed correctly. 
Color 2 : readonly False --> Transparent is displayed correctly.
Color 3: readonly True --> Red is displayed correctly. 

I have tried it with Gambas 3.20.2 and Gambas 3.20.3. 

Thank you.


System information
------------------

[System]
Gambas=3.20.3 01626f4 (master)
OperatingSystem=Linux
Distribution=Devuan GNU/Linux 5 (daedalus)
Kernel=6.1.0-21-amd64
Architecture=x86_64
Cores=2
Memory=3797M
Language=de_DE.UTF-8
Platform=x11
Desktop=KDE
DesktopResolution=96
DesktopScale=7
WidgetTheme=breeze
Font=Noto Sans,10
DarkTheme=False
[Programs]
dpkg=Debian »dpkg« Paketmanagement-Programm Version 1.21.22 (amd64).
gcc=gcc (Debian 12.2.0-14) 12.2.0
git=git version 2.39.5
msgmerge=msgmerge (GNU gettext-tools) 0.21
rpmbuild=RPM version 4.18.0
[Libraries]
Cairo=libcairo.so.2.11600.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.2406.32
GStreamer=libgstreamer-1.0.so.0.2200.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2406.32
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.126.0.0
QT5=libQt5Core.so.5.15.8
QT6=libQt6Core.so.6.4.2
RSvg=librsvg-2.so.2.48.0
SDL=libSDL2-2.0.so.0.2600.5
SQLite3=libsqlite3.so.0.8.6
[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-6rEZpaH8Ld,guid=473713670148d1e37c71cd4f680cf9ee
DESKTOP_SESSION=plasma
DISPLAY=:0
GB_GUI=gb.qt5
GDMSESSION=plasma
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.config/gtkrc-2.0
GTK_CSD=0
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=0
GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.config/gtkrc
HOME=<home>
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
LANG=de_DE.UTF-8
LANGUAGE=de_DE.UTF-8
LD_PRELOAD=libgtk3-nocsd.so.0
LIBOVERLAY_SCROLLBAR=0
LOGNAME=<user>
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PWD=<home>
QT_ACCESSIBILITY=1
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2190,unix/<hostname>:/tmp/.ICE-unix/2190
SHELL=/bin/bash
SSH_AGENT_PID=2123
SSH_AUTH_SOCK=/tmp/ssh-oKdxe4QUyG1y/agent.2076
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XCURSOR_SIZE=24
XCURSOR_THEME=breeze_cursors
XDG_CONFIG_DIRS=<home>/.config/kdedefaults:/etc/xdg
XDG_CURRENT_DESKTOP=KDE
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=plasma
XDG_SESSION_ID=1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
force_s3tc_enable=true


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----