I like what you are suggesting. It drives me nuts when I try to debug some demo app and the debugger is constrained to be inside the canvas. I'm just looking for some way that we could make this work right for the average schmo, who would not know how to change their embed tag.

Maybe what we really want is for the dev console to always make the embed tag fill the browser window? Then I think I would be cool with not forcing the debugger to fit on the canvas.

Will this work in DHTML and both swf8 and 9?

On 2009-06-22, at 17:16EDT, Sarah Allen wrote:


On Jun 22, 2009, at 2:10 PM, P T Withington wrote:

Interesting.  I didn't know you could do that.

Here's my concern:  If a naive user (like myself) says:

<canvas width="100">
<debug width="200">
...
</canvas>

and you make your change, won't I end up with a debugger window where I can't get to the resize tab so I can't make it fit on my window?

then you hit your forehand with your hand and say "oops" (or drag the debugger to the left until you can resize it)


There's a boatload of heuristics going on here to make the debugger window size as useful as possible, and I'd want to make sure we didn't break any of those. In particular, look at the history of this bug for an example of how dangerous what looks like a simple change can be:

http://jira.openlaszlo.org/jira/browse/LPP-7602

So, I'm pretty leery of your proposed change.

If you think it is dangerous. I can live with it changed locally, I just thought others might want it.
-

Why can't you just have the canvas be 100% and then set the actual size using the embed tag?

My app reacts to the canvas size and gets all warped that way

Sarah

Reply via email to