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

[Gambas-bugtracker] Bug #2878: Internal index of WebTree not updated when ShowCheck is enabled


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

Olivier CRUILLES reported a new bug.

Summary
-------

Internal index of WebTree not updated when ShowCheck is enabled

Type             : Bug
Priority         : Medium
Gambas version   : Master
Product          : Web components


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

Hello,

It seems that the internal index of the WebTree (component gb.web.gui) is not updated when we are in this mode:

    WebTree1.ShowCheck = True
    WebTree1.Mode = Select.Multiple

By internal Index I mean:  WebTree1.Item.Key

The index stay pointing to the last Selected Item in the mode where  ShowCheck = False, Mode = Select.Simple

It's a problem because I can detect if the user Check the box of a 'Directory or branch' in the WebTree and decide to Check/Uncheck all the Children into it.

Thank you

Olivier


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

[System]
Gambas=3.19.90 5dbd1a717 (master)
OperatingSystem=Linux
Distribution=redhat Fedora release 38 (Thirty Eight)
Kernel=6.7.7-100.fc38.x86_64
Architecture=x86_64
Cores=8
Memory=32036M
Language=fr_FR.UTF-8
Platform=x11
Desktop=MATE
DesktopResolution=93
DesktopScale=7
WidgetTheme=proxy
Font=Liberation Sans,10
[Programs]
appimage-builder=appimage-builder: 1.1.0
dpkg=Programme « dpkg » de gestion de paquets Debian version 1.21.21 (amd64).
gcc=gcc (GCC) 13.2.1 20231011 (Red Hat 13.2.1-4)
git=git version 2.44.0
msgmerge=msgmerge (GNU gettext-tools) 0.21.1
rpmbuild=RPM version 4.18.2
[Libraries]
Cairo=libcairo.so.2.11708.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.2209.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
QT5=libQt5Core.so.5.15.11
SQLite 3=libsqlite3.so.0.8.6
[Environment]
CAPP_BUILD=<home>/Packages/Starter/Build
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ 
DESKTOP_SESSION=mate
DISPLAY=:0
EDITOR=/usr/bin/nano
FREETYPE_PROPERTIES=truetype:interpreter-version=35
GB_GUI=gb.qt5
GDMSESSION=mate
GDM_LANG=fr_FR.UTF-8
GIO_LAUNCHED_DESKTOP_FILE_PID=1056139
GTK3_MODULES=xapp-gtk3-module
GTKM_INSERT_EMOJI=1
GTK_BACKDROP=1
GTK_FOCUS_VISIBLE=1
GTK_OVERLAY_SCROLLING=0
GTK_PROGRESS_TEXT_INSIDE=1
HISTCONTROL=ignoredups
HISTSIZE=1000
HISTTIMEFORMAT=%F %T 
HOME=<home>
HOSTNAME=<hostname>
IMSETTINGS_INTEGRATE_DESKTOP=yes
IMSETTINGS_MODULE=none
KDEDIRS=/usr
LANG=fr_FR.UTF-8
LC_ALL=fr_FR.UTF-8
LESSOPEN=||/usr/bin/lesspipe.sh %s
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MANPAGER=less
MATE_DESKTOP_SESSION_ID=this-is-deprecated
PAGER=most
PATH=<home>/.local/bin:<home>/.cargo/bin:<home>/narwhal/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:<home>/.cargo/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/var/lib/snapd/snap/bin:<home>/bin:/usr/local/xaralx/bin
PWD=<home>
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
QTLIB=/usr/lib64/qt-3.3/lib
QT_FONT_DPI=93
QT_IM_MODULE=xim
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=gtk2
QT_SCALE_FACTOR=1
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1627,unix/unix:/tmp/.ICE-unix/1627
SHELL=/bin/bash
SHLVL=1
SSH_AGENT_PID=1787
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TERM=dumb
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=/run/lightdm/<user>/xauthority
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
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=mate
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=1
XMODIFIERS=@im=none
_=/usr/bin/gambas3
force_s3tc_enable=true


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