Review Request 126748: [Plasma-NM] Don't emit connection deactivated message on suspending
Jan Grulich
jgrulich at redhat.com
Fri Jan 15 08:42:47 UTC 2016
> On Led. 14, 2016, 6:22 odp., Martin Klapetek wrote:
> > It should probably still show when you get disconnected and *not* reconnected (to any network) on resume?
>
> Kai Uwe Broulik wrote:
> Doesn't it tell you that anyway? At least when I try to connect to something and it fails I get like 3 notifications about different failures.
>
> Martin Klapetek wrote:
> What I mean is when you suspend your laptop at home, connected to your home network, you go out and resume your laptop say at your friend where you didn't connect to the wifi before, so it's unknown and your laptop will not connect to anything and will not even try. At that point, it should show a "disconnected" notification, maybe?
>
> Kai Uwe Broulik wrote:
> Ah, I see. How should I do that? If it disconnected on suspend and didn't attempt to reconnect within 5 seconds show a notification that you're no longer connected?
The patch looks good and makes sense. Do I get it right that once you resume your computer then PrepareForSleep signal is emitted with false value to re-enable showing notifications? What Martin suggests is also a good idea, maybe not showing a notification that you got disconnected, but just make you aware you are no longer connected. What would be also useful to store all connections which got disconnected before suspend and on resume do not show notification about their activation if they were active before suspend, just with an exception if you activate them manually (which will be case mostly for VPN connections).
- Jan
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126748/#review91107
-----------------------------------------------------------
On Led. 14, 2016, 6:19 odp., Kai Uwe Broulik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126748/
> -----------------------------------------------------------
>
> (Updated Led. 14, 2016, 6:19 odp.)
>
>
> Review request for Plasma and Jan Grulich.
>
>
> Repository: plasma-nm
>
>
> Description
> -------
>
> It's quite natural that the connection goes away when we're about to suspend :) Watch for this and then don't emit the notification.
>
>
> Diffs
> -----
>
> kded/notification.h 9b8b51a
> kded/notification.cpp 231d69e
>
> Diff: https://git.reviewboard.kde.org/r/126748/diff/
>
>
> Testing
> -------
>
> While I still think Plasma-NM is waaaaaay too verbose about everything, at least it doesn't tell me that I just disconnected when I suspend.
>
> I still get the notification when I turn off Wifi manually.
> I also still get the notification that I'm connected again shortly after resuming.
>
>
> Thanks,
>
> Kai Uwe Broulik
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160115/95a96b2c/attachment.html>
More information about the Plasma-devel
mailing list