Bug with ScreenRec

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
fm31
Posts: 22
Joined: Tue Apr 23, 2013 2:08 pm

Bug with ScreenRec

Post by fm31 » Mon Apr 18, 2016 8:25 am

Hello

I have a problem with the result of the screenRect Function:

configuration : LC 7.1.3 on Window 8.1. The problem described below was found on several computers

for a screen with resolution 1600 x 1200, le result of screenRect() is 0,0,1600,1200 that is OK
for a screen with resolution 1920 x 1080, le result of screenRect() is 0,0,1920,1080 that is OK
for a screen with resolution 2560 x 1600, le result of screenRect() is 0,0,2560,1600 that is OK

BUT

for a screen with resolution 2880 x 1800, le result of screenRect() is 0,0,1440,900 that is FALSE
idem pour a 4K,2K screen for which the result is also wrong

is it a Bug ? or a limitation due to big resolution under window ?

Thanks for answer

François

Klaus
Posts: 14186
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Bug with ScreenRec

Post by Klaus » Mon Apr 18, 2016 11:14 am

Bonjour François,

what does "the screenPixelScale" tell you for this monitor?
If it = 1, then I would consider it a bug.


Best

Klaus

fm31
Posts: 22
Joined: Tue Apr 23, 2013 2:08 pm

Re: Bug with ScreenRec

Post by fm31 » Tue Apr 19, 2016 1:24 pm

Hello Klaus

the result = 1

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10044
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Bug with ScreenRec

Post by FourthWorld » Tue Apr 19, 2016 2:37 pm

Please try this with v8. 0 RC1 and if it hasn't already been fixed there then file a bug report.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply