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

Snapping Spyder 6 while Show breakpoints is active is broken #22070

Closed
nassimbnm opened this issue May 9, 2024 · 4 comments · Fixed by #22163
Closed

Snapping Spyder 6 while Show breakpoints is active is broken #22070

nassimbnm opened this issue May 9, 2024 · 4 comments · Fixed by #22163

Comments

@nassimbnm
Copy link

Problem Description

I like to work with Spyder in the left half or right half of my screen.
In the Debigging Pane, when the breakpoint list is active, the window becomes a little bit larger, and does not snap anymore until the breakpoint list is deactivated.

What steps reproduce the problem?

  1. Snap Spyder to the left or right
  2. Open Debugger Pane
  3. Click red icon "Show breakpoints"
  4. Observe the window is enlarged a little bit
  5. Try to snap again or move then snap does not work
  6. Disable Show breakpopints
  7. Snap works again

Versions

  • Spyder version: Spyder 6.0.0a5
  • Python version: conda env, python 3.11.6
  • Qt version: 5.15.8
  • PyQt version: 5.15.9
  • Operating System name/version: Fedora 40

Dependencies

Mandatory:

atomicwrites >=1.2.0 : 1.4.1 (OK)
chardet >=2.0.0 : 5.2.0 (OK)
cloudpickle >=0.5.0 : 3.0.0 (OK)
cookiecutter >=1.6.0 : 2.6.0 (OK)
diff_match_patch >=20181111 : 20230430 (OK)
intervaltree >=3.0.2 : 3.1.0 (OK)
IPython >=8.13.0,<9.0.0,!=8.17.1 : 8.24.0 (OK)
jedi >=0.17.2,<0.20.0 : 0.19.1 (OK)
jellyfish >=0.7 : 1.0.3 (OK)
jsonschema >=3.2.0 : 4.22.0 (OK)
keyring >=17.0.0 : 25.2.0 (OK)
nbconvert >=4.0 : 7.16.4 (OK)
numpydoc >=0.6.0 : 1.7.0 (OK)
parso >=0.7.0,<0.9.0 : 0.8.4 (OK)
pexpect >=4.4.0 : 4.9.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=5.3 : 5.9.8 (OK)
pygments >=2.0 : 2.18.0 (OK)
pylint >=3.1,<4 : 3.1.0 (OK)
pylint_venv >=3.0.2 : 3.0.3 (OK)
pyls_spyder >=0.4.0 : 0.4.0 (OK)
pylsp >=1.11.0,<1.12.0 : 1.11.0 (OK)
pylsp_black >=2.0.0,<3.0.0 : 2.0.0 (OK)
pyuca >=1.2 : 1.2 (OK)
qdarkstyle >=3.2.0,<3.3.0 : 3.2.3 (OK)
qstylizer >=0.2.2 : 0.2.3 (OK)
qtawesome >=1.3.1,<1.4.0 : 1.3.1 (OK)
qtconsole >=5.5.1,<5.6.0 : 5.5.2 (OK)
qtpy >=2.4.0 : 2.4.1 (OK)
rtree >=0.9.7 : 1.2.0 (OK)
setuptools >=49.6.0 : 69.5.1 (OK)
sphinx >=0.6.6 : 7.3.7 (OK)
spyder_kernels >=3.0.0b5,<3.0.0b6 : 3.0.0b5 (OK)
superqt >=0.6.1,<1.0.0 : 0.6.4 (OK)
textdistance >=4.2.0 : 4.6.2 (OK)
three_merge >=0.1.1 : 0.1.1 (OK)
watchdog >=0.10.3 : 4.0.0 (OK)
xdg >=0.26 : 0.28 (OK)
zmq >=24.0.0 : 26.0.3 (OK)

Optional:

cython >=0.21 : None (NOK)
matplotlib >=3.0.0 : None (NOK)
numpy >=1.7 : None (NOK)
pandas >=1.1.1 : None (NOK)
scipy >=0.17.0 : None (NOK)
sympy >=0.7.3 : None (NOK)

@ccordoba12
Copy link
Member

Hey @nassimbnm, thanks for reporting. You said:

In the Debigging Pane, when the breakpoint list is active, the window becomes a little bit larger, and does not snap anymore until the breakpoint list is deactivated.

What do you mean by snap? Could you upload a short video to better understand what you mean by that? Thanks!

@nassimbnm
Copy link
Author

nassimbnm commented May 10, 2024

hank you for your answer, what I mean by snap is when you send your window to occupy left or right side of your screen and it resizes automatically, either with the mouse or with a keyboard shortcut.
See the video attached.
2024-05-10_17-26-14 mkv

@ccordoba12 ccordoba12 changed the title Snap Spyder 6 to left or righ while Show breakpoints is active Snap Spyder 6 to left or righ while Show breakpoints is active is broken May 18, 2024
@ccordoba12
Copy link
Member

ccordoba12 commented May 18, 2024

Ok, thanks a lot for the clarification. I understand what you mean now. We'll try to solve this before Spyder 6 final is released.

@nassimbnm
Copy link
Author

@ccordoba12 Thank you very much.
I also opened another issue on the user interface #22069 if you have the kindness to take a look.

@ccordoba12 ccordoba12 changed the title Snap Spyder 6 to left or righ while Show breakpoints is active is broken Snapping Spyder 6 to while Show breakpoints is active is broken Jun 12, 2024
@ccordoba12 ccordoba12 changed the title Snapping Spyder 6 to while Show breakpoints is active is broken Snapping Spyder 6 while Show breakpoints is active is broken Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants