c++ - Windows 8 App CoreWindow coordinates are reported 20% larger under Windows 10 -
update 1&2: check bottom of question
i have several games (built visual studio 2012 c++ under windows 8.0) on windows store. these games have worked fine under windows 8.0 , 8.1. customers complained that, under windows 10, image not centered , part of 'spills' outside screen.
i have reproduced problem installing visual studio 2012 update 4 under windows 10. problem window coordinates reported os 20% larger should be. example, mouse move events on 1366x768 window report coordinates 1645.783 x 925.301. time window dimensions correct (as obtained corewindow::bounds) when app first starts -- resize event mess them (mouse events never correct).
the same issue occurs if create blank new project based on "visual c++ >> windows store >> direct3d app" template.
the "size of text, apps, , other items" option in windows 10 set 100%, can't see how scaling issue.
does know why happening?
update 1: upon further testing, problem occurs when desktop resolution height less 942 pixels (width irrelevant). example, on 1366x768 desktop problem occurs, on 1280x960 doesn't.
update 2: looks windows 10 bug. know how can reported microsoft?
Comments
Post a Comment