QUAL code not working as intended

Why does this code not respect the open-in-left side argument when the right side in a dual view has the focus? its keeps opening in the right side.

settings / advanced / behavior / go_usequalkeys_eval


if (alt) return "NEW";
if (ctrl && shift) return "NEWTAB OPENINRIGHT";
if (shift) return "OPENINRIGHT";
if (ctrl) return "NEWTAB OPENINLEFT";
return "OPENINLEFT";

While this similar code works just fine no matter which side has the focus.

KEYARGS "ctrlshift:NEWTAB OPENINRIGHT" "shift:OPENINRIGHT" "alt:NEW" "ctrl:NEWTAB OPENINLEFT" "none:OPENINLEFT"

.. The context is Foldercontent & dynamic buttons.

Go PATH=/downloads FOLDERCONTENT ... => (KEYARGS arguments or QUAL switch argument)

What are you doing to open the folder?

Which keys are held down when you do it?

none or control key

What are you doing to open the folder?

I use this button in a menu.

Go PATH=/downloads FOLDERCONTENT="maxwidth=83,showempty,maxdirs=20" USEQUALKEYS

Small correction: qualifier keys are already working as intended.
When Ctrl or Shift is pressed, the correct behavior is triggered regardless of which pane has focus in dual display.

The issue is specifically with the default/no-qualifier behavior. OPENINLEFT appears to have no effect — instead of always targeting the left/top pane, it simply opens in whichever pane currently has focus (left/top or right/bottom).

Other arguments seem to work correctly; only OPENINLEFT is being ignored or overridden by the active source pane.

Thanks, and understood.

After looking in detail, the go_usequalkeys_eval Evaluator script only gets called when a qualifier is down.

I don't think there is currently a way to add default arguments to the Go FOLDERCONTENT command and then remove some of them via go_usequalkeys_eval when a qualifier is held down.

The KEYARGS method you already found is probably the best option at the moment.

We'll have a think about if we can make this more flexible, without breaking people's existing configurations.

Arh okay, I’ll stick with KEYARGS then.

Any chance of FOLDERCONTENT being able to return folders sorted by modified date or created date? I just noticed it seems like only files can currently be sorted, unless I’m missing something.

It’s kind of needed with all these new copy-to and copy-from features, since it’s usually the most recently edited folder you need to manage. This would also be really handy in huge folders like the Downloads folder. :folded_hands: