Bug 301999 - Encrypted containers won't stay hidden
Summary: Encrypted containers won't stay hidden
Status: RESOLVED FIXED
Alias: None
Product: kfile
Classification: Applications
Component: kfileplacesview (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL: http://imageshack.us/photo/my-images/...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-16 08:54 UTC by basjetimmer
Modified: 2018-06-28 22:20 UTC (History)
5 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 basjetimmer 2012-06-16 08:54:24 UTC
I have a couple of encrypted partitions which I unlock during boot with entries in /etc/crypttab, and are subsequently mounted by entries in /etc/fstab. Both the encrypted container and the unlocked drive (residing inside the container) are shown in the places panel, the former appears as 'xxx GB encrypted container' the latter by it's disk label. Obviously I choose to hide the container and use the unlocked, correctly labeled disk entry. However, whenever clicking this entry, the hidden container entry appears and focus shifts to it.

Reproducible: Always

Steps to Reproduce:
1. Create an encrypted container, and add it to /etc/crypttab to be unlocked at boot.
2. Create a partition inside the container. Give the partition a label, mount it at boot through /etc/fstab
3. Watch as both the container and the unlocked partition appear in KDE's places sidebar (as in Dolphin for example)
4. Hide the container, click the labeled disk.
Actual Results:  
The hidden container appears and get focus.

Expected Results:  
The clicked entry gets focus and we never ever see the container entry again.

This is happening in the current version (4.8.3), but has been going on since at least 4.7.4. Using encrypted partitions has never worked correctly since KDE switched from HAL to udisks, though at first the problem was that only the container entry appeared and the unlocked, labeled partition did not appear at all (see: http://forum.kde.org/viewtopic.php?f=66&t=96939&p=203990#p203990). So, now the unlocked partition appears, but is not really useable.

I'm not sure how clear my description of the problem is so I've created a short video to show it (http://imageshack.us/photo/my-images/13/lrw.mp4/), let me know if I should upload this elsewhere. In this video there are two encrypted partitions of 1000MB, labeled 'C_F' and 'C_NF'. Also, note even though / and /home are also separate, encrypted partitions, these do not show this problem.
Comment 1 Martin Bříza 2012-07-12 11:33:04 UTC
This bug is also reported in the Red Hat Bugzilla for Fedora 17 on https://bugzilla.redhat.com/show_bug.cgi?id=827731 .
Comment 2 Nate Graham 2018-06-28 22:20:22 UTC
This is working properly for me with KDE Frameworks 5.47: if I hide an encrypted disk's container from the Places Panel and mounts its disk, the container item doesn't appear.