Bug 358085 - Regression: Device Notifier ignores the setting of "Removable Devices Only"
Summary: Regression: Device Notifier ignores the setting of "Removable Devices Only"
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices (show other bugs)
Version: 5.5.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 358250 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-16 17:28 UTC by Paul
Modified: 2016-01-20 12:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Device Notifier ignoring setting "Removable Devices Only" (59.81 KB, image/png)
2016-01-16 17:30 UTC, Paul
Details
As requested: plasma-org.kde.plasma.desktop-appletsrc (5.68 KB, text/plain)
2016-01-19 13:50 UTC, Paul
Details
As requested: udiskctrl dump (44.41 KB, text/plain)
2016-01-19 13:51 UTC, Paul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2016-01-16 17:28:38 UTC
Device Notifier does not obey the setting of "Removable Devices Only".

See attached screenshot. (Only the first device is a removable device, the remaining four are fixed SSD/HDD drives.)



Reproducible: Always

Steps to Reproduce:
1. In "Device Notifier Settings -> General" set option to "Removable Devices Only" -> Apply -> OK
2. Insert a removable device. (USB stick for example.)
3. 

Actual Results:  
Device Notifier shows fixed devices as well as the just inserted removable device.

Expected Results:  
Only the removable device is shown.

KDE Frameworks 5.17.0
plasma5-workspace 5.5.2-1.1
Comment 1 Paul 2016-01-16 17:30:25 UTC
Created attachment 96687 [details]
Device Notifier ignoring setting "Removable Devices Only"
Comment 2 David Edmundson 2016-01-19 12:18:31 UTC
Works here. 

Can I see your ~/.config/plasma-org.kde.plasma.desktop-appletsrc ?

Also the output of "udisksctl dump"
Comment 3 Paul 2016-01-19 13:50:15 UTC
Created attachment 96733 [details]
As requested: plasma-org.kde.plasma.desktop-appletsrc
Comment 4 Paul 2016-01-19 13:51:01 UTC
Created attachment 96734 [details]
As requested: udiskctrl dump
Comment 5 Paul 2016-01-19 13:52:16 UTC
Requested information attached.
Comment 6 David Edmundson 2016-01-19 15:21:52 UTC
Both the drive on sda and sdc are both marked as ejectable by udisks.

/org/freedesktop/UDisks2/drives/Corsair_Force_LS_140681530000994605e6:
    Ejectable:                  true

/org/freedesktop/UDisks2/drives/WDC_WD2500AAKS_2_WD_WMART1815083:
  ConnectionBus:              
    Ejectable:                  true

From a Plasma POV we're doing the right thing with the data we're given.
Please follow this up with udisks: http://www.freedesktop.org/wiki/Software/udisks/ 

Thanks
Comment 7 Paul 2016-01-19 16:53:13 UTC
Hmm... yes, it seems that it was introduced with the udisks2 update to 2.1.6

I have another machine which still has 2.1.5 and that gives the following:

...           
    Ejectable:                  false
    Id:                         Corsair-Force-LS-140681530000994605e6
...

I don't have plasma5 on that machine, but I'm guessing the device notifier would (correctly) not show the above drive.

OK. Thanks. Sorry for the erroneous bug report.
Comment 8 Paul 2016-01-20 12:43:35 UTC
(In reply to David Edmundson from comment #6)
> Please follow this up with udisks:
> http://www.freedesktop.org/wiki/Software/udisks/ 

Just for information. Bug report against udisks2:
https://bugs.freedesktop.org/show_bug.cgi?id=93789
Comment 9 Kai Uwe Broulik 2016-01-20 12:58:26 UTC
*** Bug 358250 has been marked as a duplicate of this bug. ***