Pages: 1
Posted on 07-15-11, 10:09 pm
Banned for being a complete idiot.

Karma: 529
Posts: 17/987
Since: 07-09-11
Hey guys,

When I click "Cancel" or the close button on the Open menu to choose the .nds file, I get the internal names of tabs and buttons showing up in replacement of the intended name of the tabs and buttons on the Level chooser, like in Visual Studio when you layout the buttons and tabs.
Should there be a error message stating "You need to specify a .nds file" when you click "Cancel"? Also, shouldn't NSMBe close when you click the close button?
Posted on 07-15-11, 10:13 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10000
Posts: 329/4457
Since: 06-08-11
Yeah, it should close. I have tried to fix this before.
But, for some reason, if I make the application exit when clicking cancel, I get an error. Probably because it's not possible to change a window that is being opened.

Anyways, this is another thing that I'll have to fix before final 5.2, so I'll tag this as a bug too
Maybe displaying the file open box BEFORE any other window opens will fix it.
Posted on 07-15-11, 10:19 pm
Banned for being a complete idiot.

Karma: 529
Posts: 18/987
Since: 07-09-11
Well, when you run NSMBe, the only thing that happens is the open menu comes up. No other window shows up, so it must be something else.
Posted on 07-15-11, 10:22 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10000
Posts: 330/4457
Since: 06-08-11
No, it was something related to the LevelChooser window.
Since the Open ROM dialog is displayed from within LevelChooser.load(), at that moment the LevelChooser window is being loaded/constructed, so the application can't exit.

That's the thing I hate about .NET: it is full of weird quirks like that.
Posted on 07-15-11, 10:31 pm
Banned for being a complete idiot.

Karma: 529
Posts: 20/987
Since: 07-09-11
Oooh...
Makes sense now.

Maybe what you could do is have the level chooser window show up first, then from there you have a button to open the open menu.

Well, once you really get sick of .Net, port your program to Python!
Posted on 07-15-11, 10:36 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10000
Posts: 331/4457
Since: 06-08-11
Yeah, that'd be another solution.

And yes, i'm a bit sick of .NET, but unfortunately, it's too late to port this to another language. It'd be too much work.
Posted on 07-15-11, 10:50 pm
Banned for being a complete idiot.

Karma: 529
Posts: 22/987
Since: 07-09-11
Posted by Dirbaio
Yeah, that'd be another solution.


What other solutions do you have?

Posted by Dirbaio
It'd be too much work.


Not if you have enough contributors willing to help you.
Posted on 07-15-11, 11:06 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10000
Posts: 333/4457
Since: 06-08-11
Posted by ELMario
Posted by Dirbaio
It'd be too much work.


Not if you have enough contributors willing to help you.


Well, no thanks, because I think porting NSMBe would be a huge mess, and it would make NSMBe have a big step back in features until everyhing is ported and bug-fixed. As it is right now, it's not that bad.

Anyways, if you want to help developing and fixing bugs in NSMBe, you can Just tell me!
Posted on 08-02-11, 10:13 pm
Banned for being a complete idiot.

Karma: 529
Posts: 80/987
Since: 07-09-11
Any ideas on fixing this bug yet?
Posted on 08-02-11, 10:30 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10000
Posts: 501/4457
Since: 06-08-11
Fixed on r179
Pages: 1