MapTool 1.1 Development Release Build 15

New build announcements plus site news and changes.

Moderators: dorpond, trevor, Azhrei, Craig

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

MapTool 1.1 Development Release Build 15

Post by trevor »

Lot's of bug fixes and some new functionality.

Build 15 (8/19/06)
* Token Tree Panel: selecting a row selects the associated layer
* Fix exception in token tree panel when tree row has 0 height
* Token Tree Panel: double clicking a stamp/background selects the token
* Tool instruction updates (Phergus)
* Freesize stamp/background tokens have a resize widget when selected (Use CTRL to snap to grid size)
* GM lock all movement toggle
* Allow all players to edit all tokens in non strict token management mode
* Put a scroll panel around the token tree panel
* Update token tree panel when switching maps

The freesize functionality is available to stamps and backgrounds, you have to have them selected and make them free size, then a little black bo x will show up in the bottom right corner. This functionality will be polished over the next couple releases.
Dreaming of a 1.3 release

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Post by Azhrei »

That sounds like a great list of accomplishments -- thanks!

Is there any plan to use a JSplitPane for the token panel and connection panel? As it is, I can resize the explorer panel by dragging the separator between it and the token panel, but I can't resize the bottom to panels the same way. :(

I'm going out right now to try the updates... ;)

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

Well, that's a tricky thing. The left panel is a custom component because Swing doesn't have a native multi-split pane. In order to get the left panel to work the way it does, I build a custom component. That component needs to be taught how to change size when dragging an edge. It's doable, but time consuming.

Really, I'd rather find a better way to organize that information in the view and remove the component all together.
Dreaming of a 1.3 release

dorpond
RPTools Team
Posts: 5534
Joined: Thu Jun 01, 2006 2:05 pm
Location: Buffalo, NY

Post by dorpond »

Thanks Trevor! I can't wait to test it out! :D

YOU ROCK!!!

Emryys
Dragon
Posts: 780
Joined: Tue Jan 31, 2006 9:01 pm
Location: Beneath the Aurora Borealis
Contact:

Post by Emryys »

Yes awesome!...but...

I'm getting some locking and not in a good way... :(

When I connected a player instance and toggled the "lock tokens", the GM maps froze til I clicked around and then when I use "remove all" for token owner, the GM starts to freeze and the player can still move tokens... Hmmm
Game On!
Image

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

Emryys wrote:Yes awesome!...but...

I'm getting some locking and not in a good way... :(

When I connected a player instance and toggled the "lock tokens", the GM maps froze til I clicked around and then when I use "remove all" for token owner, the GM starts to freeze and the player can still move tokens... Hmmm
Well, that's no good :( Does it do it consistently ? If so, what steps are you taking, specifically ? I'll see if I can reproduce it locally.
Dreaming of a 1.3 release

Emryys
Dragon
Posts: 780
Joined: Tue Jan 31, 2006 9:01 pm
Location: Beneath the Aurora Borealis
Contact:

Post by Emryys »

Yes constant :(

I load mud quick map
I add 4 tokens
start server
load another instance
connect via the net
The GM instance now starts to act funny, slow... I can move the tokens on the player, but the GM tokens start to lock and the labels "split" into 3??

I even have a token "missing" and it's shadow is there??

All the bad stuff happens n the GM side...
Game On!
Image

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: MapTool 1.1 Development Release Build 15

Post by Azhrei »

trevor wrote:Lot's of bug fixes and some new functionality.
And maybe a new bug added? ;)

I can't seem to get copy-n-paste to work with build 15. Anyone else having this problem?

I'm drawing a rectangle around a group of tokens to select them, then pressing Ctrl-C. I then switch to another map and press Ctrl-V to paste. But they don't. :(

It doesn't work for single tokens either. :?:

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Re: MapTool 1.1 Development Release Build 15

Post by trevor »

Azhrei wrote: And maybe a new bug added? ;)
Apparently :P
Azhrei wrote: I can't seem to get copy-n-paste to work with build 15. Anyone else having this problem?
Sounds like I need to make a patch release. I'll take a look.
Dreaming of a 1.3 release

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Re: MapTool 1.1 Development Release Build 15

Post by trevor »

Azhrei wrote: I can't seem to get copy-n-paste to work with build 15. Anyone else having this problem?
I can still cut and paste, but I did notice that when I switch maps and try to paste, it doesn't. Looking into it I found that switching maps does not put the focus back onto the map like it's supposed to. Instead the CTRL-V was going to the map selection panel, not the map itself.

I've fixed that now, thanks for finding that bug !

In the mean time, try clicking in the map window before hitting CTRL-V and see if that works for you.
Dreaming of a 1.3 release

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Post by Azhrei »

Cool. I knew it used to work! ;)

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Post by Azhrei »

trevor wrote:The left panel is a custom component because Swing doesn't have a native multi-split pane.
FYI, I found this web page that describes the problem with nested split panes (the borders bump up against each other and "fatten" in the user interface), but it really just points to this bug tracking entry which contains sample code for a workaround to the problem.

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

Hmm, interesting. The test code in the bug is very useful. Let me play with it, we might get those panels resizable sooner than I thought :)
Dreaming of a 1.3 release

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

Ahh, right now I remember why I did the custom components, the nested split pane user semantics are kinda odd. Also, it still needs custom work to handle the expand/collapse and keep the titles up.

I'll mess with it some more.

Here's a more trivial test if you are interested (it shows the weird split pane sematics: move all split panes to the left, try to expand the furthest left component, doesn't move, now move them all to the right, and expand the far right component, it works as you would expect).

Code: Select all

import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JSplitPane;

public class MultiSplitPaneTest extends JFrame {

	public MultiSplitPaneTest() {
		setDefaultCloseOperation(EXIT_ON_CLOSE);

		JComponent outter = new JButton("Hello");
		for (int i = 0; i < 4; i++) {
			outter = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, true, outter, new JButton("Hello " + i));
			outter.setBorder(null);
		}

		add(outter);
		
		setBounds(100, 100, 100, 300);
		pack();
		setVisible(true);
	}
	
	public static void main(String[] args) {
		
		new MultiSplitPaneTest();
	}
}
Dreaming of a 1.3 release

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

Emryys wrote: The GM instance now starts to act funny, slow... I can move the tokens on the player, but the GM tokens start to lock and the labels "split" into 3??

I even have a token "missing" and it's shadow is there??

All the bad stuff happens n the GM side...
Looks like it was breaking on starting the server. Getting some exceptions. Man, was making an assumption that seems to be invalid. I've put in some checks and this should be fine now. Expect a build soon.
Dreaming of a 1.3 release

Post Reply

Return to “Announcements”