FarManager icon indicating copy to clipboard operation
FarManager copied to clipboard

Wrong Panels file path in the Screens menu for panel plugins

Open HamRusTal opened this issue 1 year ago • 0 comments

Far Manager version

3.0.4477.0 x86, 3.0.6197.0 x86

OS version

10.0.19045.3570

Other software

No response

Steps to reproduce

  1. Start FAR with e.g. only Arclite: far /p"%FARHOME%\Plugins\ArcLite"
  2. Enter any archive, e.g. Colorer's common.zip: arc:"%FARHOME%\Plugins\FarColorer\base\common.zip" (note: var substitution works only in relatively recent Arclite builds)
  3. Position to any file within the archive, e.g. \hrc\proto.hrc
  4. Open the Screens menu: F12

Expected behavior

The Panels menu item specifies the plugin panel's path to the current file, either with the host file: arclite:zip:C:\Programs\Far Manager\Plugins\FarColorer\base\common.zip:\hrc\proto.hrc or without it: arclite:\hrc\proto.hrc

Actual behavior

The Panels menu item specifies the path combined of the real FS directory active just before opening the plugin and the file name within the plugin, e.g. D:\Clients\proto.hrc.

The same happens in panel plugins without host file, e.g. NetBox.

This is very confusing.

HamRusTal avatar Oct 13 '23 19:10 HamRusTal