-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Don't hide calltip widget with a timer #3296
Conversation
Looks good to me. I tested it and it seems to work. Just a couple of minor points (to prove that I did look at it), none of which are critical IMO:
|
@jitseniesen, thanks for the review :-) My replies to your points:
|
Hello |
@AIDAROIGCOMPTON, this is precisely the fix for the timer. It will be available in Spyder 3.1, to be released in December :-) |
@ccordoba12 is this ready to be merged but on hold to be merged when 3.2 is about to be released, or? Needs a rebase / merge also |
This is for 3.1. I'll come back to it after I release 3.0.2 :-) |
@jitseniesen, I think this one is ready. Would you mind to give one last test? Thanks :-) |
This works now. However, if the function is within parentheses, then the tooltip stays visible until you close the outer paranthesis. Example: Ideally, when Spyder displays the tooltip, it saves the position of the opening parenthesis (which it may well already do), and in the test for whether to hide the calltip, it tests whether the closing parenthesis matches up with the opening parenthesis which caused the tooltip to be displayed. But maybe this is a separate issue (it looks like it never worked like I described; it just is more apparent now that the calltip doesn't disappear after 3 secs) and should be handled by another PR. No further comments. |
… new text This disconnects previous signals connected to cursorPositionChanged
@jitseniesen, thanks for the review. I'm aware of the problem you mention and I'll open an issue about it so we can fix it in 3.1.1 ;-) |
Fixes #2644
New behavior in this PR:
)
is written by the user, or he/she presses these keys: up, down, or enter/return.