restore type-ahead find

Bug #1164016 reported by Adam Dingle on 2013-04-03
902
This bug affects 191 people
Affects Status Importance Assigned to Milestone
Nautilus
Confirmed
Wishlist
nautilus (Ubuntu)
Medium
Daniel Wyatt
ubuntu-settings (Ubuntu)
Medium
Robert Ancell

Bug Description

GNOME removed type-ahead find in Nautilus 3.6, not without controversy:

https://mail.gnome.org/archives/nautilus-list/2012-August/msg00002.html

Now when you type in a Nautilus window, Nautilus immediately performs a search in the current directory and all its subdirectories. I personally find this annoying. If I want to search, I'll click the search icon. Often I'm looking at a long directory listing and simply want to jump to a certain point in it, and type-ahead find works great for that.

Would Ubuntu consider patching type-ahead find back in?

Related branches

lp:~daniel-wyatt/nautilus/ubuntu
Ubuntu Desktop: Pending requested 2014-01-28
Adam Dingle (adam-yorba) on 2013-04-03
description: updated
Sebastien Bacher (seb128) wrote :

Thanks Adam, it's something that annoys quite some people indeed. We are not sure what to do at the moment, nautilus 3.6 is an user regression compared to 3.4 on several fronts.

We are discussing adding back nautilus 3.4 as an option (and maybe make it the default in Ubuntu) but it's an unmaintained software upstream and it doesn't seem to be a good idea to suggest it to users if we are not going to have the resources to fix issues with it...

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Adam Dingle (adam-yorba) wrote :

Yeah. My vote is to stay with the current Nautilus (3.6 in Raring) since it is maintained upstream, but to use patches or plugins to fix the most important regressions.

Alfredo Matos (alfmatos) wrote :

I would say that this is a long way from Low Importance. As a desktop user I hit this bug dozens of times per day, and over time this is incredibly frustrating to the point of having installed several alternatives, and even considering dropping Unity/Gnome in favor of KDE (or something sane).

Alfredo Matos (alfmatos) wrote :

Best workaround so far is to install nautilus 3.4 in 13.04:
http://www.webupd8.org/2013/04/get-nautilus-34-features-back-in-ubuntu.html

Adam Dingle (adam-yorba) wrote :

I've also filed this upstream at

https://bugzilla.gnome.org/show_bug.cgi?id=699455

Adam Dingle (adam-yorba) wrote :

One more point. When the Nautilus designers replaced type-ahead find with search-as-you-type, their intention was that searching as you type would be really fast because Nautilus would use Tracker to search. See, for example, the comment https://bugzilla.gnome.org/show_bug.cgi?id=680118#c4 : "Nautilus will build with a Tracker dependency by default unless
--disable-tracker is used. That is strongly not recommended. Search is going to kind of suck without it."

Because Ubuntu does not use Tracker, searching as you type in Nautilus is especially painful on Ubuntu, and so the removal of type-ahead find affects Ubuntu users especially acutely.

So in Ubuntu we could enable Tracker, which would alleviate the problem somewhat, and/or patch type-ahead find back in. I lean toward the patch: it's probably really easy. But I agree with Alfredo that finding some solution to this should have more than a Low importance.

Changed in nautilus (Ubuntu):
status: Confirmed → Triaged
Changed in nautilus:
importance: Unknown → Medium
status: Unknown → New
bf (bflesch) wrote :

Adam Dingle: Thanks for clarifying that this issue has not been intended by the nautilus developers.

Anyway, this bug affects me a lot and I cannot believe that of all people working at/for Ubuntu, nobody ran into this issue. It is very striking and totally kills directory navigation as I am used to.

Changed in nautilus:
status: New → Invalid
Adolfo Jayme (fitojb) on 2013-05-19
Changed in nautilus (Ubuntu):
importance: Low → Medium
Marco Lackovic (marco-lackovic) wrote :

I also find the removal of type-ahead very frustrating. I think an option to re-enable it should be available.

In my opinion the previous behavior was more intuitive: if I wanted to search fo something I would have used the search function at hand. Before it was possible to discern the two things, (1) go to the file/folder in the current folder, (2) search for a file/folder in the current folders and subfolders. Now only option (2) is possible.

As a workaround, I followed the following suggestion and installed Nemo:
http://askubuntu.com/questions/285793/how-do-i-disable-recursive-search-in-nautilus-3-6

Justin Force (justin-force) wrote :

The new behavior is INFURIATING. And the search functionality is terrible. Even if it were fast (and it's terribly slow on my Core i7 and Intel SSD), it's stupid. I'm a software developer. When I type 'lib', I want to jump to the lib directory that I'm looking at--not find every directory and file with lib in it recursively. That's insane! And there's a well-established UX for this already: indicate that you want to perform a search by pressing Ctrl-F, F3, or whatever.

This change has made it virtually impossible to navigate Nautilus without a mouse, and so Nautilus is now completely useless to me. HUGE step backward.

I realize that GNOME is doing weird things with Nautilus 3.6, and that the version shipping with Ubuntu is a best effort by Canonical, the Ubuntu community, and friends to maintain sanity. I don't mean to criticize the folks who are doing the best they can. I just want adequately register my frustration here. My Ubuntu desktop experience is seriously hampered as Nautilus is completely useless to me now. It's much more efficient to do all file operations in a shell if I can't type-ahead find.

And I don't think this is an issue of, "Well, I guess it's time to learn new UI." I'm not averse to drastic changes to the UI if they're improvements. This isn't a matter of Old Dog v. New Trick. This is a very, very bad UI decision. It makes the software less useful.

Quick side rant: the GNOME team have been stripping out features and removing useful functionality for years. I understand the idea of boiling down a tool to its most essential parts, the benefits that that has for maintainability, and the elegance of a focused UI. But come on. It's easy to cross the line and break things that people rely on, and that seems to have been GNOME's modus operandi for at least the past 6 years.

Abraxas (cjay-martin) wrote :

I also agree on this. I used the lookahead as my primary navigation through complex filesystems. I have so many like-named subdirectories that this new feature is dropping my efficiency pretty badly. I was hoping to avoid using any of the cinnamon forks until/unless they became officially embraced by Ubuntu (just for compatibility reasons), but I'm a little stuck.

No rant here, just the facts, ma'am.

Salvation (jjmatt) wrote :

Just wanted to +1 what everyone else said. One more vote for a type-ahead search function.

M4he (mahe) wrote :

Can someone put together a patch, which incorporates the type-ahead search from Nautilus 3.4 into 3.6 ?

I switched to Kubuntu, now happily using Dolphin in place of Nautilus/File.

Florian (florian-phpws) wrote :

I +1 this. I've recently upgraded to 13.04 with nautilus 3.6 and this is the single most annoying thing at all. I quite like how most things are back to basics, but this is the complete opposite. Unless I want to make around for hours with the mouse and clinched eyes, this makes nautilus about as useful to me as a car with built in satnav that can only turn left. I would love to see a patch for this. As others mention, if I wanted to do this kind of search I would, well, search (Ctrl+F etc.).

James (ubuntu-soundunreason) wrote :

I concur. At least make this optional/switchable. It is a feature I do not wish to use. I like typing a few letters and jumping to a section in the list.

Tomasz Kucharski (qhrrrr) wrote :

Just wanted to agree with above, and show by posting that there are more frustrated users. This "feature" beats famous Win8 Start button. IMO it's worst "feature" ever designed, I'd love to see how developers of this software uses their file mangers. I can't understand why there is no way for users to configure this behavior. Even advanced users have no option to reconfigure. Why????

M4he (mahe) wrote :
Christian González (droetker) wrote :

Installing an old nautilus is no option here. This is a really annoying, broken feature and should be reverted to the old behaviour. Starting to type lets you loose your overview of where you are in the file system. If I want to search, I press Ctrl+F. Then this search should be available.

Please remove this "feature" again.

Sebastien Bacher (seb128) wrote :

Thanks for the interest/comments there, Ubuntu doesn't have a nautilus hacker though and that chance is coming from upstream, it would be better discussed on the upstream bug tracker/mailing list than on launchpad ... while we agree that the current situation is suboptimal not sure that's a problem that can easily by fixed by Ubuntu

M4he (mahe) wrote :

I strongly recommend Canonical to maintain their own version (fork) of 3.4 (maybe with the SolusOS patch). I think Nautilus 3.4 is a mature software already.

Adam Dingle (adam-yorba) wrote :

Sebastien, thanks for your comment - it's nice to know that someone at Ubuntu is paying attention to this thread.

I don't think forking an old version of Nautilus is practical. The problem is that it would be a ton of work to keep such a fork compatible with new versions of GTK, GLib and other libraries. Instead I think the current version of Nautilus (3.8 in Saucy) should be patched to fix this.

Removing type-ahead find has been controversial upstream (i.e. at GNOME) - see, for example, the discussions at

https://bugzilla.gnome.org/show_bug.cgi?id=680118
https://bugzilla.gnome.org/show_bug.cgi?id=699087

Nevertheless I think it's very unlikely that the GNOME developers will fix this for 3.10, or possibly ever. Even if they were to fix this in, say, Nautilus 3.12 next spring, that version won't appear in Ubuntu until late 2014 (since Ubuntu lags GNOME by a release cycle). So if this going to be fixed in Ubuntu in the near future, I think Ubuntu will need to take responsibility for doing that. You may not like that - sure, in an ideal world this would be discussed rationally and fixed upstream - but this is how it is.

You wrote "not sure that's a problem that can easily by fixed by Ubuntu". I guess that depends on what you mean by "easily". I'm quite confident that a competent hacker could come up with a patch to the current Nautilus that restores type-ahead find in, say, 2-3 weeks. It might even be easier. I'd start by attempting to git revert the commit where this breakage was introduced:

https://git.gnome.org/browse/nautilus/commit/?id=469eb89117e199a450aec3411183ed2e9f10f893

That will yield merge conflicts, which must be studied and resolved in some nice way. This might not be solvable in a day, but I'd be very surprised if this took more than a month of work.

To those of us on the outside, it's baffling that Ubuntu would not want to invest that amount of effort to solve this, since this is a highly visible core program on the Ubuntu desktop and it seems pretty evident that the majority of users are harmed by this. Has someone at Ubuntu already spent several weeks working on this and concluded it was too difficult? Or does Ubuntu not feel it would be worth that amount of effort?

Sebastien Bacher (seb128) wrote :

Hey Adam, thanks for your comment

> Has someone at Ubuntu already spent several weeks working on this and concluded it was too difficult? Or does Ubuntu not feel it would be worth that amount of effort?

Well, neither, the current desktop team has around 10 people to maintain the desktop ... that includes the complete GNOME stack, xorg, firefox, libreoffice, etc.

In practice that's quite a low amonth of manpower compared to the number of packages to maintain, blocking time from an hacker for more than half a day is difficult for us... there is no way at the moment to spare someone for a week to resolve nautilus issues, we just have to sneak fixes in between higher priority work

Oh, for the record we do agree that this bug is annoying and would like to fix, we just need to deal with what we have

Adam Dingle (adam-yorba) wrote :

Sebastien, thanks for your reply. Given your staffing level I can see why this is not as easy as it might seem.

According to this page Canonical has over 500 employees:

http://www.canonical.com/about-canonical

If only 10 of them are assigned to desktop maintenance, I would say that team is seriously understaffed. But that's probably a discussion for another forum, not this bug thread. :)

Sebastien Bacher (seb128) wrote :

> If only 10 of them are assigned to desktop maintenance, I would say that team is seriously understaffed. But that's probably a discussion for another forum, not this bug thread. :)

Right ... note that we have more "desktop" people than that, but most of them are working on Unity and Ubuntu Touch ... which limits our capacity for issues on the "traditionnal desktop". But as you said, that's a discussion getting out of topic for this bug ;-)

M Oberhauser (zomtir) wrote :

Unfortunately it seems that it's less a question of sense but stubbornness. Immediately after the changes were merged, they came up with the "Find in view is broken issue":
https://bugzilla.gnome.org/show_bug.cgi?id=679900

natermer left a long and very biased comment, indicating that Gnome won't return to the type ahead functionality. Not sure how deep he's involved into developement:
https://bugzilla.gnome.org/show_bug.cgi?id=680118#c63

It might be worth a try to directly contact the responsible devs and have a polite discussion wether this bug was marked "invalid" on a technical and comprehensible reason, considering design and consistency being a bad tradeoff for usability and freedom of choice.

If Gnome then still persist on the Apple pathway, how are the chances of getting a type ahead plugin working?

To add my voice to this bug, I installed 13.04 today, on my work computer (previously Windows 7 only), to enable me to use a variety of bash scripts to process a large number of files on an external ext3 drive. At home I have 12.10 installed.

The files are images, several thousand per folder, stored in dated folders (such as 11-04-23-country_location). Now I know, for example, that I was in Belgium in May 2005, so I type '05-05' and a folder NEAR the one I want was previously highlighted, allowing me to quickly and easily find the correct folder. A related task is to go to the next, and previous, folders. Both of these uses are broken with the new search set-up.

The Gnome team's total brick-walling of the furious users should give pause for thought. I simply cannot believe they have shot themselves in the foot so categorically as to make the staple piece of software, that underpins their entire user interface, so crippled.

This is a far more serious usability issue than anything thrown up with the migration to Unity. I would rate it, probably, as the highest, most disruptive user interface bug I have ever come across in Ubuntu (and I've been with you since Warty).

The workaround linked by M4he above is good news, but the idea of having to install a patch to get basic file-browser functionality is insane. Even more insane than firing up Mac OSX and being faced with the abomination that is Finder.

Sebastian, it's great news that Ubuntu are listening, and seeing this as an issue, and I hope a proper solution is forthcoming. At what point does a frankly bizarre upstream user interface decision like this become priority #1 at Canonical? When it begins to compromise the very good work being done with Unity? When does it become worth moving a developer from Unity onto an issue like this?

Adam Dingle (adam-yorba) wrote :

Well stated, Andrew. I myself have used Ubuntu since the days of Dapper Drake, and I agree that this is one of the most serious usability problems I've seen in Ubuntu during that entire time.

firolp (firogm) wrote :

It's really a terrible things that disable type-ahead find. Please,implement a plugin or option to reenable type-ahead find.

2 comments hidden view all 101 comments
Dr. Amr Osman (dr3mro) wrote :

this patch works with nautilus 3.6 on ubuntu 13.04
this is patch i uploaded it to my ppa:dr3mro/personal
have fun

Dr. Amr Osman (dr3mro) wrote :

after installing the patched nautilus
dconf-editor
org.gnome.nautilus.preferences

uncheck

enable_recursive_search

restart nautilus
have fun !!

The attachment "enable_disable_recursive_search.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Dr. Amr Osman (dr3mro) on 2013-07-29
Changed in nautilus (Ubuntu):
assignee: nobody → Dr. Amr Osman (dr3mro)
Adam Dingle (adam-yorba) wrote :

Dr. Osman, thanks for your patch. A few comments:

1. Of course, this patch does not restore type-ahead find as originally requested in this bug ticket. Instead, it simply disables recursive searching, so that as you type only files in the current directory are returned. Still, this does significantly ease the pain of this upstream change. If Ubuntu can't summon the resources to restore type-ahead find in 13.10, I would recommend landing this patch since it's ultra-simple and does make things less painful. I'd further recommend modifying the patch so that non-recursive search is the default (as it stands, the user must set a GSettings key to disable recursive search, and few users will figure out how to do that). The GSettings key would then let users *enable* recursive search if they really want to. I suspect that few users will.

2. You really should be patching Nautilus 3.8.2, which is the current version of Nautilus in Ubuntu 13.10, where this is most likely to land. (I wouldn't mind seeing this backported to 13.04 either, though.)

3. In the patch, I believe you could simplify this code:

if (g_settings_get_boolean (nautilus_preferences, NAUTILUS_PREFERENCES_ENABLE_RECURSIVE_SEARCH)) {
  g_object_set (simple_provider, "recursive", TRUE, NULL);}
 else
 {
 g_object_set (simple_provider, "recursive", FALSE, NULL);
 }

to:

gboolean recursive = g_settings_get_boolean (nautilus_preferences, NAUTILUS_PREFERENCES_ENABLE_RECURSIVE_SEARCH));
g_object_set(simple_provider, "recursive", recursive, NULL);

Fewer lines are better. :)

Dr. Amr Osman (dr3mro) wrote :

@adam-yorba
ok did your suggestion
thank you
https://code.launchpad.net/~dr3mro/nautilus/fix-1164016

Xavier (rxaviers) wrote :

Looking forward to seeing this patch get landed. So, we are able to use Nautilus again. Any updates or plans on when it's gonna happen?

PS: I make Justin's my words. Current regression is INFURIATING.
Go Ubuntu, save us all from this evil.

Daniel (c-daniel) wrote :

I switched to nemo file manager and very happy since then.

Darlan Alves (darlan) wrote :

Looking forward to see this thing fixed too.

It's just insane that a bug that made people install alternative packages just to get rid of a tiny new feature is not considered a ultra-super-high priority on Ubuntu teams.

I'm using Ubuntu for years, and this is the most annoying thing I've ever noticed since Unity was introduced. At first, I found myself cursing Ubuntu for that sudden UI change, but Unity made its way and now I really like it. I don't think the same gonna happen with this damn search thing.

Nautilus browsing is just useless right now! I prefer "Ctrl+Alt+T", "cd to/a/path", and "nautilus .&" instead of touch my mouse or insanely arrow-navigate to do so. I would try to fix it myself if I knew C++ =/

Please, pleease call Mark to dev's room and ask him for a "Nautilus browsing experience". I'm sure it would hate Nautilus as we do right now.

Changed in nautilus (Ubuntu):
assignee: Dr. Amr Osman (dr3mro) → nobody
21 comments hidden view all 101 comments
Daniel Wyatt (daniel-wyatt) wrote :

Everyone give this branch a try:
lp:~daniel-wyatt/nautilus/fix-bug1164016_2

It isn't ideal like I wanted it to be but it's pretty good in my experience.

Adam Dingle (adam-yorba) wrote :

Daniel, thanks for your continued work on this. I tried your branch and this seems like a step forward: most of the issues I mentioned above are fixed. I'm still seeing this issue from before, though:

- Select the first file in a directory, press the down arrow once, then type the first character of a filename. Notice that a secondary selection rectangle remains around the previously selected file. If you press Escape to exit the search, the secondary selection remains, and if you then press the down arrow Nautilus navigates to the file following it. Instead, as soon as the search begins the secondary selection should vanish, just like in Nautilus 3.4.

Actually it seems a bit better than last time around: the first time I type a filename in a given directory view, usually I don't see the secondary selection and the arrow keys behave as expected. But if you repeat the steps above over and over in the same directory view, you'll see that the secondary selection often appears, and arrow keys after Escape often navigate up or down from the secondary selection position, not from the filename you just navigated to. Do you see this too? Is this fixable?

Daniel Wyatt (daniel-wyatt) wrote :

@Adam: Never had that issue and still can't reproduce it.

Can anyone else reproduce this issue?

Daniel Wyatt (daniel-wyatt) wrote :

@Adam: I'll try a fresh install and see if I can reproduce it.

Adam Dingle (adam-yorba) wrote :

@Daniel: Hm - that's interesting that you don't see the issue I mentioned. What version of GTK do you have? I'm on Ubuntu 14.04 with GTK 3.10.6.

Daniel Wyatt (daniel-wyatt) wrote :

@Adam: Still not able to reproduce. I did the following:

1) Fresh install of 14.04, fully updated, GTK 3.10.6
2) sudo apt-get build-dep nautilus && sudo apt-get install bzr
3) bzr branch lp:~daniel-wyatt/nautilus/fix-bug1164016_2 && cd fix-bug1164016_2
4) dh_autoreconf && dpkg-buildpackage -uc -b
5) sudo dpkg -i ../*.deb
6) nautilus -q
7) gsettings set org.gnome.nautilus.preferences enable-interactive-search true
8) nautilus

If I understand what you're describing, it shouldn't really be possible.
isearch_start (called when you start typing a new search) calls isearch_entry_changed which unselects everything via nautilus_view_set_selection (slot->details->content_view, NULL);
Can you try something similar to the above procedures and see if it's still reproducible?

Adam Dingle (adam-yorba) wrote :

Daniel, thanks for your heroic efforts to reproduce the issue I described. I just followed your list of steps above with a fresh install of 14.04, fully updated. And I still see the bug!

To be clear, after your steps above:

9) Open a Nautilus window on your home directory.
10) Click the list view icon.
11) With the mouse, click on the Desktop directory (the first item in the list).
12) Type "t". The Templates directory will be selected.
13) Press Escape. Templates will still be selected.
14) Press the down arrow key. Documents (the second item in the list) will now be selected. This is unexpected: Videos should be selected at this time.
15) Type 't' again. Templates will be selected again, but a pale orange rectangle (i.e. the secondary selection) will still be visible around Documents, which is unexpected.
16) Press Escape again. The secondary selection rectangle will still be visible.
17) Press the down arrow again. Now Downloads will be selected, but Videos should be.

What happens if you follow these steps?

Daniel Wyatt (daniel-wyatt) wrote :

@Adam: Thanks for the clear instructions, got it reproduced now! What a weird bug.

Does this only happen in the list view? Anyways, I'll look into it.

Adam Dingle (adam-yorba) wrote :

Daniel: Great - I'm glad you see this now. I only ever use the list view, so I haven't even looked to see if it might occur in icon view. :)

Daniel Wyatt (daniel-wyatt) wrote :

@Adam: Go ahead and pull the new changes from the branch and try again. It works for me now.

Adam Dingle (adam-yorba) wrote :

Daniel, I tried your latest changes and it seems to work great now. I'd be happy to see this land.

Adam Dingle (adam-yorba) wrote :

Sebastien, would you consider taking this patch now? Let us know if there's anything more we can do to help.

Sebastien Bacher (seb128) wrote :

@Adam: we would like to get that feature back for the LTS for sure. I've some post-holiday back but that one is on my todolist, I'm likely going to get to it next week. It might be useful to open a new upstream report with the patch, I think some people said that upstream is open to take back some feature if they are off by default and opt-in through gsettings

Sebastien Bacher (seb128) wrote :

@Daniel: is there a way you could add your patch as a diff (or a merge request against the packaging vcs, lp:~ubuntu-desktop/nautilus/ubuntu)?

Doug McMahon (mc3man) wrote :

It has worked well here over a couple of weeks & doesn't seem to add to an existing mem leak in list view.
I do wonder though how many users would find value in a preference's option that is only exposed in gsettings/dconf-editor vs. being available thru nautilus's preferences dialog.

Daniel Wyatt (daniel-wyatt) wrote :

@Sebastien: I'll open an upstream report with the patch.

Created a merge request for the packaging:
https://code.launchpad.net/~daniel-wyatt/nautilus/ubuntu/+merge/201263

Osmo Salomaa (otsaloma) wrote :

Thanks Daniel, just to report, this worked fine against 3.8.2 in Debian unstable, I'm using it now and everything seems to work fine. And, please do take the patch upstream, even if it might seem frustrating to argue this case once more.

Daniel Wyatt (daniel-wyatt) wrote :

@Osmo: Glad to hear that. And I have taken it upstream, forgot to mention:

https://bugzilla.gnome.org/show_bug.cgi?id=721968

Daniel Wyatt (daniel-wyatt) wrote :

Upstream killed it so I guess we'll just have to hope it's accepted into Ubuntu for now.

Laurent Dinclaux (dreadlox) wrote :

Gimme it back !

I navigate nautilus with typeahead, enter and backspace. Used to work wonderfully and was a good example of how the same interface can be usefull usefull for both power user and novice. Now that is completely broken.

This is not a performance problem (tracker/no tracker), it is a qualitative problem. Gnome new word order only works if you have globally unique names for files and directories.

Vaclav Petras (wenzeslaus) wrote :

Just for reference, the ticket "backspace does not moves to parent directory" is here:

https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1124632

Changed in nautilus:
importance: Medium → Unknown
status: Invalid → Unknown
Changed in nautilus:
importance: Unknown → Wishlist
status: Unknown → New
Changed in ubuntu-settings (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Robert Ancell (robert-ancell)
Changed in nautilus (Ubuntu):
assignee: nobody → Daniel Wyatt (daniel-wyatt)
status: Triaged → In Progress
Sebastien Bacher (seb128) wrote :

The patch has been uploaded and is currently in trusty-proposed, a new issue has been reported with that version, bug #1271605 " Cannot close window if type-ahead entry is open"

Changed in nautilus (Ubuntu):
status: In Progress → Fix Committed
Changed in ubuntu-settings (Ubuntu):
status: In Progress → Fix Committed
Adam Dingle (adam-yorba) wrote :

Wow - it's great to see this land in proposed at last! Many thanks to Daniel, Sebastien, and everyone else who's helped make this happen.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:3.8.2-0ubuntu11

---------------
nautilus (1:3.8.2-0ubuntu11) trusty; urgency=medium

  * debian/patches/interactive_search.patch:
    - Restore interactive search as an option (lp: #1164016)
 -- Daniel Wyatt <email address hidden> Wed, 22 Jan 2014 15:10:18 +1300

Changed in nautilus (Ubuntu):
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-settings - 14.04.2

---------------
ubuntu-settings (14.04.2) trusty; urgency=medium

  * Use type ahead find by default in Nautilus (LP: #1164016)
 -- Robert Ancell <email address hidden> Wed, 22 Jan 2014 15:18:03 +1300

Changed in ubuntu-settings (Ubuntu):
status: Fix Committed → Fix Released
Angelicfury1 (angelicfury1) wrote :

Thanks everyone. Can't wait for 14.04. Using nautilus in 13.10 is insufferable.

Daniel Wyatt (daniel-wyatt) wrote :

I'm pretty happy to see this in proposed too.
Thanks to Robert Ancell as well for helping merge this (fixing some of my mistakes).

Also, don't hesitate to nudge the nautilus people into reconsidering this:
https://bugzilla.gnome.org/show_bug.cgi?id=721968
https://bugzilla.gnome.org/show_bug.cgi?id=681871
(They quickly closed my patch submission as a duplicate of a 1.5yr old bug.)

Blaster (holst-niels) wrote :

Whenever developers shows lack of interest in use-case based "feature"-implementation, i just point them to this "bug". If the still don't get it, i'll tell them to open the "/usr/share/themes"-folder in Nautilus using just a keyboard. Most of them will just yell obscenities and set PCManFM or Thunar as their default file-manager.

Recursive search is a disaster implemented as a feature you can't opt out of. My personal opinion is that Nautilus should be dropped as default file manager in Ubuntu. I'll never trust that team again.

I might add that I'm personally not much affected by the "bug", since I use Midnight Commander. Thanks Peter Norton ;)

Vaclav Petras (wenzeslaus) wrote :

Thanks to the people fixing this bug, in the first place. However, I'm sorry to put it in this way but Blaster pointed out what is the real bug which caused this one. It is the strange policy in the Nautilus development. This might be fixed by changing the policy or changing the file manager in Ubuntu. Because otherwise, we must ask what will be next? Removal of Home (/home/user) from the side bar and leaving there only (My) Documents, (My) Music and (My) Pictures as it is on Mac OS and some (all?) MS Windows? Removal of possibility to show hidden (.*) files or removal of list view because everyone wants big thumbnail anyway, right? ...

I'm sorry to see developers spending their time reimplementing, debugging and fixing features which already had working implementations and were removed just few months before. I'm concerned that this state is not sustainable.

Blaster (holst-niels) wrote :

@Vaclav Petras (wenzeslaus) #91

For now the only solid fix for the bug is this:

1) Install PCManFM via Ubuntu Software Center
2) <ctrl>+<alt>+T or a terminal
3) Do this: (works on both Gnome Shell and Unity)

xdg-mime default pcmanfm.desktop inode/directory

sudo mv /etc/xdg/autostart/nautilus-autostart.desktop /etc/xdg/autostart/nautilus-autostart.desktop.bak

sudo nano /etc/xdg/autostart/pcmanfm-autostart.desktop

4) Copy-paste the following in the Nano-editor you opened in 3):

[Desktop Entry]
Type=Application
Name=File Manager PCManFM
Exec=pcmanfm --desktop
OnlyShowIn=GNOME;Unity;
NoDisplay=true

5) Save changes with <ctrl>+O, <enter>, <ctrl>+X

6) Do this in the terminal:

favorites=$(gsettings get com.canonical.Unity.Launcher favorites | sed 's/nautilus.desktop/pcmanfm.desktop/')

gsettings set com.canonical.Unity.Launcher favorites "$favorites"

7) pcmanfm --desktop-pref

Select your wallpaper. Note that for Gnome Shell the "stretched"-mode for the wallpaper works best.

Congrats! Nautilus is out of your life now.

Changed in nautilus:
status: New → Confirmed
Daniel Wyatt (daniel-wyatt) wrote :

Any chance this bug will be closed soon or is there a long review process? (I could use the bounty)

1 comments hidden view all 101 comments
Adam Dingle (adam-yorba) wrote :

Daniel, I believe you should now be awarded the Bountysource bounty for this bug. It hasn't closed yet (probably because this bug still points to an open GNOME issue that is only semi-related), but I just emailed them asking to close the bounty. They're usually pretty responsive so I expect to hear back soon. In any case I expect we can resolve this with them directly. Thanks again for your help fixing this!

Daniel Wyatt (daniel-wyatt) wrote :

@Adam: Thanks, much appreciated!

Teo (teo1978) wrote :

I totally second comments #90 and #91
This bug demonstrates (if any more proof was needed) that Nautilus needs to be replaced with something else by default in Ubuntu (and in any distro trying to be of any use), quite urgently.

Ajay Anand (aanand-ub) wrote :

Jumping to the file beginning with the typed letter is NOT the best behavior.

Searching all the folders and subfolders when something is typed is also not the best behavior.

THE BEST BEHAVIOR IS:

Searching all the folders and subfolders when something is typed is the best behavior given a toggle button to enable/disable subfolder search. If subfolder search is disabled only current folder will be searched. This amalgamates best feature of both sides.

Ajay Anand (aanand-ub) wrote :

Until the best behavior (mentioned above) is incorporated, I recommend using the fallback mode: "grep" and "find".

M4he (mahe) wrote :

@Ajay: That's a rather subjective opinion! Search will always get slow on huge folders. Because of the technical nature of type-ahead it is still fast even on huge folder contents. When I use type-ahead it takes me less than 1 second to choose and enter a folder.
I know my folders and their subfolders, I'm dependent on the speed of type-ahead because I use a chain of multiple letter and enter key strokes to navigate through many folders in a second. If type-ahead would be replaced by search, the speed of search results would depend on the folder's content size and I would not be able to use my quick chain of key strokes anymore due to the irregular response time of the search.
I admit, this is a rather subjective opinion as well! But type-ahead has been there for years, it is also integrated into the file managers of OS X or Windows and into the majority of the Linux ones. Your solution mentioned might be an improvement for _some_ people. But that doesn't mean it should replace type-ahead. It could be added as an optional feature that can be activated within the settings. Linux software in general is about configuration & customization - not about claiming you know what is best by forcing your opinion on others and killing features. The latter is exactly what happened to nautilus and why we have this long discussion here.

Sebastien Bacher (seb128) wrote :

https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1300308 is due to this change (ctrl-s in list view selects only one element)

Displaying first 40 and last 40 comments. View all 101 comments or add a comment.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.