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 578837 - unintuitive back and forward
unintuitive back and forward
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.24.x
Other All
: Normal minor
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2009-04-13 14:30 UTC by andreas.fritiofson
Modified: 2012-11-25 09:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Patch for file-roller 2.24.1 to make back/forward button behavior match nautilus (901 bytes, patch)
2009-04-13 14:37 UTC, andreas.fritiofson
none Details | Review

Description andreas.fritiofson 2009-04-13 14:30:21 UTC
The back and forward buttons don't work the way they do in other applications (web browsers, nautilus,...).

Consider an archive with the following directory structure:

/
/a
/a/b
/a/c

After browsing from / to /a to /a/b, you press Back and get to /a. Browse to /a/c and press Back to /a. One would expect that pressing Back again would get you to the directory from which you first got to /a, which is /. Instead you end up in /a/b.

The attached patch corrects the behavior to match nautilus, which deletes all forward history when you browse to a new location.


Other information:
Also reported at https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/354136
Comment 1 andreas.fritiofson 2009-04-13 14:37:37 UTC
Created attachment 132594 [details] [review]
Patch for file-roller 2.24.1 to make back/forward button behavior match nautilus
Comment 2 Raffaello D. Di Napoli 2010-10-04 22:00:04 UTC
I’d like to try and provide a better explanation for the bug, from what I’ve gathered by blackbox-testing file-roller and nautilus

Assume the back/forward history list is the following:

file-roller    nautilus
 0: /           0: /
 1: /a          1: /a
*2: /a/b       *2: /a/b

with the marked item (2: /a/b) being the current view.
Now, if Back is pressed, instead of just switching to history item 1, file-roller will currently create a new history entry with the same path as item 1:

file-roller    nautilus
 0: /           0: /
 1: /a         *1: /a
 2: /a/b        2: /a/b
*3: /a

Further navigating into /a/c thus leads to this:

file-roller    nautilus
 0: /           0: /
 1: /a          1: /a
 2: /a/b       *2: /a/c
 3: /a
*4: /a/c

With the net result of having a very unintuitive (and long) back-navigation in file-roller.
Comment 3 Balló György 2012-11-02 12:55:22 UTC
It is still an issue with the latest release 3.6.1.1.

Is there any chance that it will be fixed anytime soon?
Comment 4 Paolo Bacchilega 2012-11-25 09:56:00 UTC
This problem has been fixed in the development version. The fix will be available in the next software release (3.6.3). Thank you for your bug report.