SFML community forums

Help => General => Topic started by: anthnich on August 13, 2015, 04:56:56 pm

Title: Windows Focus(?) Issue on Ubuntu (8/12 commit)
Post by: anthnich on August 13, 2015, 04:56:56 pm
https://github.com/SFML/SFML/commit/561eb82f14e77f3c9b9e6bd50e59971eef1e9bda

This commit I believe is causing a problem. Running my program, the window will fade to black & white in Ubuntu if you idle for a few seconds. The 8/4 commit prior does not have this problem.

I cannot provide a code example, but I'm certain you can easily replicate it.

Here's a shot of my desktop w/ the fade problem (8/12 commit build).

(http://i.imgur.com/tB2ASUPl.png) (http://i.imgur.com/tB2ASUP.png)

And here's what the window is supposed to look like (8/4 commit build).

(http://i.imgur.com/10cJEfyl.png) (http://i.imgur.com/10cJEfy.png)

Some background:

* I request focus post window creation, so requesting focus does nothing.
* When I click in the window, it does not fade back in. It remains black & white regardless. Color never comes back.
* None of my code has changed in between each SFML commit above. What worked before no longer works.

If you need more info, I'll provide what I can.
Title: Re: Windows Focus(?) Issue on Ubuntu (8/12 commit)
Post by: binary1248 on August 14, 2015, 08:33:47 pm
Same issue as here (http://en.sfml-dev.org/forums/index.php?topic=18803.0). WM ping got messed up in Xlib event queue patch. Will fix.
Title: Re: Windows Focus(?) Issue on Ubuntu (8/12 commit)
Post by: anthnich on August 14, 2015, 10:13:07 pm
Sounds good, thank you.
Title: Re: Windows Focus(?) Issue on Ubuntu (8/12 commit)
Post by: binary1248 on August 14, 2015, 11:23:20 pm
Should be fixed with this (https://github.com/SFML/SFML/tree/bugfix/wm_ping).
Title: Re: Windows Focus(?) Issue on Ubuntu (8/12 commit)
Post by: anthnich on August 17, 2015, 04:47:23 pm
This appears to have fixed the problem. Thanks!