[Gambas-bugtracker] Bug #2736: Error in gb.gui.base.splitter on Raspberry PI 3b with Touchscreen Display

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Apr 17 17:49:53 CEST 2023


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

Dirk LANTZSCH reported a new bug.

Summary
-------

Error in gb.gui.base.splitter on Raspberry PI 3b with Touchscreen Display

Type             : Bug
Priority         : Medium
Gambas version   : 3.18
Product          : GUI components


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

Hello,

if i use the Splitter Component in a Programm which runs on a Raspberry Pi with Touchscreen and i try to move the splitter with my Finger on the Touchscreen i get the following Error Message:

This application has raised an unexpected error and must abort.
Null objekt(#13).
[gb.gui.base].Splitter.Resize_MouseMove.393

The Error only happens if i use the Touchscreen directly to move the Splitter, if i first use a connected mouse or a VNCClient to move the Splitter and than use the Touchscreen to move the Splitter no Error occurs. 

I think the Resize_MouseDown() Function in the splitter.class isn't called by the Touchscreen click Event (probably since there is simply no MouseDown event), so the $aLayout Variable stays Null.

I can't debug the Problem really good, because the only Touchscreen i have has a 800x480 Resolution, so the Gambas IDE isn't really usable.

Do i have a chance to change this behaviour or can i Disable the Splitter, so that no unintentional splinter displacement is possible? I tried to set the Enable Proberty of the Splitter to False, but all components placed in the Splitter are disabled if i do this, so this is no option for me.

Thanks for all your work

Kind regards
Dirk


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

[System]
Gambas=3.18.1 911557f (stable)
OperatingSystem=Linux
Distribution=debian 11.6
Kernel=6.1.19-v7+
Architecture=arm
Cores=4
Memory=922M
Language=de_DE.UTF-8
Desktop=LXDE
DesktopResolution=96
DesktopScale=9
WidgetTheme=<user>xflat
Font=PibotoLt,12

[Programs]
gcc=gcc (Raspbian 10.2.1-6+r<user>1) 10.2.1 20210110
git=git version 2.30.2

[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
RSvg=librsvg-2.so.2.47.0
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=LXDE-<user>
DISPLAY=:10.0
GB_GUI=gb.gtk3
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
HOME=<home>
LANG=de_DE.UTF-8
LC_ALL=de_DE.UTF-8
LOGNAME=<user>
NO_AT_BRIDGE=1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa
PWD=<home>
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=qt5ct
SAL_USE_VCLPLUGIN=gtk3
SHELL=/bin/bash
SSH_AGENT_PID=30960
SSH_AUTH_SOCK=/tmp/ssh-RxAiPJ3313y1/agent.30880
TEXTDOMAIN=Linux-PAM
TZ=:/etc/localtime
UID=1000
USER=<user>
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/ras<user>-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
XDG_MENU_PREFIX=lxde-<user>-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_ID=c1
XDG_SESSION_TYPE=x11
XRDP_PULSE_SINK_SOCKET=xrdp_chansrv_audio_out_socket_10
XRDP_PULSE_SOURCE_SOCKET=xrdp_chansrv_audio_in_socket_10
XRDP_SESSION=1
XRDP_SOCKET_PATH=/run/xrdp/sockdir
_LXSESSION_PID=30880




More information about the Bugtracker mailing list