Stacks Losing their Size and Location
Bob Sneidar
bobsneidar at iotecdigital.com
Wed Dec 16 18:01:10 EST 2015
Speaking of which, I have been having a problem for some time now. I have two monitors. I usually run LC on the large monitor, but if I have to leave for a job, I disaonnect the external large monitor after which everything rearranges itself on the laptop monitor. All well and good.
But then I open the laptop up when I get to the job and all windows, and I mean ALL WINDOWS in LC are unresponsive! At first I thought LC was crashing... until I tried to move a window. After moving that window (which was bumped up to the top of the monitor now that it shifted) that window became responsive again.
If I then close the laptop window, come back to work, hook up the external moitor again and open a stack that had been open before when just using the laptop monitor, the location of the new window is partially off screen! That means the title bar is not accessible, and therefore not draggable.
To work around this, I have had to write routines to check if the top left, toplight,bottomleft and bottomright are within the screen rect, and if not I reposition the window to a specific location.
So there's that.
Bob S
> On Dec 16, 2015, at 12:13 , Scott Rossi <scott at tactilemedia.com> wrote:
>
> You might want to check with a more recent version to confirm since 7.0.5
> is several versions old (the LC guys announced 7.1.1 today).
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> On 12/16/15, 12:02 PM, "use-livecode on behalf of Ray"
> <use-livecode-bounces at lists.runrev.com on behalf of ray at linkit.com> wrote:
>
>> I've been wrestling with this in 7.0.5 for a while. Here it is
>> distilled and the simplest way to repeat it:
>>
>> on mouseUp
>> answer the rect of this stack
>> set the decorations of this stack to empty
>> answer the rect of this stack -- we're
>> fine here (same rect)
>> set the decorations of this stack to default -- we're
>> suddenly all over the place
>> answer the rect of this stack
>> -- totally different rect and dimmensions
>> end mouseUp
>>
>> Setting the decorations to default not only changes the location of the
>> stack, it also changes the stack's width and height to some new random
>> size.
>>
>> As I mentioned, this is the "distilled" version. This also happens when
>> downloading a stack from a remote server. Simply opening it changes the
>> width and/or height.
>>
>> An additional issue is I'm also unable to return the stack's width,
>> height or location after this random resizing occurs unless I send
>> commands later or in an idle handler which calls them after everything
>> has settled back down.
>>
>> Does anybody know if this is a reported bug?
>>
>> Thanks!
>>
>> _______________________________________________
>> 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