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

Incessant popups grab focus and insert nonsense #23744

Open
Andrew-Swan opened this issue Feb 15, 2025 · 2 comments
Open

Incessant popups grab focus and insert nonsense #23744

Andrew-Swan opened this issue Feb 15, 2025 · 2 comments

Comments

@Andrew-Swan
Copy link

It is very difficult to make basic edits in Spyder without provoking a popup full of unwanted junk that grabs focus and responds to the next keypress

Image

To reproduce (in Spyder 6.0.3, default options):
(1) place the cursor in a line containing some code to be edited, in this case a line including the string ") a"
(2) delete the space, type ":" and then press enter

During that sequence, a popup full of things that begin with the letter A appears, grabs focus, and pressing enter inserts whatever inane suggestion was first in the list (or, possibly, under the mouse cursor)

Spyder has long had a problem with incessant, intrusive popups being enabled by default (google searches reveal many frustrated users) and it is not all clear how to turn them off. E.g. the things in my screenshot are labelled "snippet", but unchecking the option "Enable code snippet" does not stop them appearing.

You really need to re-think this feature. Have screenshots of what the options turn on and off, because the descriptions are essentially meaningless (e.g. "linting" is impenetrable jargon). Have fewer options that need to be turned off in the first place, for a user who simply wishes what appears on the screen to match the keys they press.

@athompson673
Copy link
Contributor

athompson673 commented Feb 18, 2025

I think what you are showing in the screenshot is actually the "Show completions on the fly" feature, which can be turned off here:

Image

The settings below the toggle also control how quickly or frequently it will show up.

FWIW, I think having screenshots or little GIFs available in the settings page to help users identify the toggles not a bad idea.

@Andrew-Swan
Copy link
Author

I have tested, and yes that is the offending option.

Suggestion: increase the default for after-characters-entered to a larger value than 1, otherwise the autocomplete will grab focus on almost any keypress, and the chance of the suggestions being useful is almost zero, making it a bug not a feature.

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

No branches or pull requests

2 participants