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

Do not reopen Project explorer on startup #6292

Closed
homocomputeris opened this issue Jan 24, 2018 · 6 comments
Closed

Do not reopen Project explorer on startup #6292

homocomputeris opened this issue Jan 24, 2018 · 6 comments

Comments

@homocomputeris
Copy link

Description

What steps will reproduce the problem?

  1. Close Project explorer pane
  2. Close Spyder
  3. Open Spyder

What is the expected output?
No Project explorer

What do you see instead?
Project explorer is back, however the corresponding checkbox in Projects drop-down menu is unchecked

Please provide any additional information below
I don't know if it's a bug or a feature. Anyway, Spyder should not decide for me what to see. Exists since 3.2.4 at least.

Version and main components

  • Spyder Version: 3.2.6
  • Python Version: 3.6.4
  • Qt Versions: 5.10.0, PyQt5 5.9.2 on Linux

Dependencies

pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.21.0 (OK)
numpy >=1.7      :  1.14.0 (OK)
sphinx >=0.6.6   :  1.6.6 (OK)
rope >=0.9.4     :  0.10.6 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
psutil >=0.3     :  5.4.3 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.27.3 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.2.1 (OK)
pylint >=0.25    :  1.8.1 (OK)

@csabella
Copy link
Contributor

@homocomputeris Thanks for the report!

@CAM-Gerlach
Copy link
Member

CAM-Gerlach commented Jan 25, 2018

Thanks @csabella , I've seen this one consistently as well (on Windows) but I didn't want to gum up the works reporting it if it only bothered me...looks like that's not the case. Not sure its truly a bug but rather a side effect of consistent behavior (project explorer always opening on opening a project) that we may want to reconsider, though it has certainly bug ged me, heh.

I guess the broader question is when opening a project (which is the routine underlying this), would we then not want to open project explorer if it isn't already open in the previous project? What if no project was open previously? Just save the last known state and go by that?

Just some questions to ponder...

@jitseniesen
Copy link
Member

It bothered me as well, to be honest. Can we do the same as we do for the Outline panel? I don't know exactly when the Outline panel appears and disappears, but it does not bother me so the rules for the Outline panel are at least sensible for how I use it.

@ccordoba12 ccordoba12 added this to the v3.2.x milestone Jan 25, 2018
@CAM-Gerlach
Copy link
Member

CAM-Gerlach commented Jan 25, 2018

@jitseniesen

Can we do the same as we do for the Outline panel?

At least on Windows, I haven't observed any funny business with that in any Spyder version I've used (since 3.2.1).

@ccordoba12 ccordoba12 modified the milestones: v3.2.x, v3.2.9 Mar 3, 2018
@ccordoba12 ccordoba12 modified the milestones: v3.3, v3.3.1 May 22, 2018
@ccordoba12 ccordoba12 modified the milestones: v3.3.1, v3.3.2 Jul 15, 2018
@jitseniesen jitseniesen self-assigned this Jul 18, 2018
@jitseniesen
Copy link
Member

I think doing the same as we do for the Outline panel means that we do not automatically close the Project Explorer panel when a project is closed; instead we leave the Project Explorer panel empty. Conversely, if a project is opened, the Project Explorer is not automatically opened.

On reflection, I think @CAM-Gerlach 's idea in #6292 (comment) is better: when closing a project, remember if the Project Explorer was open. When opening a project, only open the Project Explorer if it was open the last time that a project was closed.

@jitseniesen
Copy link
Member

Sorry, I closed the issue by accident

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants