Bug 341122 - Error message "failed to rescan"
Summary: Error message "failed to rescan"
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma-nm
Classification: Plasma
Component: applet (show other bugs)
Version: 5.1.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-20 11:38 UTC by Aleix Pol
Modified: 2017-01-10 12:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleix Pol 2014-11-20 11:38:14 UTC
When rescanning, there's a small animation. When it finishes, if one clicks again you get an error saying it failed and "Scanning not allowed while already scanning".

I'd say the animation shouldn't end as long as the re-scanning is going on or at least disable the button.

Reproducible: Always

Steps to Reproduce:
1. open applet
2. press rescan
3. press again
Comment 1 Jan Grulich 2014-11-20 11:52:57 UTC
There is unfortunately no way how to know that the scanning has finished. The animation is used to show that at least something is going on and that you really clicked on the scan button.
Comment 2 Jan Grulich 2014-11-26 10:42:32 UTC
Solution could be to allow to click on this button just once per a 1-2 minutes to just "fake" that is not possible to request it again for a while. Opinions?
Comment 3 Aleix Pol 2014-11-26 12:02:54 UTC
I don't think faking it is much better, I'd suggest to report the missing information upstream and then implement it in our side when we have the information.

Or remove the button altogether, I'm unsure what's the actual use-case though.
Comment 4 Jan Grulich 2014-12-04 11:19:49 UTC
Reported to upstream: https://bugzilla.gnome.org/show_bug.cgi?id=741022

Let's see if this gets implemented.
Comment 5 Jan Grulich 2015-12-17 08:27:47 UTC
Git commit 1d0905abafb51fcc956bdc32fdb0be7673608c89 by Jan Grulich.
Committed on 17/12/2015 at 08:27.
Pushed by grulich into branch 'master'.

Disable notification about failed re-scan by default

Let's be less annoying for users who are not patient and who press
the scan button while already scanning.

M  +1    -1    kded/networkmanagement.notifyrc

http://commits.kde.org/plasma-nm/1d0905abafb51fcc956bdc32fdb0be7673608c89
Comment 6 Aranjedeath 2016-03-20 01:33:15 UTC
I don't know what to do with this information, but I think it's related. New Network Manager 1.2 coming out soon, release candidate within the next two weeks. 

post on new wifi scanning 
https://blogs.gnome.org/dcbw/2016/01/18/networkmanager-1-2-has-better-wi-fi-scanning/

ubuntu bug for nm 1.2
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1552424
Comment 7 Jan Grulich 2016-03-24 13:30:19 UTC
Unfortunately there is nothing in the new NM release what could help in this case.
Comment 8 Jan Grulich 2017-01-10 12:24:06 UTC
Closing, scanning is now automatical every 15 seconds and notifications about scan failures are no longer available.