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

Outline pane is automatically shown when editor is maximized #16265

Open
10 tasks
newyorker123 opened this issue Aug 23, 2021 · 2 comments · May be fixed by #19784
Open
10 tasks

Outline pane is automatically shown when editor is maximized #16265

newyorker123 opened this issue Aug 23, 2021 · 2 comments · May be fixed by #19784

Comments

@newyorker123
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

When I click the maximize current pane on the top tool bar to maximize editor, the outline pane automatically shown on the right side. But in the view option, the outline is actually not checked. I have to first check the outline option(nothing happens), then check it again to close the outline pane.

截屏2021-08-23 下午5 03 20

What steps reproduce the problem?

  1. click the maximize current pane to maximize editor
  2. the outline pane is shown on the right side

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

Outline pane not shown.
Or at least the outline option should be checked when shown.

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

  • Spyder version: 5.1.1 (also happen in 5.0.5)
  • Python version: 3.8.8
  • Qt version:
  • PyQt version:
  • Operating System name/version: Mac BigSur

Dependencies

PASTE DEPENDENCIES HERE
@steff456
Copy link
Member

Hi @newyorker123,

When you hit maximize the editor, it will open by default the outline on the right side. What is weird is that the pane is not checked on the menu, we will look into to add the fix in our future releases.

Thanks for reporting!

@ccordoba12
Copy link
Member

ccordoba12 commented Oct 11, 2022

To fix this, I propose to hide the Unlock position and Undock actions of the Outline plugin and show only Close. But that action would need an extra implementation to know that we don't need to show the Outline when the Editor is maximized again.

In addition, if users would like to recover this functionality, they'd need to go to View > Panes > Outline to show it again. But for that, we need to update the Outline state in that menu when the editor is maximized (see #19448 (review) for more context).

@ccordoba12 ccordoba12 added this to the v6.0beta2 milestone May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment