[Networkmanager] NetworkManager 1.32 DBus API change lead to Qt5 network detection issue

ValdikSS iam at valdikss.org.ru
Mon Jun 19 14:21:01 UTC 2023


Hello,

Letting you know that the DBus API change [0] introduced in version 1.32 
made connection detection in Qt5 unreliable.
Many Qt software is not able to detect internet connectivity after this 
change, which usually results in non-working network access in the 
application after the suspend/resume cycle for most users.

Some examples:
https://github.com/crow-translate/crow-translate/issues/383
https://github.com/nextcloud/desktop/issues/4331
https://github.com/QuiteRSS/quiterss/issues/1517

It took me almost 2 years to debug and understand the core reason of the 
issue. The original blog post states:

 > These signals are now dropped. There are no known users of this D-Bus 
API.

Well, sometimes there are, unfortunately.

Qtbug:
https://bugreports.qt.io/browse/QTBUG-114666

[0] https://networkmanager.dev/blog/networkmanager-1-32/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/networkmanager/attachments/20230619/267417a4/attachment.sig>


More information about the Networkmanager mailing list