#60 DirParent should select the directory we are coming from

closed-fixed
Emil Brink
Interface (27)
6
2011-06-14
2011-03-24
Skotlex
No

To make browsing the filesystem hierarchy easier, I think it would be recommended that when the "DirParent" command is invoked, the pane's cursor should be placed on top of the directory we just came from.

That way, if you are in, say "$HOME/downloads/isos/" when you go up one directory, you should be at "$HOME/downloads/" and the cursor should be already on top of the entry "isos" within.

I believe this behaviour should be pretty expected, and I am surprised it isn't working that way already.

Discussion

  • Skotlex
    Skotlex
    2011-03-28

    • priority: 5 --> 3
     
  • Emil Brink
    Emil Brink
    2011-04-03

    Do you mean only the focus (highlight, cursor position)? The *selection* is independently tracked and remembered by gentoo for each visited directory, I would be quite hesitant to mess with that.

    If you navigate only using the mouse, the focusing doesn't really matter, wouldn't it be distracting in that case to have gentoo pre-focus the directory you just left?

    Changed priority, I don't think this is a hindering bug, it's more of a missing feature.

    Boilerplate: I'd like to point out that gentoo development is not stopped; it has lost a lot of momentum due to a hard drive crash that ate the revision control system. I have off-site backups, but need to find the time to retrieve them and attempt a restore.

     
  • Emil Brink
    Emil Brink
    2011-04-03

    • labels: 1577591 --> Interface
    • priority: 3 --> 6
     
  • Skotlex
    Skotlex
    2011-04-03

    Yes, I mean only the focus, not the selection.

    At the very least, you can add an argument to the DirParent command to specify whether you want or not the directory selected. I think that in general it is a good idea to always place the cursor on top of the entry, even when using the mouse to browse, because it will show the user where is the directory you just came back from (specially useful if you actually changed dir by accident and want to go back).

     
  • Emil Brink
    Emil Brink
    2011-04-10

    • status: open --> open-fixed
     
  • Emil Brink
    Emil Brink
    2011-04-10

    I've implemented this, in the form of a command argument (select=yes). It will be included in the next release (0.19.10), so I will mark it as "Fixed" but keep it open until release. Thanks.

     
  • Emil Brink
    Emil Brink
    2011-06-14

    Closed, this fix is in 0.19.10 which was recently released.

     
  • Emil Brink
    Emil Brink
    2011-06-14

    • status: open-fixed --> closed-fixed