[Gambas-bugtracker] Bug #2769: gb.form (Button) out of bounds when trying to add a image to button

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Jul 28 03:25:29 CEST 2023


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

Andrew GABLE reported a new bug.

Summary
-------

gb.form (Button) out of bounds when trying to add a image to button

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


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

I can load a stock image onto the button but when I click to use my own (example my images are located under /Gambas/Backoffice/Appimages/While_background) I get a error message saying


This appliation has raised a unexpected error and must abort.

Out of bounds (#21)

[gb.form].FileView.TaskPreview_Read.659

This Error will show even if the button has previously had a image loaded onto the CmdButton.


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

[System]
Gambas=3.18.3
OperatingSystem=Linux
Distribution=debian 12.0
Kernel=6.1.0-10-686-pae
Architecture=x86
Cores=2
Memory=2974M
Language=en_GB.UTF-8
Desktop=UNKNOWN
DesktopResolution=96
DesktopScale=7
WidgetTheme=xfce
Font=Inconsolata,10,Bold

[Programs]
gcc=gcc (Debian 12.2.0-14) 12.2.0
git=git version 2.39.2

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.8.0
DBus=libdbus-1.so.3.32.2
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2405.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.2405.32
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.126.0.0
QT5=libQt5Core.so.5.15.8
RSvg=librsvg-2.so.2.48.0
SDL=libSDL2-2.0.so.0.2600.5
SQLite 3=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DISPLAY=:0.0
GB_GUI=gb.gtk3
GTK_MODULES=gail:atk-bridge
HOME=<home>
INVOCATION_ID=6def105ee99c4247964df7176cf99560
JOURNAL_STREAM=8:89402
LANG=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8
LC_ALL=en_GB.UTF-8
LOGNAME=<user>
MANAGERPID=651
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/
QT_ACCESSIBILITY=1
QT_LOGGING_RULES=*.debug=false
SHELL=/bin/bash
SYSTEMD_EXEC_PID=20291
TZ=:/etc/localtime
USER=<user>
XAUTHLOCALHOSTNAME=
XAUTHORITY=<home>/.Xauthority
XDG_DATA_DIRS=/usr/share/xfce4:/usr/local/share/:/usr/share/
XDG_RUNTIME_DIR=/run/user/1000




More information about the Bugtracker mailing list