Menu

#106 Nice and easy to implement feature - 2

3.x
closed
None
2019-01-18
2019-01-12
No

I discovered a nice feature of TKE: when TKE get a directory as an argument (wish tke.tcl DIRNAME) it opens the DIRNAME in the sidebar.

It would be cool if the directory were selected in the sidebar at that.

The same proposal is for "Open Recent" -> "Recent Directories".

As a matter of fact, you have a similar feature already. When you call the popup menu of current tab and select "Show in Sidebar" the file is selected in the sidebar.

Though, "Open Recent" -> "Recent Files" might be left unchanged. The directories are good to be shown (and selected) in the sidebar, files are good to be shown (and selected) in the tabs.

Shortly, consider this from your point of view. Some example is on the video.

1 Attachments

Discussion

  • Alex Plotnikov

    Alex Plotnikov - 2019-01-12

    ... add also "File / Open Directory" to the consideration.

     
  • Trevor Williams

    Trevor Williams - 2019-01-17

    I have made this change in the default branch.

     
  • Trevor Williams

    Trevor Williams - 2019-01-17
    • status: open --> pending
    • assigned_to: Alex Plotnikov --> Trevor Williams
     
  • Alex Plotnikov

    Alex Plotnikov - 2019-01-17

    "File/Open Directory"
    "File/Open Recent" -> "Recent Directories".
    - both work fine.

    "wish tke.tcl DIRNAME"
    - still the same (puts DIRNAME in the sidebar and does not select it).
    It's a pity.

     
  • Trevor Williams

    Trevor Williams - 2019-01-17

    Hmm... I made the change to select a directory when added via the command-line and verified that it worked last night.

     
  • Alex Plotnikov

    Alex Plotnikov - 2019-01-17

    Indeed, when TKE isn't working, the passing it a directory works fine.

    However, while working, TKE gets the passed directory OK, shows it in the sidebar OK, but fails to select it in the sidebar :( FAILED

     
  • Trevor Williams

    Trevor Williams - 2019-01-17

    Okay, I missed the case where a directory is specified on the command-line while TKE is already running. I have fixed that in the default branch.

     
  • Alex Plotnikov

    Alex Plotnikov - 2019-01-17

    works fine

     
  • Trevor Williams

    Trevor Williams - 2019-01-18
    • status: pending --> closed
     
  • Trevor Williams

    Trevor Williams - 2019-01-18

    Available in the 3.6 release.

     

Log in to post a comment.