Am 26.05.24 um 11:42 schrieb christ...@cullmann.io:
For the re-use of instances you need to use something like
https://github.com/KDAB/KDSingleApplication
or similar.
Any implicit starting of the dbus stuff will often just result in hangs
or other misbehavior.
DBus on Windows starts automatically when a client requests a dbus
connection, so there is only a problem if dbus-daemon and the required
configuration files were blacklisted during packaging and are not
included in the installation. I have never had problems with this when
working with KDE applications using MinGW.
It is just like X11: don't use it on systems that don't have it as
native windowing system, we guard that the same way.
There is a big difference to X11. X11 is usually not distributed with
KDE applications as it can be with dbus, as there is a corresponding
package in Craft.
There is e.g. the remote control area which is implemented in KDE
applications with dbus. Should we now use a separate implementation for
each platform with additional effort, although there is a
platform-independent solution ?
Just my 2ct.