[Gambas-user] App hangs with DBusObject.DBusObserver_Message.622 Null Object when closing from TrayIcon

shivajiva101 shivajiva101 at ...67...
Thu Sep 10 17:48:07 CEST 2015


Problem: How to cleanly exit an application from it's tray icon in 3.8 on a
KDE4 desktop

Details: In versions prior to 3.8 you could create a 'Quit' menu item for a
menu assigned to the trayicon and use the items click event to close the
program, cleanly removing the tray icon in the form close event by hiding
it. Any attempt to hide or delete the tray icon now results in it hanging on
the error DBusObject.DBusObserver_Message.622 Null Object

No issue when closing the application from the form only when it's called
from the tray. Is this a bug or do I need to code the exit from the
applications tray icon in a specific way?

ShivaJiva

[System]
Gambas=3.8.1
OperatingSystem=Linux
Kernel=3.13.0-37-generic
Architecture=x86_64
Distribution=Linux Mint 17.1 Rebecca
Desktop=KDE4
Theme=Oxygen
Language=en_GB.UTF-8
Memory=2002M

[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+2=libgtk-x11-2.0.so.0.2400.23
GTK+3=libgtk-3.so.0.1000.8
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
QT4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-W1qsIdAExg,guid=8e699fe352fd40e87164f81555f1a17b
DEFAULTS_PATH=/usr/share/gconf/default.default.path
DESKTOP_SESSION=default
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=default
GDM_XSERVER_LOCATION=local
GS_LIB=<home>/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.kde/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.kde/share/config/gtkrc
HOME=<home>
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=4
LANG=en_GB.UTF-8
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/default.mandatory.path
MDMSESSION=default
MDM_LANG=en_GB.UTF-8
MDM_XSERVER_LOCATION=local
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=<home>
QT_NO_GLIB=1
QT_PLUGIN_PATH=<home>/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/3066,unix/<hostname>:/tmp/.ICE-unix/3066
SHELL=/bin/bash
SSH_AGENT_PID=2928
SSH_AUTH_SOCK=/tmp/ssh-QM3tW6cudI3T/agent.2780
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WINDOWPATH=7
XAUTHORITY=/tmp/kde-<user>/xauth-1000-_0
XCURSOR_THEME=oxy-white
XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share:/usr/share/default:/usr/local/share/:/usr/share/:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=b73a62402f0bfc51b91a114355f1920b-1441898872.919611-1751267184
XDG_SESSION_DESKTOP=default
XDG_SESSION_ID=c3
XDG_VTNR=7



--
View this message in context: http://gambas.8142.n7.nabble.com/App-hangs-with-DBusObject-DBusObserver-Message-622-Null-Object-when-closing-from-TrayIcon-tp52872.html
Sent from the gambas-user mailing list archive at Nabble.com.




More information about the User mailing list