[Gambas-bugtracker] Bug #2782: Height and width suppression processing bug in resize event

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Aug 28 08:52:04 CEST 2023


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

Makoto SHIMAMURA reported a new bug.

Summary
-------

Height and width suppression processing bug in resize event

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


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

With the code below, I want to make the height expand at a fixed ratio when the width is expanded in the resize event of the form, but it does not work.
It worked with gambas3.16.2, but it doesn't work since gambas3.17.3.
I also tried master but it didn't work.

Code example:

Public Sub Form_Resize()
    Me.Height = Me.Width * 0.7
End


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

[System]
Gambas=3.17.3
OperatingSystem=Linux
Kernel=6.1.21-v8+
Architecture=arm
Distribution=debian 11.7
Desktop=LXDE
Font=Noto Mono,12
Scale=9
Theme=pixflat
Language=ja_JP.UTF-8
Memory=3794M

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.7.0
DBus=libdbus-1.so.3.19.15
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.20
GStreamer=libgstreamer-1.0.so.0.1804.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2404.20
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.102.0.0
QT5=libQt5Core.so.5.15.2
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_DRIVER=gles2
CLUTTER_IM_MODULE=fcitx
COGL_DRIVER=gles2
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=LXDE-pi
DISPLAY=:0
GB_GUI=gb.gtk3
GDMSESSION=lightdm-xsession
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_IM_MODULE=fcitx
HOME=<home>
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-armhf/bin/java
LANG=ja_JP.UTF-8
LANGUAGE=ja_JP.UTF-8
LC_ALL=ja_JP.UTF-8
LOGNAME=<user>
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
PWD=<home>
QT_ACCESSIBILITY=1
QT_IM_MODULE=fcitx
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=qt5ct
SAL_USE_VCLPLUGIN=gtk3
SHELL=/bin/bash
SSH_AGENT_PID=824
SSH_AUTH_SOCK=/tmp/ssh-c1Nmc3LIzTVM/agent.689
TZ=:/etc/localtime
USER=<user>
V3D_IGNORE_SCANOUT_USAGES=1
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg
XDG_CONFIG_HOME=<home>/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/usr/share/fkms:/usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/<user>
XDG_MENU_PREFIX=lxde-pi-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=lightdm-xsession
XDG_SESSION_ID=1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=@im=fcitx
_LXSESSION_PID=689




More information about the Bugtracker mailing list