Canvas Limited to 32767

Ralph DiMola rdimola at evergreeninfo.net
Tue Oct 6 15:11:23 EDT 2020


Paul,

I agree the it seems that 32767 would be more than enough but alas reality
intrudes. On desktop you can easily get to the bottom and on mobile a few
flicks will get you to the bottom. I use the same code(LC server) for the
http html version and there is no problem there when the search returns an
obscene number of results.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Paul Dupuis via use-livecode
Sent: Tuesday, October 06, 2020 2:39 PM
To: use-livecode at lists.runrev.com
Cc: Paul Dupuis
Subject: Re: Canvas Limited to 32767

You would think with 32K px at 72px/inch being like 450 inches that the 32K
limit would not be an issue, but I have run into it as well

I have written a custom graph (like a bar graph for example sake) that is
generally fine with most customer data. However, on one customer data set it
started blowing up. It turns out that one of the bars was "huge" 
(an the order of 400k px) at the zoom level where they could see the details
in the remaining bars. So, in this case the researchers wanted to "zoom" in
on noise in a larger data set, causing that larger data to become huge in a
graph.

And yes, you can code in bounds limits and attaching labels to indicate a
bar is out of bound or exceeds display area, etc., but I do agree that for a
number of applications having a large drawing area would be a big
improvement.


On 10/6/2020 2:28 PM, Ralph DiMola via use-livecode wrote:
> Desktop and mobile. It's a scrolling group with many sub-groups each 
> with 1 or more fields. Sometimes the height of the main group > 32767.
>
> It's the result of a proximity search and in dense areas users are 
> getting hosed by this limit. Customer is screaming (but don't they
always).
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
>
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On 
> Behalf Of Richard Gaskin via use-livecode
> Sent: Tuesday, October 06, 2020 2:01 PM
> To: use-livecode at lists.runrev.com
> Cc: Richard Gaskin
> Subject: Re: Canvas Limited to 32767
>
> Ralph DiMola wrote:
>
>   > I just ran head first into this. Could someone explain why other 
> than  > moving from an int16 to an int32 this is such a challenge? 
> This should  > have been addressed during the refactoring of the engine.
>
> Is this for the weird recommended mobile workaround of putting a text 
> field into a group just to have it scroll, or something else?
>
> --
>    Richard Gaskin
>    Fourth World Systems
>    Software Design and Development for the Desktop, Mobile, and the Web
>    ____________________________________________________________________
>    Ambassador at FourthWorld.com                http://www.FourthWorld.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list