question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mouse cursor issue with PyQt 5.10

See original GitHub issue

Description

What steps will reproduce the problem?

  1. Push Ctrl key on keyboard
  2. Put mouse cursor over any variable: mouse cursor changes from “text select” to “link select”
  3. Release Ctrl key on keyboard

What is the expected output? What do you see instead?

The mouse cursor should change back to “text select” after releasing the Ctrl key but doesn’t ! Same problem when saving file : “text select” cursor goes to “busy” pointer but doesn’t go back to “text select” when the saving action is finished.

Please provide any additional information below

I have to get the mouse cursor out of the editor to get back the normal “text select” cursor.

Version and main components

  • Spyder Version: 3.2.6
  • Python Version: 3.6.4
  • Qt Versions: 5.10.0, PyQt5 5.10 on Windows

Dependencies

pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
numpy >=1.7      :  1.14.0 (OK)
sphinx >=0.6.6   :  1.6.6 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.27.3 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.2.1 (OK)
pylint >=0.25    :  1.8.2 (OK)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Feb 14, 2018

This has to be an issue with PyQt 5.10 for sure, so we’re going to pin pyqt5 to 5.9.2 in our wheels. There has been several reports that things are failing strangely with 5.10.

For now, please downgrade to 5.9.2 manually.

0reactions
fccoelhocommented, Mar 15, 2020

I am still having mouse issues on PyQT 5.12 (Ubuntu eoan)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I change the cursor shape with PyQt? - Stack Overflow
And I seem to be calling the cursor shapes incorrectly, since PyQt4.Qt.WaitCursor returns an error that the module does not contain it. What...
Read more >
QCursor Class | Qt GUI 6.4.1
This class is mainly used to create mouse cursors that are associated with particular widgets and to get and set the position of...
Read more >
Change Log | qutebrowser
With some (rare) setups, opening the report dialog or using a PAC proxy with QtWebKit could result in qutebrowser hanging due to a...
Read more >
How To Disable Green Highlight In Spyder - ADocLib
And regarding the bracket matching there is also a problem in the syntax That ... mouse cursor changes from "text Mouse cursor issue...
Read more >
Work around for “Couldn't load PyQt” error with QGIS 3.0.3 on ...
I was able to reproduce this error by installing PyQt5 using the Python ... both Ubuntu repositories and PyPI are providing PyQt 5.10.1....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found