Ver 7.1/integrated VTFT regession - screen size not adapted

General discussion on mikroPascal PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
OT
Posts: 581
Joined: 19 May 2005 05:08
Location: Fairbanks, Alaska

Ver 7.1/integrated VTFT regession - screen size not adapted

#1 Post by OT » 29 May 2018 00:07

The integrated VTFT in v. 7.1 has a display regression on the edit screen compared to VTFT 4.6.1 when a project is moved from a computer that uses different font scaling to another. This affects the display on the VTFT edit screen screen but not the that of the target display.

Win7 host has 125% font scaling when creating this screen, here displayed on MMB dsPIC33 ver 1.10 7A. It looks OK (except for the space character too narrow on large font sizes and some misalignment of that text, a separate issue):
#1
2018-05-27-1903E-7358.jpg
2018-05-27-1903E-7358.jpg (334 KiB) Viewed 2482 times
Here is the display in the integrated VTFT with 125% font scaling:
#2
2018-05-27-1904E-7359.jpg
2018-05-27-1904E-7359.jpg (267.53 KiB) Viewed 2482 times
Project was moved to a computer with 100% font scaling. After making a small color change to regenerate the driver code, the display on MMB dsPIC33 is still similar to image #1 above. However the VTFT edit screen is cut off, and there is no way of editing things outside the visible area. (VTFT 4.6.1 will change screen size correctly so this is a regression) :
#3
2018-05-27-1923E-7362.jpg
2018-05-27-1923E-7362.jpg (250.21 KiB) Viewed 2482 times
Going the other way in the next post...
mikropascal dsPIC, Visual TFT, MMBdsPIC v.105, 1.10_9A, mikroProg, "Big"(P30F6012A)EasydsPIC2

OT
Posts: 581
Joined: 19 May 2005 05:08
Location: Fairbanks, Alaska

Re: Ver 7.1/integrated VTFT regession - screen size not adap

#2 Post by OT » 29 May 2018 00:15

If going the other way adding a screen in this mode with 100% font scaling will make the new screen have the correct area and display correctly both in VTFT and MMB. However when moving the project to a computer with 125% font scaling again, the screen area is now too big, thus unless the edge of the screen is marked with lines as shown here, one cannot know if new items are placed inside or outside the screen. Again this is a regression since VTFT 4.61:
#4
2018-05-27-1937E-7365.jpg
2018-05-27-1937E-7365.jpg (236.45 KiB) Viewed 2480 times
Also note on the left edge, the color for the screen background is marked (mouse cursor shown), but the button to invoke the color list is cut off, so that one can only choose colors by typing in name of the color when the computer has 125% font scaling.

(The actual testing of this was made in a VM where I changed Windows font scaling, logged in again and restarted MP dsPIC ver. 7.1 ).
mikropascal dsPIC, Visual TFT, MMBdsPIC v.105, 1.10_9A, mikroProg, "Big"(P30F6012A)EasydsPIC2

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Ver 7.1/integrated VTFT regession - screen size not adap

#3 Post by petar.suknjaja » 29 May 2018 15:27

Hi,
Thank you for your suggestion,
We will review this and make steps to resolve issues.

Kind regards,
Petar

OT
Posts: 581
Joined: 19 May 2005 05:08
Location: Fairbanks, Alaska

Re: Ver 7.1/integrated VTFT regession - screen size not adap

#4 Post by OT » 30 May 2018 23:18

With some further testing in a VM, it does seem that if a VTFT project settings is changed (I switched between manual and preset touch panel calibration for the test) and one switch back and fourth between compiler and VTFT a couple of times the screen size will adapt. But this adaptation should really happen on first load.
mikropascal dsPIC, Visual TFT, MMBdsPIC v.105, 1.10_9A, mikroProg, "Big"(P30F6012A)EasydsPIC2

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Ver 7.1/integrated VTFT regession - screen size not adap

#5 Post by petar.suknjaja » 04 Jun 2018 11:33

Hi,
This one is confirmed and reported, we'll wait for the developer's update.
Thank you very much OT for this contribution.
We really appreciate your effort.
Kind regards,
Petar

Post Reply

Return to “mikroPascal PRO for dsPIC30/33 and PIC24 General”