Page 1 of 1

Help Request - iPhone 6 or 7 users

Posted: Thu Dec 15, 2016 7:55 pm
by rbytes
*** UPDATE ****

New testing has proven that my iPhone 6 resolution is always correct for the zoom mode it is set to. I found this out by loading all of the screen captures into Art Studio and checking their pixel dimensions.

What is really happening is that smartBasic is drawing the grid spacing too large on my resolution test. But it may be a fault in xCode or iOS, rather than smart Basic. sB takes its screen size information from these two sources.

Thanks to the members who sent screen shots. I won't need any more of them. All screen captures had the correct resolution for the iPhone 6 in both Normal and Zoom mode. I will update my Apple Developer Bug Report.

I have a new Resolution Test that applies correction factors to the drawing spacing. The result is attached - a grid that perfectly fits my 1334 x 750 iPhone 6 screen.

******************
FIRST ANALYSIS, now proven incorrect:

I recently discovered that my iPhone 6 is not giving me the advertised screen resolution. I have generated a smart Basic Resolution Test that draws a measured grid on screen. On my phone, I should get 667 x 375 points. I get only 568 x 320, which is the screen size of the older 5s.

Here is the code for Resolution Test. I would appreciate it if you would download it, run it, take a screenshot and post it in a reply here. In your reply, please include the exact model so I can compare your phone's specs to what it actually displays.

Code: Select all

/*
Resolution Test
by rbytes
December 2016
Draws a numbered grid with 50-point
spacing, to demonstrate the
point resolution of the screen.
*/
SET TOOLBAR OFF
sw=SCREEN_WIDTH()
sh=SCREEN_HEIGHT()
'sw=667
'sh=375
rw=sw/1024 ! rh=sh/768   ' scaling to various screen sizes
cr$=CHR$(10)
GRAPHICS
GRAPHICS CLEAR 0,0,0
DRAW FONT SIZE 12
DRAW COLOR 1,1,1
FOR t=0 TO sw STEP 50
DRAW LINE t,0 TO t,sh
IF t=0 THEN
  DRAW TEXT t AT t,0
ELSE
  IF t=1000 THEN
    DRAW TEXT t AT t-15,0
  ELSE
    DRAW TEXT t AT t-10,0
  ENDIF
ENDIF
NEXT t
FOR u=0 TO sh STEP 50
DRAW LINE 0,u TO sw,u
DRAW TEXT u AT 0, u
NEXT u
DRAW LINE sw,0 TO sw, sh
DRAW LINE 0,sh TO sw,sh
a$="Width"&cr$
a$&=sw&cr$
a$&="Height"&cr$
a$&=sh
FIELD "size" TEXT a$ AT sw-110*rw,sh-150*rh SIZE 70*rw,100*rw ML RO
FIELD "size" FONT SIZE 16*rw 
LOOP:
GET TOUCH 0 AS x,y
IF x<>-1 THEN END
SLOWDOWN
GOTO LOOP
END
I have a bug report active on the Apple Developer's site. Their techs and engineers want to know how widespread this problem is, so we would not only be performing a good service to the Apple community, we would find out if we are getting the full screen resolution that we paid for. 8-)

Thanks

Re: Help Request - iPhone 6 or 7 users

Posted: Fri Dec 16, 2016 1:21 am
by basiccode
You are getting full resolution, it's just Apple have new zooming features that smartBasic is not accounting for and you're just unlucky that you activated it in smartBasic, your gonna have to live with it until an upgrade from mr K or Apple fixes it.

Re: Help Request - iPhone 6 or 7 users

Posted: Fri Dec 16, 2016 3:35 am
by rbytes
That is not what I heard from the Apple Bug Report response group. They don't know why the resolution is being limited, and the problem is apparently bigger than smart Basic. Otherwise they would have told me that it is a known problem that would be fixed soon. The Apple website mentions only one function that will lower resolution. That is the Zoom function in Settings. It will reduce an iPhone 6 screen resolution to the size I am getting. But my Zoom is not on, and never has been.
I am going to comply with Apple's request for more testing, and would appreciate any help from Forum members, including the screen shots.

Re: Help Request - iPhone 6 or 7 users

Posted: Fri Dec 16, 2016 7:26 am
by rbytes
Here are sample images on screens drawn in pixels that show what an iPhone 6 should be displaying (more pixels) and what mine is producing (fewer). The pixel dimensions are exactly double the point dimensions. So the reduced resolution occurs regardless of whether you draw in smart Basic with DRAW PIXEL or with the regular point drawing functions (e.g. DRAW RECT, DRAW CIRCLE, etc. I see loss of detail in the image with fewer pixels. BTW, I had to simulate the correct display for my iPhone on my iPad, since my iPhone couldn't produce it. :( You may have to zoom the page in and out a bit to get all the lines to show at equal thickness. That is another example of what can happen to images on resolution-independent displays. Some of your image pixels can overlap multiple physical pixels in the display and trigger them. You can see this happen randomly as you zoom or move the page.

Re: Help Request - iPhone 6 or 7 users

Posted: Fri Dec 16, 2016 9:43 am
by basiccode
Some people just don't want to be helped, they got to make their lives into a bigger drama then it already is. Believe what you want rbytes.

Re: Help Request - iPhone 6 or 7 users

Posted: Fri Dec 16, 2016 10:14 am
by Mr. Kibernetik
basiccode wrote:Some people just don't want to be helped, they got to make their lives into a bigger drama then it already is. Believe what you want rbytes.
Last warning to basiccode: stay on topic or pass by. Next time you will be banned.

Re: Help Request - iPhone 6 or 7 users

Posted: Fri Dec 16, 2016 11:27 am
by basiccode
Mr. Kibernetik wrote:
basiccode wrote:Some people just don't want to be helped, they got to make their lives into a bigger drama then it already is. Believe what you want rbytes.
Last warning to basiccode: stay on topic or pass by. Next time you will be banned.
Don't you dare threaten me Mr. Kibernetik I haven't done anything wrong yeah?, wait to I do something wrong before you get trigger happy.

Re: Help Request - iPhone 6 or 7 users

Posted: Fri Dec 16, 2016 11:38 am
by Mr. Kibernetik
basiccode wrote:
Mr. Kibernetik wrote:
basiccode wrote:Some people just don't want to be helped, they got to make their lives into a bigger drama then it already is. Believe what you want rbytes.
Last warning to basiccode: stay on topic or pass by. Next time you will be banned.
Don't you dare threaten me Mr. Kibernetik I haven't done anything wrong yeah?, wait to I do something wrong before you get trigger happy.
I am not threatening, I am warning. Trolling other users is not permitted on this Forum. And you are warned.

Re: Help Request - iPhone 6 or 7 users

Posted: Fri Dec 16, 2016 11:49 am
by basiccode
God, I am not trolling either, It's not my fault the guy doesn't understand a certain bug, What else can I say? I did not program smartBasic, I don't develop for Apple, that's all the info I have for the guy.

Re: Help Request - iPhone 6 or 7 users

Posted: Fri Dec 16, 2016 4:15 pm
by rbytes
Back on the topic... if anyone has information from an official Apple source about the resolution bug, I invite them to post a reference (e.g. a web link, a quote from an Apple expert) to that information. I will then inform the Apple Bug Reports technical team, so that they can be in the loop. 8-)

******************
See the original post for the latest information. I have results now based on software testing and have forwarded them to Apple. Now the Bug Report team can see what the bug is doing and have a better idea where to look for it.

Thanks for the suggestions and test files.