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

Don't count double-clicking the title editor as double-clicking the tab #1385

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

cpmsmith
Copy link
Contributor

@cpmsmith cpmsmith commented Dec 8, 2023

That is, if a tab action is set to run when double-clicking on a tab, and you double-click the text while editing a tab's title, don't run the tab action.

I noticed this because I have double-click set to edit title, and tried to double-click while editing to select a word, however this is what happens:

Screen.Recording.2023-12-08.at.14.29.37.mov

It re-runs the action, resetting the title value and the selection. Note that this change only affects double-clicks inside the text input field, because if you click a different part of the tab, the first click will blur the input.

That is, if a tab action is set to run when double-clicking on a tab,
and you double-click the text while editing a tab's title, don't run the
tab action.
@mbnuqw
Copy link
Owner

mbnuqw commented Dec 9, 2023

Thanks

@mbnuqw mbnuqw merged commit ab2506e into mbnuqw:v5 Dec 9, 2023
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

Successfully merging this pull request may close these issues.

2 participants