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

[Gambas-bugtracker] Bug #3109: Lower property not work with GTK2 GTK3


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

Michele V reported a new bug.

Summary
-------

Lower property not work with GTK2 GTK3

Type             : Bug
Priority         : Medium
Gambas version   : Master
Product          : GTK+3 component


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

Hi
In a form, I placed two buttons one above the other.
I use The lower property of button, with a click one should make it fade to the background, and vice versa.
The following code does not work if I select GTK2 GTK3 but only with QT5 and QT6

Public Sub Form_Open()
  Button2.Lower
End

Public Sub Button2_Click()
  Print "2"
  Button2.Lower
End

Public Sub Button1_Click()
  Print "1"
  Button1.Lower
End


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

[System]
Gambas=3.21.1 5994807 (master)
OperatingSystem=Linux
Distribution=Linux Mint 22 (Wilma)
Kernel=6.8.0-87-generic
Architecture=x86_64
Cores=4
Memory=3811M
Language=it_IT.UTF-8
Platform=x11
Desktop=CINNAMON
DesktopResolution=96
DesktopScale=9
WidgetTheme=mint-y-aqua
Font=Ubuntu,13
DarkTheme=False
[Programs]
clang=Ubuntu clang version 18.1.3 (1ubuntu1)
dpkg=Debian "dpkg", programma di gestione dei pacchetti versione 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
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]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=cinnamon
DISPLAY=:0
GB_GUI=gb.gtk3
GDMSESSION=cinnamon
GDM_LANG=it
GIO_LAUNCHED_DESKTOP_FILE=<home>/Scrivania/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=21403
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK3_MODULES=xapp-gtk3-module
GTK_MODULES=gail:atk-bridge
HOME=<home>
INSIDE_NEMO_PYTHON=
LANG=it_IT.UTF-8
LANGUAGE=it_IT.UTF-8
LOGNAME=<user>
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_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1057,unix/<hostname>:/tmp/.ICE-unix/1057
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_ACTIVATION_TOKEN=nemo-desktop-1742-<hostname>-gambas3-3_TIME5305357
XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP=X-Cinnamon
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
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=cinnamon
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7


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