https://bugs.kde.org/show_bug.cgi?id=424062
Bug ID: 424062
Summary: Inconsistent notifications on VPN connection state
changes
Product: plasma-nm
Version: 5.19.3
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 130028
--> https://bugs.kde.org/attachment.cgi?id=130028&action=edit
dbus-monitor interface='org.freedesktop.Notifications'
SUMMARY
Notification text is inconsistent for complementary actions.
STEPS TO REPRODUCE
1. Enable VPN
2. Disable VPN
(In contrast to...)
3. Enable Wi-Fi
4. Disable Wi-Fi
OBSERVED RESULT
1. 
> %connection_name%
>
> VPN connection '%connection_name%' activated.
2. 
> %connection_name%
>
> The VPN connection changed state because the user disconnected it.
(In contrast to...)
3. 
> %connection_name%
>
> Connection %connection_name% activated.
4. 
> %connection_name%
>
> Connection %connection_name% deactivated.
EXPECTED RESULT
Shouldn't it be just "VPN connection '%connection_name%' deactivated"? Or maybe
"...deactivated by user" for clarity?
And why icons are different? No icon upon activation, but warning icon when
disconnected.
Feels very inconsistent, like if it was developed by totally different people
with different mindset and experience with the project.
SOFTWARE/OS VERSIONS
Arch Linux, KDE/Plasma
lib32-libnm-glib 1.18.5dev+12+ga8746f48ca-1
libnm 1.24.2-1
libnm-glib 1.18.5dev+12+ga8746f48ca-1
networkmanager 1.24.2-1
ADDITIONAL INFORMATION
Moved from FreeDesktop GitLab issue:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/490#note_561302
Further, I've been able to track down the root cause of this. It appears that
functions from libs/handler.cpp and kded/notification.cpp are responsible for
sending such notifications.
DBus log obtained by running `$ dbus-monitor
interface='org.freedesktop.Notifications'`
is attached below. Events are reordered to match bullet points above, but it
hardly matter.
I think I might be able to 'fix' it on my own. But it would require subsequent
intervention of translations team. So, any help at this process would be
appreciated.
--
You are receiving this mail because:
You are watching all bug changes.