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

Ghost window impossible to close (Window SDL2 backend) #463

Open
labordep opened this issue Mar 6, 2024 · 2 comments
Open

Ghost window impossible to close (Window SDL2 backend) #463

labordep opened this issue Mar 6, 2024 · 2 comments

Comments

@labordep
Copy link
Contributor

labordep commented Mar 6, 2024

Related to #461, below this is a case with a ghost window.
When the test is done, this is not possible to close the window.

Add this method in a TestCase subclass:

testSpaceWindowCannotBeClosedManually

	"open the view"
	| blElement space |
	blElement := BlElement new.
	blElement background: Color cyan.
	
	blElement constraintsDo: [ :c |
		c vertical matchParent.
		c horizontal matchParent ].
	space := blElement openInSpace.
	space title: 'Test'.
	
	5 asSeconds wait.

Config:

  • Windows 10 Pro
  • Pharo-11.0.0+build.725
  • VM 10.1.0.0
  • Latest Bloc version
@tinchodias
Copy link
Collaborator

I didn't reproduce: this is only a normal opened space. Maybe your TestCase has some setUp or tearDown that I should add.

I will try to do it on my side.

@labordep
Copy link
Contributor Author

labordep commented Mar 6, 2024

Can you run it twice?

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

2 participants