[Xquartz-dev] Mouse focus issue...

doh123 doh123 at doh123.com
Thu Sep 29 12:35:44 PDT 2011


Only got 3 game I can find I already have here that have an option to change between window and fullscreen that wants to take place while running.. not restarting the whole game.

Neverball is a freebie thats easy to test on… and its very problematic if Wine allows the window manager access to the windows.
If starting in a window, then going to fullscreen, it minimizes itself, and I have to select it from the 'window' menu to see it, then it looks like its working… but if you then go back to windowed, the actual window decorations are gone, even though there is still space for them, and then toggling back to fullscreen again keeps leaving that extra empty space at the top with the picture pushed down.

Star Trek Online (and Champions Online… since STO is a re-skin using the same engine and interface).. used to just crash right away….  Now it seems to go from the log in window thats windowed with quartz-wm decoration, to a fullscreen mode just fine… but I cannot get back out, because at times when trying to change resolutions, or switch to windowed, or even hit Cmd+Opt+A… it crashes X11.bin with a "Could not destroy window 252 (3)." or similar destroy error.  This is not related to quartz-wm though because if I disable quartz-wm the same crash happens… and it also happens on 1.9 and 1.10 series servers.  I'll attach the crash if you wanna look at it.. it is kinda annoying and happens with my builds too.

On Roller-coaster Tycoon 3, if Wine isn't stopping quartz-wm, then the screen just goes white… you can hear the sounds and click through things and hear the menu is working and everything, but all you can see is a solid white screen.  Another problem with this game… wether or not quartz-wm is doing its thing, when you exit out of the game during fullscreen, XQuartz stays stuck in the fullscreen mode and I have to Cmd+Opt+A out.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: STOCrash.log
Type: application/octet-stream
Size: 48188 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20110929/477e5f67/attachment-0001.obj>
-------------- next part --------------



On Sep 29, 2011, at 1:31 PM, Jeremy Huddleston wrote:

> Ok, so that issue is done.  Now let's figure out why you're having problems with fullscreen applications.  You said you've been using early 2.6.x, but those had known issues with fullscreen.  I forget if 2.6.3 had all the fixes or not.  I'd recommend trying 2.7.0_beta2 because I know it has all the quartz-wm fullscreen fixes and a shiny new libGL for GLX.
> 
> On Sep 29, 2011, at 11:26, doh123 wrote:
> 
>> I did not try it on 1.10.2.902 … but I tried it on 1.11.1 (since its the same symptom, and code) and it does fix the issue, so thats good  :-)  Just tired of doing 50 billion builds, so now that I have a good working fixed 1.11.1 build I can get on to other things.  Thanks for the help!
>> 
>> 
>> On Sep 29, 2011, at 12:02 PM, Jeremy Huddleston wrote:
>> 
>>> This patch was broken.  There is a followup for it here (in my current [PULL] request to master and will be in 1.11.2):
>>> http://cgit.freedesktop.org/~jeremyhu/xserver/commit/?h=for-keith&id=38e9e28ba2fbffee52ad9889ef6d4e94c7af3e10
>>> 
>>> Try applying that patch on top of 1.10.2.902 to see if your issue goes away.
>>> 
>>> On Sep 28, 2011, at 23:17, doh123 wrote:
>>> 
>>>> I'll test more fullscreen apps, but I've had tons of people complain about fullscreen apps not working right in Wineskin with window decoration on, and I've yet to see any work right.  I have not test much with newer builds that is supposed to have some fixes for that…. I'm trying to get all that updates, since the current build is from around the Xquartz 2.6.0 - 2.6.1 time.  I've only tried 1 game with 2.7.0beta2, which is Neverball/Neverputt, and it doesn't right with quartz-wm.
>>>> 
>>>> As to the focus issue, I've found out it started happening in 1.10.2.902 … doesn't happen in 1.10.2.901.  The only patch I see for Xquartz in there is the following… so I'll look around to try to figure out which part is causing the issue, but I'm pretty sure thats the patch that is causing my problem.
>>>> 
>>>> http://cgit.freedesktop.org/~jeremyhu/xserver/commit/?id=c8b80a82d97d92d445c1c0af6dba42c9de7c56cd&h=server-1.10-apple
>>>> 
>>>> 
>>>> 
>>>> On Sep 28, 2011, at 12:00 AM, Jeremy Huddleston wrote:
>>>> 
>>>>> 
>>>>> On Sep 27, 2011, at 7:49 PM, doh123 wrote:
>>>>> 
>>>>>> Thanks for the help.  I have narrowed down the the problem does not exist in 1.10.0, but it does happen in 1.10.4.  I need to try some more builds to narrow it down later to when I get time.  If I can narrow down which update it happened in, I should be able to find the code change that caused it….and worst case I can try some bisects.
>>>>>> 
>>>>>> to quartz-wm… I have yet to find a single game that runs in Wine that can switch between windowed and fullscreen without having to disable the window manager control and decorations (in Wine itself, quartz-wm is still running, but not doing much but pasteboard).  If you've found one that works, it might be the rarity.  Its not just Wineskin, I've tested with stock Wine builds, even with 2.7.0beta2
>>>>> 
>>>>> I just used wine-1.3.28 from MacPorts and 2.7.0_beta2 with Quake 2 to toggle fullscreen on and off a few times.  Nothing crashed.
>>>>> 
>>>>>> They used to crash, but with more recent builds they do not crash, yet still do not work.  Many games will like auto minimize and not come back, or the window will draw in the wrong areas, or the graphics will become corrupted, or often the screen just goes solid white and can usually still hear the sound there is just no picture.
>>>>> 
>>>>> What games?  They may be wine issues.
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Xquartz-dev mailing list
>>>>> Xquartz-dev at lists.macosforge.org
>>>>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Xquartz-dev mailing list
>>>> Xquartz-dev at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Xquartz-dev mailing list
>>> Xquartz-dev at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>>> 
>> 
>> 
>> _______________________________________________
>> Xquartz-dev mailing list
>> Xquartz-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>> 
> 
> 
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
> 



More information about the Xquartz-dev mailing list