Bug 290862 - KDE4.8 RC2: Device Notifier eject button does not work for LUKS Encrypted USB memory stick
Summary: KDE4.8 RC2: Device Notifier eject button does not work for LUKS Encrypted USB...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-devicenotifier (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-07 10:00 UTC by Paul Worrall
Modified: 2012-01-07 13:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Worrall 2012-01-07 10:00:42 UTC
The eject button on the device notifier pop-up menu in KDE4.8 v4.7.97 does not unmount LUKS encrypted USB memory stick, but shows  ablue tick as though it had.

Reproducible: Always

Steps to Reproduce:
1, Insert a LUKS encrypted USB memory stick
2. Click mount button on device notifier pop-up
3. Enter password to unencrypt device
4. Device is mounted, and mount button changes to an eject button. Tooltip says not safe to remove device (OK so far...)
5. Click eject button on device notifier menu
6. Device notifier shows a blue tick suggesting device has been ejected, but device entry remains on the pop-up menu with an eject button, tooltip says not safe to remove device and *Device is not unmounted*

The blue tick could lead the user to remove the device while it is still mounted and hence potentially lose data.

Actual Results:  
Device not ejected

Expected Results:  
Device is unmounted and ejected.

Workaround:
Device can be ejected using Dolphin
Comment 1 Jacopo De Simoi 2012-01-07 13:42:32 UTC
Git commit e8f8860615b4eb016e339aa8f0cabc30cdc8486b by Jacopo De Simoi.
Committed on 07/01/2012 at 14:39.
Pushed by jacopods into branch 'KDE/4.8'.

Rely on the dataengine to obtain accessibility

Do not rely on emblems to detect the accessibility state
of a device! We have a dataengine for that

M  +3    -4    plasma/generic/applets/devicenotifier/package/contents/ui/devicenotifier.qml

http://commits.kde.org/kde-workspace/e8f8860615b4eb016e339aa8f0cabc30cdc8486b