Spyder: Don't show "No documentation available" tooltip on hover

Created on 19 Jan 2020  路  10Comments  路  Source: spyder-ide/spyder

Problem Description

hold the mouse cursor over almost anything in the editor. a "No ducumentation available" tooltip will appear. which is extremely distracting and sometomes the tooltip will appear over other windows.

example code:
a = "Asd"
hold cursor over the "Asd". the tooltip will appear.
This is not a helpfull tooltip, It appears all the time just by having the mouse cursor over almost anything in the editor

Versions

(this is a spyder 4 problem)
4.0.1
(tested on two machines, one spyder 4.0.0 another 4.0.1)

Python 3.7.5 64-bit | Qt 5.9.6 | PyQt5 5.9.2 | Windows 10

Dependencies

cloudpickle >=0.5.0          :  1.2.2 (OK)
pygments >=2.0               :  2.4.2 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
sphinx >=0.6.6               :  2.2.1 (OK)
pylint >=0.25                :  2.4.3 (OK)
psutil >=0.3                 :  5.6.3 (OK)
qtawesome >=0.5.7            :  0.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
zmq >=17                     :  18.1.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
numpydoc >=0.6.0             :  0.9.1 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
qdarkstyle >=2.7             :  2.7 (OK)
atomicwrites >=1.2.0         :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
watchdog                     :  None (OK)
keyring                      :  None (OK)
pexpect >=4.4.0              :  4.7.0 (OK)
pympler                      :  None (OK)
sympy >=0.7.3                :  None (NOK)
cython >=0.21                :  0.29.14 (OK)
IPython >=4.0                :  7.9.0 (OK)
matplotlib >=2.0.0           :  3.1.1 (OK)
pandas >=0.13.1              :  0.25.2 (OK)
numpy >=1.7                  :  1.17.3 (OK)
scipy >=0.17.0               :  1.3.1 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.2 (OK)
rtree >=0.8.3                :  0.8.3 (OK)

Editor Enhancement v4.1.0

All 10 comments

I agree with your suggestion. @goanpeca, please take a look at this one.

I cannot reproduce this @ccordoba12

@talkaminker, please post a screenshot of what you're seeing.

@dalthviz, can you reproduce this one on Windows?

@ccordoba12 I can't reproduce this. Maybe something else, besides the a = "Asd", is needed?:

hover

But there's the case of paren_example in your screenshot above, whose hover shouldn't be displayed because it's pointless.

@goanpeca, please take care of those cases for now.

Fixed!

image

Here's an example of the popup appearing over other windows. I provoked it by hovering the mouse over the code and switching windows before the popup appeared. This was actually persistent too, I could move that explorer window around without the help note disappearing. Only went away after switching back to Spyder.

popup

Spyder 4.0.1, Python 3.7.6 64-bit | Qt 5.9.6 | PyQt5 5.9.2 | Windows 10

@talkaminker I think this issue will be fixed with PR #11377 (which hasn't being merged yet).

@matheger I think maybe the behavior you're describing is related with #11244 which was fixed with PR #11271

Take into account that the fixes will be available with Spyder 4.1.0 (the current installable version is 4.0.1 ).

Hope this clarifies the state of the issues and fixes :)

Will this be fixed in the near future? This is still happening in v4.1.2

Was this page helpful?
0 / 5 - 0 ratings