Bug 316255

Summary: Plasma / Device Notifier shows the window as about 10 seconds despite the absence of any change
Product: [Unmaintained] plasma4 Reporter: ext73 <ext73>
Component: widget-devicenotifierAssignee: Jacopo De Simoi <wilderkde>
Status: RESOLVED FIXED    
Severity: normal CC: adaptee, capitan.zap, plasma-bugs, s_chriscollins, wilderkde, wulmer
Priority: NOR    
Version: 4.10.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.2
Sentry Crash Report:

Description ext73 2013-03-06 21:51:04 UTC
This error appeared with KDE 4.10.1. Normally I set to show all devices = it is convenient when I have multiple partitions + mobile devices = ease of mounting and unmounting disks from the panel. However, since version 4.10.1 Disk window appears every 10 seconds, which causes a lot of problems such as when playing full-screen games - the loss of productivity and output in full-screen mode. This results in a complete lack of suitability of this program, and problems in the normal functioning of the system.

Reproducible: Always
Comment 1 S. Christian Collins 2013-03-07 16:42:27 UTC
I am also experiencing this bug since upgrading to KDE 4.10.1, except in my case the "Available Devices" notification window appears every two minutes instead of every 10 seconds. When this happens, the Device Notifier icon briefly changes to a blue exclamation point, but nothing in my system has changed. If I unmount the only device currently shown in Device Manager (my flash drive), then the Available Devices popups stop.
Comment 2 S. Christian Collins 2013-03-11 17:10:56 UTC
So far the only workaround I have found for this bug is to remove the Device Notifier widget altogether. Otherwise it just gets really annoying and disruptive.
Comment 3 S. Christian Collins 2013-03-12 15:23:55 UTC
ext73, shouldn't this bug's component be "widget-devicenotifier" rather than "notifications"? You might want to change that to get the attention of the correct developers.
Comment 4 ext73 2013-03-12 15:26:13 UTC
ok I changed it ;)

greetings
Comment 5 S. Christian Collins 2013-03-12 15:57:34 UTC
I think I may have found the problem. I compared the KDE 4.10.0 and 4.10.1 versions of the device-notifier plugin, and I found the following addition at line 66 in the file "/usr/share/kde4/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml":

        onNewData: {
            last = sourceName;
            processLastDevice();
        }

After removing these lines from the file, the constant popups have stopped. The device-notifier widget now seems to function as it did before the 4.10.1 upgrade.
Comment 6 ext73 2013-03-13 14:27:29 UTC
You're right it works ;)

Greetings
Comment 7 wulmer 2013-03-18 20:38:38 UTC
Thanks a lot! Removing these lines really saved my day!
Comment 8 Jacopo De Simoi 2013-03-31 22:53:20 UTC
this  should have been fixed by commit fb5903f047f643210da4073087b404838557c03b;
please reopen otherwise. 

__J