SFML community forums

Help => General => Topic started by: Chunker120 on June 02, 2013, 10:39:24 am

Title: Window icon shows up late on the start bar and slow window switching
Post by: Chunker120 on June 02, 2013, 10:39:24 am
I have a big game written in SFML, and a problem that has been occuring is that the game takes a while to show up on the windows taskbar, and if I do the following steps, I can't switch windows anymore, it's like a constant window lag, even though the game runs at 65 FPS:
step1: Open the game, icon shows up after 8 seconds
step2: click on another windows icon on the start bar
step 3: click on the game icon again
step4: Now I can't click another icon again, I can alt+tab out of the game, though it will sometimes crash and call abort()

I'm not sure what code to show because I'm not sure what can cause this. It's been happening for a while but I thought it was just my computer (it isn't)

Additional details


Again, I'm sorry about no code, it's a general question, and I don't really know which part of the code to show, I have about 20 files of game engine, and no idea what could be causing this. However, my speculations are that the thread is causing this. I am using a sf::Thread to load resources during a loading screen, and I don't terminate it.
Title: Re: Window icon shows up late on the start bar and slow window switching
Post by: Laurent on June 02, 2013, 11:03:18 am
https://github.com/SFML/SFML/issues/69
Title: Re: Window icon shows up late on the start bar and slow window switching
Post by: Chunker120 on June 02, 2013, 03:32:50 pm
https://github.com/SFML/SFML/issues/69
Oh, I see. Thanks for the link!