aviasd wrote: 2020-09-29, 09:28 UTC
So , *It is* a Bug ? How Do I move the thread to the bugs index ?
I would say there is a bug here.
Even if uppercase %N behavior turns out to be intended behavior (which i personally don't believe, but you never know), there is still the issue of diverging behavior between %n and %N and other single-file-name parameters (which does not really seem intentional to me) to be addressed, plus a related issue when using %N and %M in conjunction with %X (see below).
So far, i can confirm the diverging behavior for:
%n / %N
%o / %O
The following parameters are not affected by the issue and seem to behave as expected:
%m / %M
There is an additional, related issue when using uppercase %N and %M in conjunction with %X in branch mode. When changing the meaning of %M and %N using the parameter %X, their behavior itself also changes depending on whether the panel %N (left panel) and %M (right panel) are referring to is the source/active or target/inactive panel. If the source panel matches the panel the parameter refers to, the parameter emits the file name
with relative path. On the other hand, if the source panel is not that of the parameter, the parameter will only emit the file name without relative path.
Lowercase %n and %m in conjunction with %X do not suffer from this alternating behavior and always just emit the file name without the relative path, regardless of which panel is active.
You might have already noticed a pattern of behavior with the uppercase parameters here regardless of using %X or not not:
In branched mode, they emit a file name with relative path when the panel the parameter is referring to is the source panel, but if the "parameter panel" is not the source panel only the file name is emitted. (%M alone will never emit relative paths because it always refers to the target panel. Respectively, %N alone will always refer to the source panel and thus always emit relative paths.) This makes little sense to me. Together with the lowercase parameters behaving as intuitively expected, this further reinforces my belief that the behavior of the uppercase parameters is the buggy behavior.
Thus, i'd like to ask the moderators to please move the topic into the bugs section.