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

Questions, glitches, bugs and crashes
Locked
warpkanal
Posts: 78
Joined: Mon Jan 30, 2017 5:24 pm

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

Post by warpkanal » Wed Feb 08, 2017 9:44 am

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.

warpkanal
Posts: 78
Joined: Mon Jan 30, 2017 5:24 pm

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

Post by warpkanal » Wed Feb 08, 2017 7:05 pm

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.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

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

Post by mike » Thu Feb 09, 2017 8:14 am

Confirmed, indeed it was expected to have some entry to "extract" info from.
Fixed.

Locked