[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DBUS signals?


Le 27/09/2024 à 00:08, Jussi Lahtinen a écrit :
    I run your posted project, and I noticed that the middle click event
    was
    catched. I didn't check if this project actually uses DBusSignal.

    Anyway, you must ensure that your DBusSignal handler does not catch
    DBus
    messages that should be sent to the DBus objects created by the
    TrayIcon
    class implementation. It could explain why it does not see the DBus
    MiddleClick signal sent by the desktop!


Only middle click is send with DBus? Other buttons work.

Middle click works here with KDE, with the DBusSignal handler activated.

If I shutdown the computer while GAlarm is running, KDE tells that GAlarm has cancelled the shutdown.

I guess it's because its main window cannot be closed. And so the shutdown is canceled, and the PrepareForShutdown signal is not sent.

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: DBUS signals?Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
DBUS signals?Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
Re: DBUS signals?BB <adamnt42@xxxxxxxxx>
Re: DBUS signals?Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
Re: DBUS signals?Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
Re: DBUS signals?Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: DBUS signals?Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
Re: DBUS signals?Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: DBUS signals?Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>