Some WinRT strangeness with reported window size

hardcoredaniel <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <1li.BDb0.2x{iGWQR3DF.1N{[email protected]>
Hi,

I found some strangeness with WinRT when looking at app resume and the SDL 
events "window resized" and "window size changed":

1) On the desktop, I'm changing the app from fullscreen to windowed mode. 
After changing the window size to make the window a little smaller, I 
minimize the window, then restore it again. 

The issue I see is that the window events report the width and height of the
window as if it still was fullscreen. Somehow SDL did not "fully realize" 
that the window is no longer fullscreen. Which is strange because all the 
events that are fired during resizing the window are correct (e.g. when the 
issue occurs, resizing the window again corrects the coordinates 
immediately).

2) On the phone, the coordinates reported by the 2 events seem to be 
inconsistent (at least for an app that is declared to support landscape 
only). Sometimes the corrdinates are reported with width < height, sometimes
the other way 'round. There seem to be a number of notifications coming, and
the "last" one after initial app start is different to the "last" one after 
resume, so that my app becomes confused.

I can help reproducing the issues if this proves to be difficult. Any help 
is appreciated :-)

Regards,

Daniel

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.