[Gambas-bugtracker] Bug #2269: FileView Returns font color for hidden directories and files

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Jun 21 19:07:33 CEST 2021


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

James JORDAN reported a new bug.

Summary
-------

FileView Returns font color for hidden directories and files

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


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

FileView returns a font color attribute when a file or directory is hidden

Example code:

Public Sub fvrMain_Activate_
  stFile = fvrMain.Dir &/ fvrMain.Selection[0]
  Print stFile
End


Actual: /home/james/hello
stFile: /home/james/hello

Actual: /home/james/.hello
stFile: /home/james/<font color="#575757">.hello</font>


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

[System]
Gambas=3.16.1
OperatingSystem=Linux
Kernel=5.12.12-arch1-1
Architecture=x86_64
Distribution=arch 
Desktop=
Font=Liberation Sans,12
Scale=9
Theme=proxy
Language=en_US.UTF-8
Memory=15892M

[Libraries]
Cairo=libcairo.so.2.11400.8
Cairo=libcairo.so.2.11704.0
Curl=libcurl.so.4.7.0
DBus=libdbus-1.so.3.19.13
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.25
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.25
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.111.0.0
QT4=libQtCore.so.4.7.4
QT5=libQt5Core.so.5.15.2
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CASROOT=/usr
CSF_DrawPluginDefaults=/usr/share/opencascade/resources/DrawResources
CSF_EXCEPTION_PROMPT=1
CSF_IGESDefaults=/usr/share/opencascade/resources/XSTEPResource
CSF_LANGUAGE=us
CSF_MDTVTexturesDirectory=/usr/share/opencascade/resources/Textures
CSF_MIGRATION_TYPES=/usr/share/opencascade/resources/StdResource/MigrationSheet.txt
CSF_OCCTResourcePath=/usr/share/opencascade/resources
CSF_PluginDefaults=/usr/share/opencascade/resources/StdResource
CSF_SHMessage=/usr/share/opencascade/resources/SHMessage
CSF_STEPDefaults=/usr/share/opencascade/resources/XSTEPResource
CSF_ShadersDirectory=/usr/share/opencascade/resources/Shaders
CSF_StandardDefaults=/usr/share/opencascade/resources/StdResource
CSF_StandardLiteDefaults=/usr/share/opencascade/resources/StdResource
CSF_TObjDefaults=/usr/share/opencascade/resources/StdResource
CSF_TObjMessage=/usr/share/opencascade/resources/TObj
CSF_XCAFDefaults=/usr/share/opencascade/resources/StdResource
CSF_XSMessage=/usr/share/opencascade/resources/XSMessage
CSF_XmlOcafResource=/usr/share/opencascade/resources/XmlOcafResource
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=jwm
DISPLAY=:0
DRAWDEFAULT=/usr/share/opencascade/resources/DrawResources/DrawDefault
DRAWHOME=/usr/share/opencascade/resources/DrawResources
GB_GUI=gb.qt5
GTK3_MODULES=xapp-gtk3-module
GTK_MODULES=canberra-gtk-module
HOME=<home>
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MMGT_CLEAR=1
MOTD_SHOWN=pam
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=<home>
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=qt5ct
SAL_USE_VCLPLUGIN=qt
SHELL=/bin/bash
SHLVL=0
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CURRENT_DESKTOP=
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=1
_=/usr/local/bin/lixce-panel
force_s3tc_enable=true




More information about the Bugtracker mailing list