GNOME Bugzilla – Bug 416891
location bar button goes out of sync with Ctrl+L
Last modified: 2009-03-19 15:33:42 UTC
Clicking the location bar button toggles between the button based and the text based location bar, but if I activate the text based location bar by pressing Ctrl+L, the button does not get depressed and clicking it won't bring back the button based location bar. I can only get the button based location bar back by clicking it a second time. Please see attached screenshot. Related to bug 314894.
Created attachment 84355 [details] screenshot of the problem Text based location bar is visible, but the toggle button is not depressed.
Confirmed with 2.21.5.
Created attachment 109646 [details] [review] 416891-synchronize-location-button-state.patch Button state should now be synchronized with the bar mode. However, note that currently pressing CTRL+L shows the location entry *temporarily*, ie. when the path bar is visible and you press CTRL+L, then change location, you'll still get the path bar = CTRL+L doesn't change NAUTILUS_PREFERENCES_ALWAYS_USE_LOCATION_ENTRY preference. I'm not sure if that's wanted behavior here, maybe someone could cover the usability angle.
Patch available waiting for review...
Committed to trunk, thanks for the patch. 2009-03-19 Cosimo Cecchi <cosimoc@gnome.org> * src/nautilus-navigation-window.c: (always_use_location_entry_changed), (nautilus_navigation_window_set_bar_mode): Always synchronize the location bar button with the pathbar mode. Patch by Paweł Paprota (#416891).