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

Comments

Projects
None yet
4 participants
@doutriaux1
Member

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

This comment has been minimized.

Contributor

danlipsa commented May 11, 2017

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

@doutriaux1

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

This comment has been minimized.

Member

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

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