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 329087 - After switching from iconview to listview the typeahead is not triggered in listview
After switching from iconview to listview the typeahead is not triggered in l...
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: List View
2.13.x
Other All
: High normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-29 14:49 UTC by Nelson Benitez
Modified: 2006-01-31 01:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Patch to focus treeview when switching to listview (3.51 KB, patch)
2006-01-29 14:52 UTC, Nelson Benitez
none Details | Review

Description Nelson Benitez 2006-01-29 14:49:19 UTC
Please describe the problem:
When you switch from icon view to list view the list treeview doesn't get
focused so if you start typing nothing happens, but if we switch to icon view
and start typing then the typeahead search appears.

Steps to reproduce:
1. Open a nautilus window in icon view
2. Switch to listview through "View->View as List" menu option.
3. Type some letters --> TYPEAHEAD SEARCH BOX DOES *NOT* APPEAR
4. Switch to iconview again.
5. Type some letters --> TYPEAHEAD SEARCH BOX *DOES* APPEAR


Actual results:


Expected results:
When switching to list view the typeahead should work same as when I switch to
icon view.

Does this happen every time?
yes

Other information:
Comment 1 Nelson Benitez 2006-01-29 14:52:10 UTC
Created attachment 58325 [details] [review]
Patch to focus treeview when switching to listview
Comment 2 Fabio Bonelli 2006-01-29 20:10:11 UTC
Confirming the bug.

Priority: High because of the patch
Comment 3 Martin Wehner 2006-01-31 01:20:09 UTC
2006-01-31  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-view.h:
	* libnautilus-private/nautilus-view.c: (nautilus_view_grab_focus):
	Add new grab_focus method.

	* src/file-manager/fm-list-view.c: (fm_list_view_grab_focus),
	(fm_list_view_iface_init):
	Implement grab_focus.

	* src/nautilus-window.c: (nautilus_window_set_content_view_widget):
	Use grab_focus to set the focus on the content view. Fixes #329087.
	Patch from Nelson Benitez <gnel@cenobioracing.com>