Hey All,
Downloaded 6.6.2 RC3 on Windows 7 Pro 64-bit and noticed that screenRect is returning the wrong value. Just checking if others can verify this issue on there machines. If you are getting incorrect values what OS and version of live code are you using?
I have filed a bug report for this which you can view at http://quality.runrev.com/show_bug.cgi?id=12359 and any info others can provide I can add to the bug report, hopefully to help get this bug resolved quickly.
screenRect returns wrong size
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: screenRect returns wrong size
Hi CenturyMan1979,
On my Win 7, liveCode ver 6.6.2 rc-3 I'm getting the correct results.
Simon
On my Win 7, liveCode ver 6.6.2 rc-3 I'm getting the correct results.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 86
- Joined: Tue May 15, 2012 5:56 pm
Re: screenRect returns wrong size
Looks like you need to multiply the width and height values from screenRect by the screenPixelScale to get the correct screenRect value.
My guess Simon is that you screenPixelScale value is 1. Mine is returning 1.25, so the size output I am seeing from screenRect makes sense now at least.
My guess Simon is that you screenPixelScale value is 1. Mine is returning 1.25, so the size output I am seeing from screenRect makes sense now at least.
-
- Posts: 86
- Joined: Tue May 15, 2012 5:56 pm
Re: screenRect returns wrong size
On the mac it seems you can't always rely on multiplying the screenRect by the screenPixelScale if you use a scaled resolution. In system information it shows that my display resolution is 2880 x 1800. If using the display setting Best (retina) which is 1440 x 900 then I can use screenPixelScale which is set to 2. But If I use the display setting 'More Space' setting my display to 1920 x 1200 I can't use screenPixelScale as it is still set to 2 instead of 1.5 like I would be expecting.