Last call for 3.1.0-beta1

Thus spake “Tim McCaron”:

Ok, if it happens again, let me know.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

On May 7, 2008, at 1:47 PM, Joel Uckelman wrote:

No, but it seems to happen with a lot of Java programs that use
logging. I certainly see it on the Mac using Stanford’s Protege
ontology editor, which is also a very mature program.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

On May 7, 2008, at 4:22 PM, Thomas Russ wrote:

OK, a bit more follow up. According to http://tinyurl.com/5hls9x,
this is caused by some competition between applications to name a
particular port used for logging. It is harmless. It seems Apple
considers it to be a harmless issue. It has apparently been around
for a while, just not reported in earlier Mac OS versions.

<Release Notes


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Excellent! Hey don’t release this beta yet, I wouldn’t mind going through and doing some QA. I’ve been out of the loop for a while which may help pick up anything unusual.

Post generated using Mail2Forum (mail2forum.com)

OK, a few initial observations:

  • Open VASSAL, select Tools|Server Status. Server Status window appears. Close VASSAL. Open VASSAL again. Even though the Server Status window is not displayed, Tools|Server Status is checked. (Is the check box redundant here anyway?)
  • Server Status not appearing by default.
  • VASSAL is starting at the top left of the screen, not centered like in previous builds.
  • Extension folders are being created by default, they should only be created if needed.

Post generated using Mail2Forum (mail2forum.com)

That’s next on my ToDo list.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Ben Smith”:

Ok, just let us know.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Ben Smith”:

Known. (Brent: did you see my message about this? I think it’s a 5-minute
fix, but I don’t see what I’ve done wrong.)

Related to the above.

I don’t know why this changed. We’re not doing anything to set the
location of the MM window, that I can see. (Maybe that’s why it
changed, because we were before?)

Brent?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

There’s no reason why we shouldn’t create the folde if file.exists() == false.

Ok, need a bit more defensive programming in this area. I’ll get a round tuit soonish.

B.


Brent Easton
Analyst/Programmer
University of Western Sydney
Email: b.easton@uws.edu.au


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Rodney wrote this bit, I’ve never looked at that code, but I will have a poke around.

I’m looking into this one now.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

I’m actually talking about code I wrote here. It’s in ModuleManagerWindow.
The BooleanConfigurer seems not to work.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

I gave fixing this a shot yesterday. It’s in uckelman-working@3576.
You should have a look—use it or chuck it, as you see fit.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Attention Mac users: I’m still waiting to hear back whether this build:

nomic.net/~uckelman/tmp/vass … macosx.dmg

resolves this problem:

vassalengine.org/forums/viewtopi … =4657#4657

If not, then I’d like to get at least one more iteration in today to
maximize the probability that we get this finished by Saturday.

uckelman wrote:

Sorry Joel, I can’t now reproduce that problem with either svn3573 or
the original beta1 that I reported it with, despite about a dozen
attempts with varying combinations of open / modified Player windows
this morning.

It does still not bring the Player to the front with ‘save or quit’
dialog, but the icon bounces on the Dock as expected to tell you the
application needs attention, so that’s far from critical, IMO.

Apologies if I’ve wasted resource on a wild goose chase, I’ll keep an
eye out for it happening again.

Cheers,
Tim.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake Tim Franklin:

Well, that could be good. It means that what I did might have fixed
the problem, or that it might have been some weird transient thing on
your machine.

That’s irritating. I thought calling toFront() on the PlayerWindow
would do that, but according to the docs for Window.toFront(), it
could end up being a no-op.

I tried a couple of things to see if they’d work on my system:

  1. Calling setAlwaysOnTop(true) and then immediately calling
    setAlwaysOnTop(false) doesn’t work.

  2. Calling requestFocus() after toFront() brings the close dialog
    to the front, which is really the key thing here, so I’m uploading
    a build with that change for you to try:

nomic.net/~uckelman/tmp/vass … macosx.dmg

No problem—anytime you get an exception, it happens for some reason,
and I always want us to track down that reason, insofar as we can.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Joel Uckelman wrote:

Still doesn’t bring the Player to the front.

I wonder if it’s related to a Mac UI behaviour - when you select a menu
option via the corresponding accelerator key, the title on the menu bar
is briefly highlighted (e.g. Alt-C to copy will ‘flash’ just the ‘Edit’
title). If I Alt-Q to quit the MM, the ‘VASSAL’ menu title highlights -
and stays highlighted until all the Players have quit and the MM is
free to quit also.

I’m wondering if being in the middle of drawing things on the menu bar
somehow blocks toFront()? I don’t know how much help that is, but it’s
the only visual clue I have.

Cheers,
Tim.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake Tim Franklin:

Does it at least bring the close dialog to the front?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake Jeffrey Brent McBeth:

It’s a modal JDialog, created from one of the JOptionPane static methods.

I think that the close dialog does appear on top of its parent, the problem
is that its parent never gets raised above the Module Manger. Maybe it’s
not possible to do this in Java?

We could have the Module Manager be the parent of the close dialog, but
then if you had multiple Players or Editors open, you’d have no idea
which one it belonged to.

We could have the Module Manager simply refuse to close if there are
Players or Editors open which have unsaved content, but that seems
gimpy to me.

We could have the Module Manager be independently closable, but then
it becomes possible to do all sorts of bad things like edit a module
which is already being played.

I don’t like any of these, and I don’t know what to do now.

I need the errorLog for that.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

On May 8, 2008, at 11:52 AM, Joel Uckelman wrote:

Is this affected by the fact that you launched a separate JVM for the
other application? So the window behavior is controlled by a separate
virtual machine?


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake Thomas Russ:

Well, it might be. I don’t know. Why would having more than one JVM
running matter for whether any particular JVM can bring a window to
the front?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)