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

Editor tabs moving position at edit/save #22652

Closed
4 of 10 tasks
LINAK-thlu opened this issue Oct 9, 2024 · 3 comments
Closed
4 of 10 tasks

Editor tabs moving position at edit/save #22652

LINAK-thlu opened this issue Oct 9, 2024 · 3 comments

Comments

@LINAK-thlu
Copy link

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

I have noticed a detail in the user interface that annoys me when i have many files open in the editor.

Editor tabs move to the right when editing or saving a file. This happens when you have many tabs open and tab scrolling is active.

When * is added or removed from tab name on edit or save, tab scroll position moves to have the active tab in the rightmost position.

What steps reproduce the problem?

Screen capture:
https://github.com/user-attachments/assets/ac2d807b-3346-404d-8335-44dac8627de5

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

Keep tab scroll position where it is. This is specially annoying when working on and switching between the two last opened files, which I often find myself doing.

Versions

  • Spyder version: 6.0.1 (standalone)
  • Python version: 3.11.9 64-bit
  • Qt version: 5.15.8
  • PyQt5 version: 5.15.9
  • Operating System: Windows-10-10.0.22631-SP0
@ccordoba12
Copy link
Member

Hey @LINAK-thlu, thanks for reporting. This is a limitation of Qt (the graphical toolkit on top of which Spyder is built) and it's not easy to solve.

We'll try to fix it in a few months, but you can find some workarounds on issue #5459 in the meantime. In addition, since this is basically a duplicate of that issue, I'm going to close it.

@ccordoba12 ccordoba12 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2024
@LINAK-thlu
Copy link
Author

Thank you for quick feedback!

I did not manage to find #5459 when searching the issue list. Sorry for that.
Have implemented the fix to change color in stead of text as suggested. That is perfect for me.

@ccordoba12
Copy link
Member

Great! Glad to know you find that workaround useful.

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