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

Multiple focused buttons #893

Open
ssvine opened this issue Dec 25, 2024 · 0 comments
Open

Multiple focused buttons #893

ssvine opened this issue Dec 25, 2024 · 0 comments
Labels

Comments

@ssvine
Copy link

ssvine commented Dec 25, 2024

Far Manager version

3.0.6405.4063

OS version

10.0.19045.5247

Other software

No response

Steps to reproduce

Far calls Dialog::InitDialogObjects function while processing the DM_SETTEXT message. This may result in two elements having DIF_FOCUS flag set under certain conditions. This also tricks plugins into not receiving the appropriate focus event messages.

There seems to be no point in changing focus when processing the DM_SETTEXT message. A simple approach of disabling all focus calculations when processing the DM_SETTEXT message works well.

Expected behavior

No response

Actual behavior

Example:

focus

@ssvine ssvine added the bug label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant