bandit's picture

Taskbar pops up in fullscreen mode of GameWindow on Win7 x64

Project:The Open Toolkit library
Version:1.0.0-rc1
Component:Code
Category:support request
Priority:normal
Assigned:the Fiddler
Status:confirmed
Description

Hi,

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.


Comments

Comment viewing options

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

#1

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

#2

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 )
        {
            DisplayDevice.Default.ChangeResolution(1280,1024,32,60);
 
            this.WindowState = WindowState.Fullscreen;            
        }
the Fiddler's picture

#3

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

#4

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

the Fiddler's picture

#5

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

#6

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

#7

What video card & drivers are you using?

bandit's picture

#8

Nvidia GeForce 8800M GTX
Driver: 197.13

Mincus's picture

#9

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

#10

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?