[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #2998: DirView changes by itself the selected folder if Dirview.ShowHidden is changed during the Dirview_Click event
[Thread Prev] | [Thread Next]
- Subject: [Gambas-bugtracker] Bug #2998: DirView changes by itself the selected folder if Dirview.ShowHidden is changed during the Dirview_Click event
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Sat, 01 Mar 2025 17:17:20 GMT
- To: tmorehen@xxxxxxxxxxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.2998&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- DirView changes by itself the selected folder if Dirview.ShowHidden is changed during the Dirview_Click event Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- If Dirview.ShowHidden is changed to true during the Dirview_Click event, the folder will automatically change from the folder selected by the click event to the equivalent folder counting from the top visible folder. ie Using the attached demo, the dirview will show your home directory. Click on the fourth folder from the top, your hidden files will be shown and the new folder fourth from the top will be selected, not the folder you originally selected. The bug shows up under qt and gtk. The bug only shows up when showhidden is set to true during a dirview_click event. It does not occur outside that event. The bug appears to be in the _treeview class. System information ------------------ [System] Gambas=3.20.1 OperatingSystem=Linux Distribution=Manjaro Linux Kernel=6.12.15-1-MANJARO Architecture=x86_64 Cores=16 Memory=12858M Language=en_CA.utf8 Platform=x11 Desktop=XFCE DesktopResolution=96 DesktopScale=9 WidgetTheme=breeze-dark Font=Monospace,12 DarkTheme=True [Programs] clang=clang version 19.1.7 gcc=gcc (GCC) 14.2.1 20250207 git=git version 2.48.1 msgmerge=msgmerge (GNU gettext-tools) 0.24 rpmbuild=RPM version 4.20.1 [Libraries] Cairo=libcairo.so.2.11802.2 Curl=libcurl.so.4.8.0 DBus=libdbus-1.so.3.38.3 GDK2=libgdk-x11-2.0.so.0.2400.33 GDK3=libgdk-3.so.0.2416.32 GStreamer=libgstreamer-1.0.so.0.2412.0 GTK+2=libgtk-x11-2.0.so.0.2400.33 GTK+3=libgtk-3.so.0.2416.32 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.146.0.0 QT5=libQt5Core.so.5.15.16 QT6=libQt6Core.so.6.8.2 RSvg=librsvg-2.so.2.59.2 SDL=libSDL2-2.0.so.0.3200.50 SQLite3=libsqlite3.so.3.49.1 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEBUGINFOD_URLS=https://debuginfod.archlinux.org DESKTOP_SESSION=gbde DISPLAY=:0 EDITOR=/usr/bin/micro GB_GUI=gb.gtk3 GDMSESSION=gbde GDM_LANG=en_CA.utf8 GTK2_RC_FILES=<home>/.gtkrc-2.0 GTK3_MODULES=xapp-gtk3-module:xapp-gtk3-module GTK_MODULES=canberra-gtk-module:canberra-gtk-module GTK_OVERLAY_SCROLLING=0 HOME=<home> LANG=en_CA.utf8 LANGUAGE=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME=<user> MAIL=/var/spool/mail/<user> MOTD_SHOWN=pam PATH=<home>/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD=<home> QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=qt5ct SHELL=/bin/bash SHLVL=0 TZ=:/etc/localtime USER=<user> VISUAL=/usr/bin/gbTE XAUTHORITY=<home>/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user> XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=gbde XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----