http://gambaswiki.org/bugtracker/edit?object=BUG.1065&from=L21haW4-
ABDUL ZAGIROV reported a new bug. Summary ------- Icon does not appear in tray Type : Bug Priority : Low Gambas version : Unknown Product : GUI components Description ----------- Hi, everyone! Not long ago I developed a sniffer of "rogue" dhcp servers using Gambas. Everything works like a charm except for TrayIcon component. I tried the following steps: 1. Selected necessary component in Projects > Properties > Components > gb.gui.trayicon 2. Moved a TrayIcon element to the main form 3. Set suitable image for Picture property 4. Set Visible property to true 5. Started application The application starts but there is no icon in tray. Tried both 3.8.4 and 3.9.2 versions of Gambas. No icon! Tried both 32 and 64 bit architectures. No icon! Tried by creating different types of projects: - Graphical application - GTK+2 application - GTK+3 application - QT application The same result: no icon! Tried both XUbuntu with XFCE and LUbuntu with LXDE. No icon! Tried on classic Ubuntu with Unity: icon appears in tray. Tried on Kubuntu with KDE: icon appears in tray. Also installed XUbuntu then removed XFCE and installed LXQT instead. Everything works. As I can understand the problem appears only when either LXDE or XFCE is useed as desktop environment. Best regards, Abdul Zagirov! System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.4.0-57-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=XFCE Theme=Gtk Language=ru_RU.UTF-8 Memory=1873M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-PieI6BpzcU DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xubuntu GDM_LANG=ru GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=<home>/.gnupg/S.gpg-agent:0:1 GTK_IM_MODULE=xim GTK_OVERLAY_SCROLLING=0 HOME=<home> IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=ru_RU.UTF-8 LANGUAGE=ru LOGNAME=<user> MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path PATH=<home>/bin:<home>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=<home> QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE= QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_STYLE_OVERRIDE=gtk SESSION=xubuntu SESSIONTYPE= SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2468,unix/<hostname>:/tmp/.ICE-unix/2468 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=startxfce4 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/2172 USER=<user> XAUTHORITY=<home>/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/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_DESKTOP=xubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@im=none ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user