Hi Tiemo,
On 2017-06-07 10:41, Tiemo Hollmann TB via use-livecode wrote:
I am resizing the videoPlayer object by script and export snapshots of
the
videoPlayer.
In 8.1.2 or 8.1.3 I had to adapt my scipt for placing and resizing the
videoplayer for Mac only by the hight of the menubar (before LC 8 the
code
was on Win and Mac the same)
Now with LC 8.1.4 rc3 I again have to adapt the script for getting the
rect
for the snapshot of the videoPlayer on Mac only by the hight of the
manubar.
Has anybody encountered similar differences in getting rects depending
on
the menubar? Is this wanted? Has anything changed in calculating the
hight
of the menubar on Mac?
We've looked at your bug report and we think that there are two separate
issues here.
The first is related to how the engine placed native layers - this was
not quite right on Mac prior to 8.1.4-rc-2 - however should be fine in
that release and later.
The second is related to using 'export snapshot from rect' - this is a
screen-relative operation, which means the rect must be in screen
co-ordinates. Appropriate application of 'globalLoc()' function should
fix you up there - I've posted some sample code which corrects the
sample stack in the bug report:
http://quality.livecode.com/show_bug.cgi?id=19814
Warmest Regards,
Mark.
--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode