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
Minimum Size for Auto-Checking 'In selection' tooltip stay on screen #14287
Comments
Tooltip for in-selection integer is done the same way as tips on the "Editing" subpage of "Preferences". One difference is that this is an edit control -- does that matter? Maybe @xomx has some idea for this...? |
It could be the reason. As N++ uses here automatic subclassing (TTF_SUBCLASS):
it relies on the inherent tooltip-ctrl subclassing of that edit-ctrl wnd to intercept its mouse messages for the correct tooltip functionality. It looks like to me that the Windows OS does not automatically send the WM_MOUSELEAVE message to the edit controls. Possible solution - subclassing of the IDC_INSELECTION_THRESHOLD_EDIT ctrl and then, when the mouse enters its ctrl-area, calling the TrackMouseEvent to get it to notify when the WM_MOUSELEAVE occurs and act (hiding the tooltip manually etc). But if I were you, I would choose a much simpler solution like (just add such btn-ctrl next to the edit-ctrl): Obviously someone here probably solved a similar problem ... |
Yes, will do. Thanks for your insights. |
@donho Please assign me to this issue and I'll fix it -- thank you. |
@xomx One more tiny detail... For the Now I see that most controls in that same area don't have the I'm not out to change/fix the "word list" area, but I was thinking that, for the "in selection" version of the |
I noticed that discrepancy (WS_TABSTOP) too.
IMO - it is ok that this |
I can live with it. :-)
That would be a very strange person indeed! :-) Thanks for your thoughts (again). |
Regardless of your final decision, have you tried |
No, but I will. But I would have seen it if my model had been
|
We should always chose the correct role model. :) |
Found it ;-)
https://code.visualstudio.com/docs/getstarted/keybindings#_rich-languages-editing |
Description of the Issue
When I hover the field for adding the minimum size for auto-checking the tooltip appear on the screen and dissapear after about 30 seconds. If I hover on it it will dissapear immediatly. Also it doesn't dissapear if I click on other tabs in the Preferences window. Also keep on the screen even if I close the Preferences.
Steps to Reproduce the Issue
Settings
>Preferences...
>Searching
Minimum Size for Auto-Checking 'In selection'
to show the tooltipBackup
,Print
etcExpected Behavior
I expect the tooltip to hide as soon as I move the cursor from the field.
Actual Behavior
The tooltip stay on screen.
Debug Information
Other Info
The text was updated successfully, but these errors were encountered: