Page 1 of 1

Bug with ScreenRec

Posted: Mon Apr 18, 2016 8:25 am
by fm31
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

Re: Bug with ScreenRec

Posted: Mon Apr 18, 2016 11:14 am
by Klaus
Bonjour François,

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


Best

Klaus

Re: Bug with ScreenRec

Posted: Tue Apr 19, 2016 1:24 pm
by fm31
Hello Klaus

the result = 1

Re: Bug with ScreenRec

Posted: Tue Apr 19, 2016 2:37 pm
by FourthWorld
Please try this with v8. 0 RC1 and if it hasn't already been fixed there then file a bug report.