After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692039 - Issues with Backspace and focus
Issues with Backspace and focus
Status: RESOLVED DUPLICATE of bug 692188
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.6.x
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2013-01-18 22:03 UTC by António Fernandes
Modified: 2013-01-21 19:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description António Fernandes 2013-01-18 22:03:14 UTC
"Backspace" can be used to directory navigation, but it is unreliable and unpredictable due to how focus works. Nine examples:

A)
Steps to reproduce:
      Launch gedit and click on "Open".
      On the sidebar, go to the Home folder.
      Click on "Backspace"

Actual Results:
      It has no effect, there is a sound notification. (The location entry is focused and empty.)

B)
Steps to reproduce:
      Launch gedit and click on "Open".
      On the sidebar, go to "Documents" folder.
      Click on "Backspace"

Actual Results:
      It has no effect, there is a sound notification. (The location entry is focused and empty.)

C)
Steps to reproduce:
      Launch gedit and click on "Open".
      On the sidebar, click on Home folder.
      On the main list, double click on "Documents".
      Click on "Backspace"

Actual Results:
      It has no effect, there is a sound notification. (The location entry is focused and empty.)

D)
Steps to reproduce:
      Launch gedit and click on "Open".
      On the sidebar, click on "Documents" folder
      On the main list, double click on a subfolder.
      Click on "Backspace"

Actual Results:
      It takes me to parent folder, which is "Documents" in this case. (The location is unfocused.)

E)
Steps to reproduce:
      Launch gedit and click on "Open".
      On the sidebar, click on "Documents" folder.
      On the main list, double click on a subfolder.
      Click on "Backspace"
      Click on "Backspace" again.

Actual Results:
      The first "Backspace" takes me to parent folder, which is "Documents" in this case. (The location, which was unfocused, gets focus.) The second "Backspace" has no effect, there is a sound notification. (The location entry is focused and empty.)

F)
Steps to reproduce:
      Launch gedit and click on "Save".
      On the sidebar, click on the Home folder.
      Click on "Backspace"

Actual Results:
      It has no effect. There is no sound notification. (The filename entry is unfocused.)

G)
Steps to reproduce:
      Launch gedit and click on "Save".
      On the sidebar, click on "Documents" folder.
      Click on "Backspace"

Actual Results:
      "Documents" is removed from sidebar. ("Oh no... what happened to my documents?")

H)
Steps to reproduce:
      Launch gedit and click on "Save".
      On the sidebar, click on "Documents" folder.
      On the main list, double click on a subfolder.
      Click on "Backspace"

Actual Results:
      It takes me to parent folder, which is "Documents" in this case. (The filename entry is not focused)

I)
Steps to reproduce:
      Launch gedit and click on "Save".
      On the sidebar, click on "Documents" folder.
      On the main list, double click on a subfolder.
      Click on "Backspace"
      Click on "Backspace" again.

Actual Results:
      The first "Backspace" takes me to parent folder, which is "Documents" in this case. The second "Backspace" takes me to parent folder, which is the Home folder in this case. (The filename entry is not focused.)


Expected result for all of above:
      Ideally, the same result in all cases, whichever that would be. At minimum, a predictable pattern.
      In particular,
      - C) and D) should really be the same;
      - E) and I) should be the same;
      - if A) and B) are the same, then F) and G) should be the same as well.

Tested with gtk+ version 3.6.4 from Fedora 18.
Comment 1 António Fernandes 2013-01-18 23:58:25 UTC
I tested the places-sidebar git branch and got different results:

"Open" dialog:
A) Same result as 3.6.4: No effect, sound.
B) Same result as 3.6.4: No effect, sound.
C) Different from 3.6.4: It takes me to parent folder.
D) Same result as 3.6.4: It takes me to parent folder.
E) Same result as 3.6.4: First time takes me to parent folder, second time no effect, sound.

"Save as" dialog:
F) Different from 3.6.4: It takes me to parent folder.
G) Different from 3.6.4: It takes me to parent folder.
H) Same result as 3.6.4: it takes me to parent folder.
I) Same result as 3.6.4: it takes me to parent folder both times.

There is a lot more consistency, particularly in the "Save as" dialog.

But the issue remains in the "Open" dialog, being most evident in E). If the first "Backspace" takes me to parent directory, expectation is that hitting "Backspace" again would do the same.

Location entry seems to be a problem. If hidden, "Backspace" consistently takes me to parent folder for the five test cases. But the file name entry in the "Save as" dialog is always there and does not interfere.
Comment 2 William Jon McCann 2013-01-21 06:28:06 UTC
Backspace should not be used for navigation in my opinion.
Comment 3 António Fernandes 2013-01-21 10:17:03 UTC
(In reply to comment #2)

Thank you for your comment. Incidentally, I was hoping to use this bug as a documented reason for not using Backspace for navigation. Knowing your opinion, I've now submitted a report asking explicitly for that: bug 692188. You may want to set it as blocking bug 679334.
Comment 4 Federico Mena Quintero 2013-01-21 19:39:36 UTC

*** This bug has been marked as a duplicate of bug 692188 ***