<div dir="ltr"><div>I cannot get the events fire either. The same thing with gtk3 and qt5.</div><div><br></div><div>Jussi<br></div><div><br></div><div>[System]<br>Gambas=3.15.90 4471fb350 (master)<br>OperatingSystem=Linux<br>Kernel=5.4.0-52-generic<br>Architecture=x86_64<br>Distribution=Linux Mint 20 Ulyana<br>Desktop=CINNAMON<br>Theme=qt5ctproxy<br>Language=en_US.UTF-8<br>Memory=7961M<br><br>[Libraries]<br>Cairo=libcairo.so.2.11600.0<br>Curl=libcurl.so.4.6.0<br>DBus=libdbus-1.so.3.19.11<br>GDK2=libgdk-x11-2.0.so.0.2400.32<br>GDK3=libgdk-3.so.0.2404.16<br>GStreamer=libgstreamer-1.0.so.0.1602.0<br>GTK+2=libgtk-x11-2.0.so.0.2400.32<br>GTK+3=libgtk-3.so.0.2404.16<br>OpenGL=libGL.so.1.7.0<br>Poppler=libpoppler.so.97.0.0<br>QT5=libQt5Core.so.5.12.8<br>SDL=libSDL-1.2.so.0.11.4<br>SQLite=libsqlite3.so.0.8.6<br><br>[Environment]<br>DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus<br>DESKTOP_SESSION=cinnamon<br>DISPLAY=:0<br>GB_GUI=gb.qt5<br>GB_PROFILE_MAX=1000<br>GDMSESSION=cinnamon<br>GDM_LANG=en_US<br>GIO_LAUNCHED_DESKTOP_FILE=<home>/Desktop/Gambas3.desktop<br>GIO_LAUNCHED_DESKTOP_FILE_PID=22160<br>GNOME_DESKTOP_SESSION_ID=this-is-deprecated<br>GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1<br>GTK_MODULES=gail:atk-bridge<br>GTK_OVERLAY_SCROLLING=1<br>HOME=<home><br>INSIDE_NEMO_PYTHON=<br>LANG=en_US.UTF-8<br>LANGUAGE=en_US.UTF-8<br>LC_ADDRESS=fi_FI.UTF-8<br>LC_ALL=en_US.UTF-8<br>LC_IDENTIFICATION=fi_FI.UTF-8<br>LC_MEASUREMENT=fi_FI.UTF-8<br>LC_MONETARY=fi_FI.UTF-8<br>LC_NAME=fi_FI.UTF-8<br>LC_NUMERIC=fi_FI.UTF-8<br>LC_PAPER=fi_FI.UTF-8<br>LC_TELEPHONE=fi_FI.UTF-8<br>LOGNAME=<user><br>PATH=<home>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin<br>PWD=<home><br>QT_ACCESSIBILITY=1<br>QT_LOGGING_RULES=*.debug=false<br>QT_QPA_PLATFORMTHEME=qt5ct<br>SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1043,unix/<hostname>:/tmp/.ICE-unix/1043<br>SHELL=/bin/bash<br>SHLVL=0<br>SSH_AGENT_PID=1118<br>SSH_AUTH_SOCK=/run/user/1000/keyring/ssh<br>TZ=:/etc/localtime<br>USER=<user><br>XAUTHORITY=<home>/.Xauthority<br>XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg<br>XDG_CURRENT_DESKTOP=X-Cinnamon<br>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<br>XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user><br>XDG_RUNTIME_DIR=/run/user/1000<br>XDG_SEAT=seat0<br>XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0<br>XDG_SESSION_CLASS=user<br>XDG_SESSION_DESKTOP=cinnamon<br>XDG_SESSION_ID=c1<br>XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0<br>XDG_SESSION_TYPE=x11<br>XDG_VTNR=7</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 6:49 PM Charlie Ogier <<a href="mailto:charlie@cogier.com">charlie@cogier.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I can't get many of the mouse and keyboard events to work with <br>
FileChooser, is this a bug?<br>
<br>
<br>
Code to test: -<br>
<br>
'***********************************<br>
FileChooser1 As FileChooser<br>
<br>
Public Sub Form_Open()<br>
<br>
   With Me<br>
     .Padding = 5<br>
     .Arrangement = Arrange.Vertical<br>
     .W = 1000<br>
     .H = 600<br>
   End With<br>
<br>
   With FileChooser1 = New FileChooser(Me) As "FileChooser1"<br>
     .Expand = True<br>
   End With<br>
<br>
End<br>
<br>
Public Sub FileChooser1_DblClick()<br>
<br>
   Stop<br>
<br>
End<br>
<br>
Public Sub FileChooser1_KeyRelease()<br>
<br>
   Stop<br>
<br>
End<br>
<br>
Public Sub FileChooser1_KeyPress()<br>
<br>
   Stop<br>
<br>
End<br>
<br>
Public Sub FileChooser1_MouseDown()<br>
<br>
   Stop<br>
<br>
End<br>
<br>
Public Sub FileChooser1_MouseUp()<br>
<br>
   Stop<br>
<br>
End<br>
'***********************************<br>
<br>
Charlie<br>
<br>
On 06/11/2020 13:32, KKing wrote:<br>
> Yes, but on LXDE unit that doesn't seem to work. In form design the <br>
> right mouse click does not yield popup menu on FileChooser to select <br>
> events. Putting the below in for either Click or DblClick never gets <br>
> trapped<br>
><br>
>> Do you mean like...<br>
>><br>
>> Public Sub FileChooser1_DblClick()<br>
>> btnOK_Click()<br>
>> End<br>
><br>
><br>
> ----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" rel="noreferrer" target="_blank">http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
<br>
<br>
----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" rel="noreferrer" target="_blank">http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
</blockquote></div>