It seems full screen mode shows the application at the size specified by the 
developer. If resizing is desired, percentage values should be used for 
width/height - whether specified in the query string, html embedding code, 
orcoming from the canvas.

-----Original Message-----
From: Raju Bitter <[email protected]>
Sent: Monday, July 20, 2009 2:59 PM
To: P T Withington <[email protected]>
Cc: Max Carlson <[email protected]>; Laszlo-dev bug reporting 
<[email protected]>
Subject: Re: [Laszlo-dev] Query args width and height processed by 
LaszloCanvas.lzs#construct()

Yes, I know that the LaszloCanvas code is looking for those args.  
Isn't it like there are 4 sources for the width/height value?

1) canvas attributes
2) embedding code
3) query args for SWF file
4) default values 400/400, in case the query args contain an invalid  
value

But what you are saying means: if a developer wants to use full screen  
feature, he must take caution not pass any values for width and height  
into the app at runtime, or full screen mode might not auto-adjust the  
canvas size.


On Jul 20, 2009, at 5:18 PM, P T Withington wrote:

> I don't know the history, but notice that the canvas is _looking_  
> for those params.  It's not that query params override an  
> application var or setting (which could be a security issue).  The  
> developer of the canvas specifically asks for these params.
>
> The history of canvas size is long and tortured, and there are a lot  
> of crazy paths in the compiler to handle absolute vs. percentage  
> sizing.  I am a big proponent for letting the size be dynamic, taken  
> from the browser or query args, rather than having to recompile your  
> app to resize it.
>
> On 2009-07-19, at 11:21EDT, Max Carlson wrote:
>
>> Perhaps we want a different behavior when fullscreen is on.  It  
>> should act much more like the default of 100% by 100%. Maybe the  
>> part of canvas.construct() that registers for screen size  
>> notifications should be refactored to a separate method so it can  
>> be called when fullscreen is turned on...
>>
>> -----Original Message-----
>> From: Raju Bitter <[email protected]>
>> Sent: Sunday, July 19, 2009 8:47 AM
>> To: Raju Bitter <[email protected]>
>> Cc: Laszlo-dev bug reporting <[email protected]>
>> Subject: Re: [Laszlo-dev] Query args width and height processed by  
>> LaszloCanvas.lzs#construct()
>>
>> And if you don't want to read the forum post: he attached a width and
>> height parameter to the SWF for whatever reason (customer
>> requirement), and never expected that t

[The entire original message is not included]

Reply via email to