Bug#1034085: spyder: Cursor jumps somewhere else after right-clicking → selecting Format with Black or Autopep8

Julian Gilbey julian at d-and-j.net
Sun Apr 9 11:15:42 BST 2023


tags 1034085 + unreproducible
thanks

On Sat, Apr 08, 2023 at 01:00:04PM +0200, Amr Ibrahim wrote:
> Package: spyder
> Version: 5.4.2+ds-5
> Severity: normal
> 
> Hello,
> 
> Steps to reproduce the bug:
> 0. Enable a formatter: Black or Autopep8
> 1. Make sure that there is something to be formatted in the code
> 2. Right-click somewhere in the editor and select Format with Black or Autopep8
> 
> What happens:
> After formatting the file, the cursor jumps somewhere else in the editor,
> usually up, changing the editor view.
> 
> What should happen:
> The cursor stays where it is after formatting is done.

Dear Amr,

I have followed your instructions, but I cannot reproduce the
behaviour you describe.  What I *do* observe is that the editor view
changes, but even so, the cursor remains in the same place in the
file.  The bug you describe was fixed upstream a few months ago, see
https://github.com/spyder-ide/spyder/issues/19958

If you can take a screencast showing the behaviour you describe,
please do send it to this bug report and I will be able to investigate
further.

Best wishes,

   Julia
n



More information about the debian-science-maintainers mailing list