Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004488 [Croquet] Hedgehog feature always 08-11-06 21:12 08-17-06 01:24
Reporter mpm View Status public  
Assigned To mpm
Priority normal Resolution fixed  
Status resolved  
Summary 0004488: should have an easy way for users to ask for a two way portal
Description Currently, our menu items only allow for creating a one-way portal
between two spaces.

The user ought to have an option to create two way portals.
Additional Information
Attached Files

- Relationships

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

related to 0003521resolved andreas portals to other space in same island get render error 
related to 0002796new  Cannot carry portal into another space 

- Notes
(0006586 - 1658 - 1727 - 1987 - 1987 - 1987 - 1987)
howardstearns
08-13-06 19:16

We've had this for a while in WiscWorlds, and currently available at http://www.squeaksource.com/KidsFirst.html [^]

There is a menu item New->Space, which creates a new space and two TWindows. These each contain a TMagneticPortal to the other portal.

There are semantic difficulties with two-way portals in the face of cut/copy/paste, which the Wisconsin stuff supports for all objects. A TMagneticPortal is just like a TPortal, but on being pasted anywhere (even in another island!) it notifies the other end to point to the newly pasted portal. This allows you to copy, carry, or cut one end of a two-way portal-pair and put it in any other space on any island. The effect in the presence of copying is that traversing the portal always leads you to the place designated by the most recently pasted version of the other end. (In Wisconsin semantics, carrying a portal to another island is equivalent to pasting a copy. In fact, it's implemented that way.)

Given the code, I think you should be able to use these without the Wisconsin harness and such, although you will need some way to get a reference to the harness, which we normally get through the WisconsinController and clipboard. See TMagneticPortal>>postImportFromIslandCopier:.

Note that any implementation will require a fix to http://bugs.impara.de/view.php?id=3521. [^] KidsFirst includes a version of Croquet-Objects that fixes this.

The only reason that the Wisconsin package is on SqueakSource instead of the CroquetSource contributions repository is that it depends on bug fixes like the above, which are tentatively fixed at the above SqueakSource repository pending merges.
 
(0006685 - 298 - 328 - 328 - 328 - 328 - 328)
mpm
08-17-06 01:24

The contributions Chat-zamp.58.mcz and MenuUI-mpm.72.mcz. includes the option for 1 way, 2-way and "just teleport" connections when connecting to another space. These options are in the "portal type" part of the Postcard settings dialog you invoke from "connect to another world" in the tools menu.
 

- Issue History
Date Modified Username Field Change
08-11-06 21:12 mpm New Issue
08-11-06 21:13 mpm Status new => assigned
08-11-06 21:13 mpm Assigned To  => mpm
08-13-06 19:16 howardstearns Note Added: 0006586
08-13-06 19:16 howardstearns Relationship added related to 0003521
08-13-06 19:18 howardstearns Relationship added related to 0002796
08-17-06 01:24 mpm Status assigned => resolved
08-17-06 01:24 mpm Resolution open => fixed
08-17-06 01:24 mpm Note Added: 0006685


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
50 total queries executed.
37 unique queries executed.
Powered by Mantis Bugtracker