Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent Macro behavior in dialogs #2017

Open
faerot opened this issue Feb 21, 2024 · 5 comments
Open

Inconsistent Macro behavior in dialogs #2017

faerot opened this issue Feb 21, 2024 · 5 comments

Comments

@faerot
Copy link
Contributor

faerot commented Feb 21, 2024

I have created the following macro to be able to enable Ctrl+Alt+F fast search in file attributes:

[KeyMacros/Dialog/CtrlDown]
DisableOutput=0x1
Sequence=CtrlDown CtrlAltF

However, it does not work every second time.
When I select owner here:
изображение

And press Ctrl+Down, the menu opens with search mode enabled:

изображение

HOWEVER, if I press Esc and then press Ctrl+Down again, it opens WITHOUT search mode enabled:

изображение

When I press Esc and then Ctrl+Down again, it opens with search mode again, then without it, then with it, enabling it every other time.
This behavior is observed on per gui item, i.e. if I press Ctrl+Down on owner first and then switch to group and press Ctrl+Down on group, both work as expected, but if afterwards I switch back to owner and press Ctrl+Down for the second time, it opens without search mode.

@akruphi
Copy link
Contributor

akruphi commented Feb 21, 2024

However, it does not work every second time.

In dialog in each drop-down list far2l remember filtering state up to dialog close.

Your macros open drop-down list and toggle it to filtering mode, then after reopen this list it toggle off filtering mode.

@faerot
Copy link
Contributor Author

faerot commented Feb 21, 2024

Is it possible to solve it then? Is there an option to disable "remember filtering state"?
BTW, it does behave differently in search history and does not remember filtering state there.
Alt+F8/Alt+F11/Alt+F12 does not remember it too.

@shmuz
Copy link
Contributor

shmuz commented Feb 21, 2024

Is it possible to solve it then? Is there an option to disable "remember filtering state"?

I've just made a commit on far2m that prevents such remembering (just in case).

@faerot
Copy link
Contributor Author

faerot commented Feb 21, 2024

Awesome! Hopefully it will be merged upstream.

@akruphi
Copy link
Contributor

akruphi commented Feb 26, 2024

Awesome! Hopefully it will be merged upstream.

In far2l master now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants