https://bugs.kde.org/show_bug.cgi?id=488503

--- Comment #12 from Florian Achleitner <f...@fopen.at> ---
Now that I've came across this again, I played around a little and found that
NotifyingApplication seems to be properly serialized to a string in the config
file at ~/.config/kdeconnect/[ID]/kdeconnect_sendnotifications/config

This one is for "notify-send".

[applications]
1\value=@Variant(\0\0\0\x7f\0\0\0\x15NotifyingApplication\0\0\0\0\x16\0n\0o\0t\0i\0\x66\0y\0-\0s\0\x65\0n\0\x64\0\0\0\0\x1\xff\xff\xff\xff)
size=1

When I change the 5th byte from the end from \x1 to \0, and restart
kdeconnectd, this application is disabled properly.
This byte is the serialized member "active"
https://invent.kde.org/network/kdeconnect-kde/-/blob/master/plugins/sendnotifications/notifyingapplication.h#L14

Hence, I assume that the deserialization in the KCM module is the problem,
which happens here
https://invent.kde.org/network/kdeconnect-kde/-/blob/master/plugins/sendnotifications/sendnotifications_config.cpp#L57
Anybody with QT knowhow might smell the problem immediately!?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to