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 417193 - Selecting the current location triggers folder update
Selecting the current location triggers folder update
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Sidebar
2.17.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-11 19:26 UTC by Stefano Teso
Modified: 2007-03-28 15:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Preliminary patch (876 bytes, patch)
2007-03-11 19:31 UTC, Stefano Teso
none Details | Review
Updated patch (1001 bytes, patch)
2007-03-26 08:45 UTC, Stefano Teso
none Details | Review

Description Stefano Teso 2007-03-11 19:26:37 UTC
Please describe the problem:
This ``bug'' happens when selecting a bookmark that points to the current Nautilus location. If your current location is x and you activate a bookmark that points to x, the content of the main window gets repainted.

I don't know if this is an intended behaviour (there's a Reload button in the toolbar, and CTRL+R, F5 work as well); anyway, I find it mostly annoying, especially since repeatedly clicking the same bookmark bring CPU usage to 100%.

On a side note, the GtkFileChooser behaves just like Nautilus...


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Stefano Teso 2007-03-11 19:31:00 UTC
Created attachment 84395 [details] [review]
Preliminary patch

The patch doesn't take identical URI's in account (so /home/username/Dekstop and ~/Desktop are considered different locations, therefore triggering a repaint); I don't know if it really makes a difference from within nautilus_window_open_location_full ().
Comment 2 Stefano Teso 2007-03-26 08:45:45 UTC
Created attachment 85304 [details] [review]
Updated patch

Follws observations made in

http://mail.gnome.org/archives/nautilus-list/2007-March/msg00050.html
Comment 3 Alexander Larsson 2007-03-28 15:24:00 UTC
That looks good. Commiting.