deleting an item moves the focus wrongly when using the icon view

Bug #242732 reported by Milan Knizek
4
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Medium
nautilus (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

How to reprodruce:

Open Nautilus, create a new directory called test, enter the directory, create two files test1.txt and test2.txt.

Now it is possible to use arrows on keyboard to move between the two files (only one is selected at a moment). Use DEL key to delete test1.txt.

The listing of files now shows only test2.txt. The file is "unselected".

Expected behaviour:

It should be possible to use keyboard to select the single remaining file test2.txt (e.g. pressing a space bar or using any arrow key or pg down/up) or the file should be "selected" as default.

Bug:

It is not possible to select the remaining file test2.txt with keyboard only. The only solution is to start typing "tes" or click on the file with a mouse.

(If more than one file remains, the arrow keys work as expected.)

Tags: usability

Related branches

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
Revision history for this message
dpleet@gmail.com (dpleet) wrote :

I was able to reproduce in Hardy. Bug did not occur when using list view but did occur in icon view.

Changed in nautilus:
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

confirmed in intrepid and sent on http://bugzilla.gnome.org/show_bug.cgi?id=540107

Changed in nautilus:
status: Confirmed → Triaged
Changed in nautilus:
status: Unknown → New
Revision history for this message
A. Walton (awalton) wrote :

Fix committed upstream.
 * libnautilus-private/nautilus-icon-container.c
 (keyboard_arrow_key):
 Move keyboard focus correctly after a file has been
 removed. Patch thanks to Nelson Benitez. Closes bug #540107.

Changed in nautilus:
status: Triaged → Fix Committed
Changed in nautilus:
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:2.23.5-0ubuntu1

---------------
nautilus (1:2.23.5-0ubuntu1) intrepid; urgency=low

  * New upstream version
    - Add tab support to browser mode (lp: #154059)
    - Add "restore from trash" functionality (lp: #14412)
    - Path bar and notebooks can be used as fully functional URI drop targets
      (lp: #3337)
    - Places sidebar
      - Add eject buttons to volumes
      - Fix bookmark reordering (lp: #69867)
      - Make DND indication consistent with GTK+ file chooser
    - Async I/O
      - Use NautilusFile instead of GFile for path bar display name
      - Use NautilusFile for DND "same FS" check
    - Fix navigation where window was inconsistently "stuck" between two
      directories, i.e. the view was not completely changed.
    - Fix huge leak - status bar messages were never popped from the stack
    - Always grab focus on location change, even if view is reused
    - Icon view fixes
      - If no icon is selected, but an icon has the keyboard focus,
        select it when pressing space. (lp: #155044)
      - Move keyboard focus after a file has been removed (lp: #242732)
      - Fix double-clicking of half-shown items (lp: #52606)
    - Thumbnailing changes
      - Never scale up any thumbnails (lp: #202682)
      - Compose and scale thumbnails on the fly
      - Speed up loading of large image files used as their own thumbnails
    - Display emblems for small icon sizes
    - Offer clipboard contents as text/uri-list
    - Use UTF-8 dash for properties window instead of "--"
    - Misc
      - Allow to build without XMP
      - Require beagle 0.2.4
      - Require intltool 0.36.3.

 -- Sebastien Bacher <email address hidden> Mon, 21 Jul 2008 20:52:13 +0200

Changed in nautilus:
status: Fix Committed → Fix Released
Changed in nautilus:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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