Page 1 of 1

%r for external tools looks broken when inside empty folder [FIXED]

Posted: Wed Feb 08, 2017 9:44 am
by warpkanal
The source panel path (%r) variable has a bug when I'm in an empty folder (e.g. for opening a terminal or other external app in the current source panel location). E.g. using "Terminal here" it just opens the terminal but does not change to the dir currently open in NC.
As soon as I create a test directory (so that my current dir in NC is not empty anymore) it works again.

Re: %r for external tools looks broken when inside empty folder

Posted: Wed Feb 08, 2017 7:05 pm
by warpkanal
Just noticed the following: when displaying the ".." folder is enabled, everything works fine (then there always is one element that NC displays even in an empty folder), however when disabling the ".." folder, then %r is not correctly forwarded to external tools when invoked from an empty folder in NC.

Re: %r for external tools looks broken when inside empty folder

Posted: Thu Feb 09, 2017 8:14 am
by mike
Confirmed, indeed it was expected to have some entry to "extract" info from.
Fixed.