Saturday, June 13, 2009

Nautilus Split View Update

I've been working on cleaning up the history of the my Nautilus split view branch, and basing it on the official git repository. That's done now, so consider this post a call for testing! Grab the source and get it running. Please send emails with bug reports, patches, remarks, and also success stories. I'd also be interested in reports from spatial-mode users, just to make sure the patchset doesn't introduce any regressions for them. I'd really like some more testing before requesting a review upstream.


Some visual polishing took place compared to the old screencast, for example the thin border in the theme's selected-color around the active pane, and shadow around the inactive pane.

The buttons with the greyed-out look in the location bar on the right side of the screenshot are in fact sensitive. Clicking e.g. directory buttons changes to the respective directory and also make that pane active. The grey zoom control widgets and the insensitive-looking background work in an analogous way. That's not exactly HIG-compliant, but it seems very natural and intuitive.

37 comments:

  1. Thanks for this great addition to nautilus.
    I've compiled it on my ubuntu desktop and it works perfect. (as far as i can see).
    http://siegie.sin.khk.be/Schermafdruk-siegie%20-%20Bestandsbeheer.png
    On the dutch ubuntu they are also very excited about this addition.

    ReplyDelete
  2. Thanks for your feedback, guys. As the amount of testing (outside my own day-to-day desktop usage) is important information for me, I'd be interested in knowing to what degree you guys tested (e.g. "checked it for 5 minutes" vs "have been using it every day for weeks now").

    ReplyDelete
  3. I've install the Jaunty package and I love it, but I don't see the option of Extra Pane in the "view choice" only in the bar.
    In the other hand, I've seen another addition to nautilus, a simplified view in: http://davidsiegel.org/nautilus-simplified/
    A merge of that addition with the split view could be great!
    Sorry for my english, I'm spanish

    Thanks!!!

    ReplyDelete
  4. but I don't see the option of Extra Pane in the "view choice" only in the bar.

    Could you rephrase that? What do you mean by "view choice"?

    a simplified view in:

    I don't like the state that was presented in that blog, for the reasons described in comment 29 there.

    We'll see what upstream has to say about that.

    ReplyDelete
  5. Sorry, I must improve my english... With "view choice" I mean this http://farm4.static.flickr.com/3601/3752399612_a95d3d71f3_b.jpg
    I don't know how to explain that.
    When I saw the screencast in YouTube I thought that the split view was an option of the "view choice".

    Thanks!!

    ReplyDelete
  6. When I saw the screencast in YouTube I thought that the split view was an option of the "view choice".

    No, it's not, and it wasn't on the screencast. Each side of the split view can have a separate view, so you can have e.g. list-view on the left side, and compact view on the right side. These two things are orthogonal, really.

    ReplyDelete
  7. Another thing hb, I've tried to put a shortcut on the nautilus toolbar for the split view, but I only see the words "Extra Pane", no icon. Which is the name for the icon shortcut?

    Thanks a lot!!

    ReplyDelete
  8. As of right now, there is no icon.

    ReplyDelete
  9. Hello again!
    I've been trying the addition and I noticed that when I put the "split view" by pressing the F3 button the two panes appears, but pointed if I press with the pointer on the pane of the right and press the F3, the window returns to the normal view with the pane of the left, never with the right pane although it was noted with the pointer...
    I hope you understand my appreciation, I don't know if thats is a bug or a posible future feature.

    Thanks!!

    ReplyDelete
  10. Currently, the "extra pane" action creates an extra pane on the right, and when that action is toggled off again, that extra pane (the one on the right) is destroyed again. Maybe it would make more sense to keep the active pane, and destroy the inactive pane, no matter which one it is.

    ReplyDelete
  11. Hi again!!
    I've seen that you have implemented the feature that I said!
    Thank you very much!

    ReplyDelete
  12. Thank you for your comments!

    ReplyDelete
  13. Ok. This is totally cool! I wonder why upstream never thought of this?

    Mark.

    ReplyDelete
  14. I have just installed today, but after the latest kernel update on Ubuntu Jaunty (to 2.68.15), it become unusable, and I had to re-install nautilus from the original repos. However, - your initiatives to have dual panel - seemed very promising for me. Good luck to make compatible with mainstream development.

    ReplyDelete
  15. I am using it on a up-to-date Jaunty with Kernel 2.6.8.15 on a daily basis at home and at work without any issues. The code is compatible with mainstream development.

    Of course, as any non-tivial change, it may contain or trigger bugs that are exposed by specific environments. I won't be able to track them down without more information or a way to reproduce, though. You're the first one that reports instabilities, so if you can provide more information, maybe the issue can be solved.

    ReplyDelete
  16. It looks nice!

    Would it be possible to do something like this:
    http://img339.imageshack.us/img339/630/fulltabs.png

    In this way it wouldn't be necessary to duplicate the zoom buttons, etc...

    ReplyDelete
  17. @Anonymous: Sure it would be possible, but I don't think it makes much sense.

    The two sides may show different locations, so two location bars should be visible. To save space, the view chooser combo box is already moved out of the location bar into the toolbar -- maybe it would make sense to move the zoom widgets there, too. The rest of the location bar, however, should stay.

    ReplyDelete
  18. @ hb
    You are right about the location bar.

    +1 for moving the zoom widgets into the toolbar :-)

    I'd also like to suggest a "x" button to close a side (like that on the sidebar or at right of a tab's label).

    ReplyDelete
  19. Are we going to get updated packages for Karmic?

    I got really used to using this while in Jaunty and am finding it hard to go without the functionality..

    ReplyDelete
  20. Yes, I plan on updating the PPA once I get to upgrade to Karmic myself.

    ReplyDelete
  21. A great solution, I'm really looking forward to the karmic version.

    ReplyDelete
  22. Hi HB
    Any luck with porting this to 9.10?
    I am one of the eagerly waiting guys :-)

    ReplyDelete
  23. Please, oh please upgrade to Karmic soon so you'll feel inclined to update this most wondrous of nautilus-versions!

    ReplyDelete
  24. Karmic packages are now available in the PPA. Please report bugs.

    ReplyDelete
  25. Working perfectly in Karmic - thanks :-)

    ReplyDelete
  26. Installed for Jaunty via ppa:
    the text in the not used panty insn't shown(folder names etc.) , also the background changes there...
    Change of Background in Nautilus has now become impossible after this installation!
    Is there a way to uninstall this?

    ReplyDelete
  27. > Is there a way to uninstall this?

    Remove the PPA from your Repositories. Then downgrade each package that you installed from the PPA (normally nautilus, nautilus-data and libnautilus-extension1, if you chose to also nautilus-dbg and libnautilus-extension-dev) by choosing Package -> Force Version in Synaptic.

    ReplyDelete
  28. Just tried out the version for Karmic from the PPA: great!! Thank you so much!!

    ReplyDelete
  29. Thanks a lot was this great additional feature in nautilus! However, when I use the New Wave Theme, I sometime get very ugly pink borders in the nautilus window. Would be great to fix that.
    Thanks again,

    Thomas

    ReplyDelete
  30. Really cool. Thanks for it :)

    How big is the change to see this upstream?

    ReplyDelete
  31. >However, when I use the New Wave Theme, I sometime get very ugly pink borders in the nautilus window

    Can you provide a way to reproduce the problem? I don't usually use the New Wave Theme, and quick tests seemed to work fine.

    >How big is the change to see this upstream?

    It's a rather big patchset, affecting core parts of Nautilus. I didn't formally submit it for review yet, but when I do, review will take non-negligible effort and time from a core dev before it can possibly get accepted upstream. But of course, that's the goal.

    ReplyDelete
  32. Hey Holger. I love your split view Nautilus but it has an annoying bug and that is that sometimes it prevents windows from popping up directly. Like when you click on the Transmission daemon in the tray, Transmission should pop up immediately but it stays in the panel.

    I hope that you can sort this out because this is the most useful thing in Ubuntu in years :D

    ReplyDelete
  33. @dagon_: I cannot reproduce that. Also, Nautilus has nothing to do with the tray, so I doubt Nautilus is the reason for Transmission not popping up directly.

    ReplyDelete
  34. Hi, I've been missing this functionality in Nautilus, but I don't use Ubuntu right now (I dont' like it either but, company policy). Is it very difficult to have this on a different distro, say, SuSE for example?
    Thanks.

    ReplyDelete
  35. @Basurero: Well, I just did Ubuntu packages because I happen to use Ubuntu myself, somebody else did Arch Linux packages (http://aur.archlinux.org/packages.php?ID=26529). I am not aware of packages for other distributions, and I am not going to make packages for SuSE because I don't know anything about SuSE packaging.

    Of course, there's always the code..

    ReplyDelete
  36. Good work, i have a request if i may,
    i would like to see a splited sidebar also, so i could see information and at the same time by bookmarks

    ReplyDelete