View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001913 | Spring engine | Lua | public | 2010-05-03 00:11 | 2010-06-19 23:11 | ||||
Reporter | user744 | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.81.2 | ||||||||
Target Version | Fixed in Version | 0.80.0.0+git | |||||||
Summary | 0001913: GetScreenGeometry: returns wrong vertical resolution | ||||||||
Description | Lua: screenSizeX, screenSizeY, lol,rofl = Spring.GetScreenGeometry () Spring.Echo ("screensizeX=" .. screenSizeX .. " screensizeY=" .. screenSizeY) for a resolution of 1024x768 this prints: screensizeX=1024 screenSizeY=667 for a resolution of 1600x1200 this prints: screensizeX=1600 screenSizeY=1099 -> screenSizeY does not match the actual vertical resolution. maybe its not a bug but since nobody could explain the difference to me i will asume it is a bug. | ||||||||
Additional Information | tried on 2 computers, happens on both: a) windows xp, fullscreen, nvidia 6800 b) windows xp, fullscreen, nvidia geforce 2 so reproducibility is "always" for me but maybe its different for others. changing the desktop resolution has no influence. spring version: (from infolog) Spring 0.81.2.0 (0.81.2-15-g7a9aa2b{0.81-branch}-cmake-mingw32) Build date/time: Mar 12 2010 16:43:46 in infolog it does log the correct resolution: Video mode set to 1024 x 768 / 32 bit | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
Kloot (developer) 2010-06-19 23:11 |
Fixed by jK, the size returned on win32 was actually windowSizeY - taskbarSizeY (SM_CYFULLSCREEN vs SM_CYSCREEN). |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-05-03 00:11 |
|
New Issue | |
2010-06-19 23:11 | Kloot | Note Added: 0004993 | |
2010-06-19 23:11 | Kloot | Status | new => resolved |
2010-06-19 23:11 | Kloot | Fixed in Version | => 0.80.0.0+git |
2010-06-19 23:11 | Kloot | Resolution | open => fixed |
2010-06-19 23:11 | Kloot | Assigned To | => Kloot |