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

vcs window do not disappear #192

Open
doutriaux1 opened this issue May 11, 2017 · 4 comments
Open

vcs window do not disappear #192

doutriaux1 opened this issue May 11, 2017 · 4 comments
Assignees
Labels
bug
Milestone

Comments

@doutriaux1
Copy link
Contributor

@doutriaux1 doutriaux1 commented May 11, 2017

At least on mac

import vcs
x=vcs.init()
x.plot(s,"default","isoline","default")
x.png("iso")
x=vcs.init()
x.plot(s,"default","isofill","default")

Leaves unaccessible window opened, as shown in png bellow:
duplicate

@doutriaux1 doutriaux1 added the bug label May 11, 2017
@doutriaux1 doutriaux1 added this to the 2.10.2 milestone May 11, 2017
@danlipsa
Copy link
Contributor

@danlipsa danlipsa commented May 11, 2017

@doutriaux1 This should have two windows because you called init twice and never close, isn't it?

@doutriaux1
Copy link
Contributor Author

@doutriaux1 doutriaux1 commented May 11, 2017

@danlipsa no because I have the x=vcs.init() twice, so essentially the first x object is gone.
And indeed I can't access that window anymore.
Actually the follwoing is an even better example

import vcs
x=vcs.init()
x.plot([1,2,3])
del(x)

window hangs but is not reachable.

@doutriaux1
Copy link
Contributor Author

@doutriaux1 doutriaux1 commented May 11, 2017

i think we need to implement the __del__ function correctly. It's probably related to the soft-links issue that @dlonie pointed out a long time ago.

@durack1
Copy link
Member

@durack1 durack1 commented May 11, 2017

@doutriaux1 @danlipsa I believe this issue is almost a dupe of #86 the behaviours that @doutriaux1 is explaining is eerily similar

@doutriaux1 doutriaux1 modified the milestones: 3.0, 2.12 Sep 5, 2017
@doutriaux1 doutriaux1 modified the milestones: 3.0, Next Release Mar 29, 2018
@doutriaux1 doutriaux1 modified the milestones: 8.1, 8.2 Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants