bandit's picture

Taskbar pops up in fullscreen mode of GameWindow on Win7 x64

Project:The Open Toolkit library
Category:support request
Assigned:the Fiddler


another issue appeared with Win7. I use default Aero theme with transparency, if it's important. If i start my application in fullscreen mode the taskbar will come up several times till i finally click on the window of my app. Is this an issue with OpenTK? Maybe TopMost parameter would help? Or can i fix it in my applicaation which is similiar to GL 3.0 example for test purposes?

And another thing is very strange. Often my application starts and rotates the quad on the screen with a fracture of set speed. Only if I move the mouse inside the window it moves again faster. And sometimes it starts and rotates with normal speed.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture


Status:open» need info

Thanks for the bug report. A few questions:

  • OpenTK 1.0.0-rc1 contains a couple of fixes that could affect this issue. Which version are you using?
  • How are you starting your application in fullscreen mode? Are you passing GameWindowFlags.Fullscreen to the GameWindow constructor or are you calling WindowState = WindowState.Fullscreen? If it is the latter, where have you placed this code? (i.e. is it in the constructor, the Load event, somewhere else?)
bandit's picture


I use WindowState = WindowState.Fullscreen and it's placed in the constructor of my class. OpenTK is build from svn 2663.

        public TestClass()
            : base(1280, 1024,
            new GraphicsMode(), "OpenGL 3 Example", 0,
            DisplayDevice.Default, Convert.ToInt16(ConfigurationManager.AppSettings["GLMax"]), Convert.ToInt16(ConfigurationManager.AppSettings["GLMin"]),
            GraphicsContextFlags.ForwardCompatible | GraphicsContextFlags.Debug )
            this.WindowState = WindowState.Fullscreen;            
the Fiddler's picture


Thanks, one last question: are you using SVN trunk or SVN branches/1.0?

Edit: I cannot reproduce the issue on the 1.0 branch (Win7 x64, Nvidia 197.16 drivers). There are a number of changes that haven't been ported from 1.0 to trunk yet, this might be one of those.

bandit's picture


I use the trunk, should i use the branch instead?

the Fiddler's picture


Status:need info» open

Yes, this bug should already be fixed in the 1.0 branch. Once 1.0 is released, focus will move back to trunk once more.

bandit's picture


I tried it with 1.0 branch. The problem with taskbar and mouse still persists. Trying now to close all other apps to try a few things.

the Fiddler's picture


What video card & drivers are you using?

bandit's picture


Nvidia GeForce 8800M GTX
Driver: 197.13

Mincus's picture


I've just had this occur (on RC1) as well.
Strange because when I saw this post, since I had a similar configuration, I tried it and couldn't reproduce, yet now it's occurring.

I can't reliably reproduce it, however doing the following usually causes it to occur:
- Navigate around on Firefox (3.6.3) for a little while.
- Run Fraps
- Run an application using OpenTK fullscreen in the manner described by bandit.

Killing Fraps and Firefox fixes the issue for me.

Sometimes the issue occurs when running just Firefox, sometimes it continues to occur after killing Firefox and leaving Fraps running.

Most unusual issue.

the Fiddler's picture


Version:1.x-dev» 1.0.0-rc1
Assigned to:Anonymous» the Fiddler
Status:open» confirmed

Marking as confirmed since you can reproduce it, too. I'll try the procedure you described to see what happens.

Could this be (yet another) focus-related issue, I wonder?