Menu

#2 Error on loss of focus.

open
nobody
None
5
2004-03-18
2004-03-18
Anonymous
No

If the game loses focus it will crash when it gets focus
and the game calls Ogre::[something like "StartRender",
maybe "Create Device" or something]. Although Alt+TAB
seems to be disable (which generally irritates me BTW)
the focus can still be lost by the screensaver or another
application launching.

Using Windows 98SE, DirectX9b, any render options from
the Ogre dialogue.

Discussion

  • Dan Poineau

    Dan Poineau - 2004-03-19

    Logged In: YES
    user_id=931295

    Yes, I believe this is a known "issue" with the default OGRE
    setup in Direct3D. I'm pretty sure there's a way we can fix
    this, though, I'll look into it. Also, ALT+TAB isn't
    disabled intentionally, we'll have to look into that as well.

    I believe, though, that losing/regaining focus works using
    OpenGL.

     
  • Dan Poineau

    Dan Poineau - 2004-07-23

    Logged In: YES
    user_id=931295

    Well, on the latest version from CVS, it seems that ALT+TAB
    is not disabled, although if you alt+tab when in fullscreen,
    when you try to get back to the window, the game will crash.

    Also, I was wrong in the previous comment, it does not work
    at all in fullscreen for me (both using D3D or OpenGL), only
    in windowed mode.

    We will look into this, and it *will* be fixed at some point
    (hopefully soon), but the issues are fairly complicated so
    it may take some time to fix.

     

Log in to post a comment.

MongoDB Logo MongoDB