Content of hidden folders shown in unity-lens-files

Bug #878052 reported by Ivan Danov
72
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Ayatana Design
New
Undecided
Unassigned
Unity
Invalid
Undecided
Unassigned
5.0
Invalid
Undecided
Unassigned
6.0
Invalid
Undecided
Unassigned
unity-lens-files
Fix Committed
High
Paweł Stołowski
5.0
Fix Committed
Undecided
Paweł Stołowski
6.0
Fix Committed
Undecided
Paweł Stołowski
unity-lens-files (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
Undecided
Unassigned
Quantal
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

When a file is hidden, users expect it to be hidden. Same for files contained in hidden directories. This can be a privacy problem for many people.

[Test Case]

1. Put a file in a hidden folder (name of the folder starting with ".", the name of the file without ".") - try with jpeg, it's easier to spot
2. Open the file and close it after that
3. Open the Dash and start typing the name of the previously closed file
   -> Make sure you can't see the file appearing in the Files & Folders Lens

[Regression Potential]

Missing files in the dash file lens search.

---

Files contained in hidden directories often show up in files lens, which might and might not be desired - it can be useful in cases where you need to often search for and edit a configuration file for some application/service (which usually reside in hidden directories), yet many users think that by putting files into hidden directories these are no longer displayed anywhere.

The problem is that by putting a file into hidden directories, you no longer see the file in file browsers etc, but accessing the file still logs its usage in eg Zeitgeist, and users need to use the dedicated Privacy settings panel to ensure access to such resources is not logged.

We should have clear guidelines on when to use which to ensure consistent behaviour throughout the system.

Original description:

1. Put a file in a hidden folder (name of the folder starting with ".", the name of the file without ".") - try with jpeg, it's easier to spot
2. Open the file and close it after that
3. Open the Dash and start typing the name of the previously closed file
4. You can see the file appearing in the Files & Folders Lens

I don't think that it's a normal behavior, since after fixing the bug https://bugs.launchpad.net/unity/+bug/756280 the hidden files are not visible anymore in the Files & Folders Lens, so should be the content of hidden folders. I wrote couple of comments on the bug for the files, but nobody reopened the issue, so I had to make a new one.

Using the latest up-to-date Ubuntu Oneiric Ocelot 11.10

---------------------------------
Desired resolution:

- The files contained in hidden directories should not be displayed in the Dash

Related branches

Ivan Danov (danov)
summary: - Content of hidden folders shown in unity-files-lens
+ Content of hidden folders shown in unity-lens-files
Revision history for this message
Omer Akram (om26er) wrote :

thanks for the bug report. I can reproduce this bug here as well. marked confirmed

Changed in unity-lens-files:
importance: Undecided → Low
Changed in unity (Ubuntu):
importance: Undecided → Low
Changed in unity-lens-files (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Changed in unity:
status: New → Confirmed
Changed in unity-lens-files:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Changed in unity:
importance: Undecided → Low
Changed in unity-lens-files:
importance: Low → High
milestone: none → 5.0.0
status: Confirmed → Triaged
Changed in unity:
importance: Low → High
milestone: none → 5.0.0
status: Confirmed → Triaged
Omer Akram (om26er)
Changed in unity (Ubuntu):
importance: Low → High
Changed in unity-lens-files (Ubuntu):
importance: Low → High
Changed in unity (Ubuntu):
status: Confirmed → Triaged
Changed in unity-lens-files (Ubuntu):
status: Confirmed → Triaged
Changed in unity-lens-files:
milestone: 5.0.0 → 5.0.2
Changed in unity:
milestone: 5.0.0 → 5.2.0
Changed in unity:
milestone: 5.2.0 → 5.0.0
Changed in unity:
milestone: 5.0.0 → 5.2.0
Changed in unity:
milestone: 5.2.0 → 5.4.0
Michal Hruby (mhr3)
Changed in unity-lens-files:
milestone: 5.2.0 → 5.6.0
Changed in unity:
milestone: 5.4.0 → 5.6.0
Robert Roth (evfool)
Changed in unity-lens-files:
assignee: nobody → Robert Roth (evfool)
status: Triaged → In Progress
Robert Roth (evfool)
Changed in unity:
assignee: nobody → Robert Roth (evfool)
Changed in unity (Ubuntu):
assignee: nobody → Robert Roth (evfool)
Changed in unity-lens-files (Ubuntu):
assignee: nobody → Robert Roth (evfool)
Changed in unity (Ubuntu):
assignee: Robert Roth (evfool) → nobody
Changed in unity-lens-files (Ubuntu):
assignee: Robert Roth (evfool) → nobody
Changed in unity:
assignee: Robert Roth (evfool) → nobody
Revision history for this message
Daniel Gurgel (danieldemoraisgurgel) wrote :

HUB and LEN-FILES should not be the same thing? It is redundant to have a button for internal research and another function to search within a software?

Changed in unity:
milestone: 5.6.0 → 5.8.0
Changed in unity:
status: Triaged → Fix Released
milestone: 5.8.0 → none
Changed in unity-lens-files:
status: In Progress → Fix Committed
no longer affects: unity (Ubuntu)
Changed in unity-lens-files:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-files - 5.6.0-0ubuntu1

---------------
unity-lens-files (5.6.0-0ubuntu1) precise; urgency=low

  * New upstream release.
    - Content of hidden folders shown in unity-lens-files (LP: #878052)
    - not all files show up in files-place (LP: #646724)
 -- Didier Roche <email address hidden> Mon, 12 Mar 2012 12:04:25 +0100

Changed in unity-lens-files (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Michal Hruby (mhr3) wrote :

Eeh, this wasn't merged yet.

Changed in unity-lens-files:
status: Fix Released → In Progress
Changed in unity-lens-files (Ubuntu):
status: Fix Released → Triaged
Changed in unity-lens-files:
milestone: 5.6.0 → 5.8.0
Changed in unity:
milestone: none → 5.8.0
status: Fix Released → In Progress
Changed in unity:
milestone: 5.8.0 → 5.10.0
Omer Akram (om26er)
Changed in unity-lens-files (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Omer Akram (om26er) wrote :

I have changed the status since its not being worked on anymore. If someone else wants to work on it please assign and change the status.

Changed in unity:
status: In Progress → Confirmed
Changed in unity-lens-files:
status: In Progress → Confirmed
assignee: Robert Roth (evfool) → nobody
Changed in unity-lens-files (Ubuntu):
status: In Progress → Confirmed
Changed in unity:
milestone: 5.10.0 → 5.12.0
Changed in unity:
milestone: 5.12.0 → 5.14.0
Changed in unity-lens-files:
assignee: nobody → Lorenzo Mattei (lore-mattei)
status: Confirmed → In Progress
Changed in unity:
milestone: 5.14.0 → 5.16.0
Changed in unity:
milestone: 5.16.0 → 5.18.0
Changed in unity:
milestone: 5.18.0 → 7.0.0
Michal Hruby (mhr3)
description: updated
John Lea (johnlea)
description: updated
Changed in unity-lens-files:
status: In Progress → Fix Committed
Changed in unity-lens-files:
assignee: Lorenzo Mattei (lore-mattei) → Pawel Stolowski (stolowski)
Changed in unity:
status: Confirmed → Invalid
milestone: 7.0.0 → none
importance: High → Undecided
Changed in unity-lens-files:
milestone: 5.8.0 → 7.0.0
Stephen M. Webb (bregma)
Changed in unity-lens-files (Ubuntu):
milestone: none → ubuntu-13.04-alpha-1
status: Confirmed → In Progress
Andrea Azzarone (azzar1)
Changed in unity-lens-files (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-files - 6.6.0daily12.12.05-0ubuntu1

---------------
unity-lens-files (6.6.0daily12.12.05-0ubuntu1) raring; urgency=low

  [ Michael Terry ]
  * Install daemon into pkglibexecdir, not libexecdir
  * debian/control:
    - Update Vcs-Bzr
    - Build-Depend on gnome-common
    - Bump required version of debhelper, drop cdbs
  * debian/rules:
    - Have dh_autoreconf call ./autogen.sh
    - Switch from cdbs to dh9, running tests in the bargain
    - Use --fail-missing
  * Automatic snapshot from revision 242 (bootstrap)
    - Don't show hidden folders (LP: #878052)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 244
 -- Automatic PS uploader <email address hidden> Wed, 05 Dec 2012 09:26:28 +0000

Changed in unity-lens-files (Ubuntu):
status: Fix Committed → Fix Released
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

Hi Łukasz,

I'm fine with the SRU diff currently awaiting approval for quantal-proposed, but it can't be processed until raring has a greater version number, otherwise it'll render upgrades from quantal to raring incorrect. Please could you arrange for raring to have a version greater than 6.6.1-0ubuntu1 first?

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hi Colin!

I bumped the raring version to 7.0, so currently raring should have 7.0~daily13.02.28-0ubuntu1 in the repositories.
Can we try and upload the quantal SRU now? :)

Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Ivan, or anyone else affected,

Accepted unity-lens-files into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/unity-lens-files/6.6.1-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in unity-lens-files (Ubuntu Quantal):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Ivan Danov (danov) wrote :

Tested with the required version and it works, the bug is fixed.
dpkg -l | grep "unity-lens-files"
ii unity-lens-files 6.6.1-0ubuntu1 amd64 File lens for unity

tags: added: verification-done
removed: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-files - 6.6.1-0ubuntu1

---------------
unity-lens-files (6.6.1-0ubuntu1) quantal-proposed; urgency=low

  * New upstream release.
    - Check paths for "/." substring to exclude hidden files (LP: #878052)
 -- Lukasz 'sil2100' Zemczak <email address hidden> Fri, 11 Jan 2013 17:30:24 +0100

Changed in unity-lens-files (Ubuntu Quantal):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Ivan, or anyone else affected,

Accepted unity-lens-files into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/unity-lens-files/5.10.0-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in unity-lens-files (Ubuntu Precise):
status: New → Fix Committed
tags: removed: verification-done
tags: added: verification-needed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Test case successful with the 5.10.0-0ubuntu1.1 from precise-proposed.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-files - 5.10.0-0ubuntu1.1

---------------
unity-lens-files (5.10.0-0ubuntu1.1) precise; urgency=low

  * Cherry-pick a fix from upstream:
    - Check paths for "/." substring to exclude hidden files (LP: #878052)
 -- Timo Jyrinki <email address hidden> Wed, 27 Feb 2013 12:05:24 +0200

Changed in unity-lens-files (Ubuntu Precise):
status: Fix Committed → Fix Released
tags: added: rls-w-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.