Original War Support Bug Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #106  -  Alt tabbing ogl
Posted Mar 20, 2015 - updated Jul 26, 2015
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Fixed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Fixed
  • Assigned to
     Stucuk
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     CornyjK
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Time spent
    No time spent
  • Category
    Graphics Issue (OpenGL Only)
  • Resolution
    RESOLVED
  • Priority
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
Issue description
If I start game and click alt+tab and I go to game, game start "blinking"(normal, dark, normal, dark, ...) I tryed made screenshot with steam, but I made 15 csr. and there is this normal.
Steps to reproduce this issue
Start game, Alt+tab, Return to game.


#1
Comment posted by
 Stucuk
Mar 20, 20:07
I can only re-produce it during the intro videos when the screen is 640x480. It seems to have nothing to do with OpenGL. Looks like windows is redrawing the window for some reason. Can't see why though.
#2
Comment posted by
 Stucuk
Mar 20, 20:33
Found the problem. Windows was clearing the window. Handling the WM_ERASEBKGND message solves the problem.

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from New to Fixed.
  • This issue's progression has been updated to 100 percent completed.
  • The resolution has been updated, from Not determined to RESOLVED.
#3
Comment posted by
 CornyjK
Mar 20, 20:49
I don't know, if this is something with ogl, but game is unplayable, when you alt+tab(you can play it, but it is uncomfortable)
#6
Comment posted by
 Stucuk
Mar 21, 05:46
The Erase Background thing was a red herring. Seems to be related to creating the OpenGL Window just before the resolution is changed. After moving the window creation after the resolution change i don't have the effect (Slight flicker for a split second but nothing constant).

Could you try the following:

- OwarOGL_2015_03_21_2.0.2.7.rar
#8
Comment posted by
 CornyjK
icon_reply.pngMar 21, 13:17, in reply to comment #6


Stucuk wrote:
The Erase Background thing was a red herring. Seems to be related to
creating the Open GL Window just before the resolution is changed. After
moving the window creation after the resolution change i don't have the
effect (Slight flicker for a split second but nothing constant).

Could you try the following:

- OwarOGL_2015_03_21_2.0.2.7.rar
Work good. When you go back to ow or start game, it fast blick for 1/7 of second maybie and after 1/7 second it is gone, but it does not matter.