[Gambas-user] TrayIcon question
T Lee Davidson
t.lee.davidson at ...626...
Thu Apr 14 18:59:50 CEST 2016
I cannot help you understand it, GianLuigi, because I don't understand it either. But, I can say that it didn't play nice with
my KDE Plasma v5.5.5 on Qt v5.5.1. It kept repeatedly crashing Plasma in a loop until I killed it.
On 04/14/2016 11:29 AM, Gianluigi wrote:
> I can not understand how works TrayIcon.
> Can someone help me.
> Attached small demonstration who gives me these Warnigs:
>
> gbx3: warning: circular references detected:
> gbx3: 1 FMain
> gbx3: 1 DBusStatusIcon
> gbx3: 1 DBusStatusIconMenu
> gbx3: 1 TrayIcon
> gbx3: 4 DBusObject
> gbx3: 1 Picture
> gbx3: warning: 192 allocation(s) non freed.
>
> Regards
> Gianluigi
>
--
Lee
__________
"Artificial Intelligence is no match for natural stupidity."
-------------- next part --------------
[System]
Gambas=3.8.4
OperatingSystem=Linux
Kernel=4.1.20-11-default
Architecture=x86_64
Distribution=SuSE NAME="openSUSE Leap"
VERSION="42.1"
VERSION_ID="42.1"
PRETTY_NAME="openSUSE Leap 42.1 (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:42.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"
Desktop=KDE5
Theme=Breeze
Language=en_US.UTF-8
Memory=2001M
[Libraries]
Cairo=libcairo.so.2.11400.2
DBus=libdbus-1.so.3.8.11
GStreamer=libgstreamer-1.0.so.0.405.0
GTK+2=libgtk-x11-2.0.so.0.2400.29
OpenGL=libGL.so.1.2.0
QT4=libQtCore.so.4.8.6
[Environment]
ALSA_CONFIG_PATH=/etc/alsa-pulse.conf
AUDIODRIVER=pulseaudio
COLORTERM=1
CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu
CPU=x86_64
CSHEDIT=emacs
CVS_RSH=ssh
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-4h6e2G2V0B,guid=e34dcb83a97105eab849e92a570fc81f
DESKTOP_SESSION=/usr/share/xsessions/plasma5
DISPLAY=:0
FROM_HEADER=
GB_GUI=gb.qt5
GPG_AGENT_INFO=/tmp/gpg-Gr9wpT/S.gpg-agent:5347:1
GPG_TTY=not a tty
GS_LIB=<home>/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.config/gtkrc-2.0
GTK_IM_MODULE=cedilla
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.config/gtkrc
G_BROKEN_FILENAMES=1
G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252
HISTSIZE=1000
HOME=<home>
HOST=<hostname>
HOSTNAME=<hostname>
HOSTTYPE=x86_64
INPUTRC=<home>/.inputrc
JAVA_BINDIR=/usr/lib64/jvm/java/bin
JAVA_HOME=/usr/lib64/jvm/java
JAVA_ROOT=/usr/lib64/jvm/java
JDK_HOME=/usr/lib64/jvm/java
JRE_HOME=/usr/lib64/jvm/java/jre
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
LANG=en_US.UTF-8
LESS=-M -I -R
LESSCLOSE=lessclose.sh %s %s
LESSKEY=/etc/lesskey.bin
LESSOPEN=lessopen.sh %s
LESS_ADVANCED_PREPROCESSOR=no
LOGNAME=<user>
MACHTYPE=x86_64-suse-linux
MAIL=/var/spool/mail/<user>
MANPATH=/usr/local/man:/usr/share/man
MINICOM=-c on
MORE=-sl
NNTPSERVER=news
OSTYPE=linux
PAGER=less
PATH=<home>/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
PROFILEREAD=true
PWD=<home>
PYTHONSTARTUP=/etc/pythonstart
QEMU_AUDIO_DRV=pa
QT_IM_MODULE=xim
QT_IM_SWITCHER=imsw-multi
QT_NO_GLIB=1
QT_SYSTEM_DIR=/usr/share/desktop-data
SDK_HOME=/usr/lib64/jvm/java
SDL_AUDIODRIVER=pulse
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/5405,unix/<hostname>:/tmp/.ICE-unix/5405
SHELL=/bin/bash
SHLVL=1
SSH_AGENT_PID=5346
SSH_ASKPASS=/usr/lib/ssh/ksshaskpass
SSH_AUTH_SOCK=/tmp/ssh-tNb4Lodia4cW/agent.5295
TERM=xterm
TZ=:/etc/localtime
USER=<user>
WINDOWMANAGER=/usr/bin/startkde
XAUTHLOCALHOSTNAME=<hostname>
XAUTHORITY=/tmp/xauth-1000-_0
XCURSOR_SIZE=0
XCURSOR_THEME=breeze_cursors
XDG_CONFIG_DIRS=/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=7
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session3
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
XMODIFIERS=@im=local
XNLSPATH=/usr/share/X11/nls
XSESSION_IS_UP=yes
_=/usr/lib64/libexec/kf5/start_kdeinit_wrapper
-------------- next part --------------
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd02db827c0 (LWP 5437))]
Thread 8 (Thread 0x7fd0175ba700 (LWP 5438)):
#0 0x00007fd02708fbbd in poll () at /lib64/libc.so.6
#1 0x00007fd02bfdf422 in () at /usr/lib64/libxcb.so.1
#2 0x00007fd02bfe100f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3 0x00007fd01970b3c9 in () at /usr/lib64/libQt5XcbQpa.so.5
#4 0x00007fd02778832f in () at /usr/lib64/libQt5Core.so.5
#5 0x00007fd0268990a4 in start_thread () at /lib64/libpthread.so.0
#6 0x00007fd027097fed in clone () at /lib64/libc.so.6
Thread 7 (Thread 0x7fd014988700 (LWP 5465)):
#0 0x00007fd0237afd14 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1 0x00007fd02376d759 in g_main_context_query () at /usr/lib64/libglib-2.0.so.0
#2 0x00007fd02376ddcf in () at /usr/lib64/libglib-2.0.so.0
#3 0x00007fd02376df7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4 0x00007fd0279bad8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5 0x00007fd027961d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6 0x00007fd02778361a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7 0x00007fd02aa95df8 in () at /usr/lib64/libQt5Qml.so.5
#8 0x00007fd02778832f in () at /usr/lib64/libQt5Core.so.5
#9 0x00007fd0268990a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fd027097fed in clone () at /lib64/libc.so.6
Thread 6 (Thread 0x7fd002e3c700 (LWP 5473)):
#0 0x00007fd02689d03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1 0x00007fd00d943a13 in () at /usr/lib64/dri/r600_dri.so
#2 0x00007fd00d943197 in () at /usr/lib64/dri/r600_dri.so
#3 0x00007fd0268990a4 in start_thread () at /lib64/libpthread.so.0
#4 0x00007fd027097fed in clone () at /lib64/libc.so.6
Thread 5 (Thread 0x7fcffcd21700 (LWP 5478)):
#0 0x00007fd0237afd14 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1 0x00007fd02376d4a0 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2 0x00007fd02376dd80 in () at /usr/lib64/libglib-2.0.so.0
#3 0x00007fd02376df7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4 0x00007fd0279bad8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5 0x00007fd027961d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6 0x00007fd02778361a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7 0x00007fd02aa95df8 in () at /usr/lib64/libQt5Qml.so.5
#8 0x00007fd02778832f in () at /usr/lib64/libQt5Core.so.5
#9 0x00007fd0268990a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fd027097fed in clone () at /lib64/libc.so.6
Thread 4 (Thread 0x7fcff7461700 (LWP 5488)):
#0 0x00007fd02708fbbd in poll () at /lib64/libc.so.6
#1 0x00007fd02376de64 in () at /usr/lib64/libglib-2.0.so.0
#2 0x00007fd02376df7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3 0x00007fd0279bad8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4 0x00007fd027961d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5 0x00007fd02778361a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6 0x00007fd02aa95df8 in () at /usr/lib64/libQt5Qml.so.5
#7 0x00007fd02778832f in () at /usr/lib64/libQt5Core.so.5
#8 0x00007fd0268990a4 in start_thread () at /lib64/libpthread.so.0
#9 0x00007fd027097fed in clone () at /lib64/libc.so.6
Thread 3 (Thread 0x7fcff5b17700 (LWP 5511)):
#0 0x00007fd02689d03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1 0x00007fd02d26486b in () at /usr/lib64/libQt5Script.so.5
#2 0x00007fd02d264899 in () at /usr/lib64/libQt5Script.so.5
#3 0x00007fd0268990a4 in start_thread () at /lib64/libpthread.so.0
#4 0x00007fd027097fed in clone () at /lib64/libc.so.6
Thread 2 (Thread 0x7fcf6e49e700 (LWP 5551)):
#0 0x00007fd02708fbbd in poll () at /lib64/libc.so.6
#1 0x00007fd02376de64 in () at /usr/lib64/libglib-2.0.so.0
#2 0x00007fd02376df7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3 0x00007fd0279bad8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4 0x00007fd027961d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5 0x00007fd02778361a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6 0x00007fd02b631282 in () at /usr/lib64/libQt5Quick.so.5
#7 0x00007fd02778832f in () at /usr/lib64/libQt5Core.so.5
#8 0x00007fd0268990a4 in start_thread () at /lib64/libpthread.so.0
#9 0x00007fd027097fed in clone () at /lib64/libc.so.6
Thread 1 (Thread 0x7fd02db827c0 (LWP 5437)):
[KCrash Handler]
#6 0x00007fd026fe80a7 in raise () at /lib64/libc.so.6
#7 0x00007fd026fe9458 in abort () at /lib64/libc.so.6
#8 0x00007fd0273f1b8d in __gnu_cxx::__verbose_terminate_handler() () at /usr/lib64/libstdc++.so.6
#9 0x00007fd0273efbf6 in () at /usr/lib64/libstdc++.so.6
#10 0x00007fd0273efc41 in () at /usr/lib64/libstdc++.so.6
#11 0x00007fd0273efe58 in () at /usr/lib64/libstdc++.so.6
#12 0x00007fd027771c62 in () at /usr/lib64/libQt5Core.so.5
#13 0x00007fd0277ed313 in QListData::append(int) () at /usr/lib64/libQt5Core.so.5
#14 0x00007fcf663da907 in () at /usr/lib64/qt5/plugins/plasma/dataengine/plasma_engine_statusnotifieritem.so
#15 0x00007fcf663d7c9d in () at /usr/lib64/qt5/plugins/plasma/dataengine/plasma_engine_statusnotifieritem.so
#16 0x00007fd02799373f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#17 0x00007fd02874bcaf in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () at /usr/lib64/libQt5DBus.so.5
#18 0x00007fd02874d2f7 in () at /usr/lib64/libQt5DBus.so.5
#19 0x00007fd027994ac6 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007fd028cdce7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007fd028ce1cc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007fd027963e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007fd027966057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#24 0x00007fd0279bb8f3 in () at /usr/lib64/libQt5Core.so.5
#25 0x00007fd02376dc84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#26 0x00007fd02376ded8 in () at /usr/lib64/libglib-2.0.so.0
#27 0x00007fd02376df7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#28 0x00007fd0279bad6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#29 0x00007fd027961d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007fd0279698f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x0000000000436b3d in main ()
More information about the User
mailing list