Re: [hatari-devel] OSX dialogs in fullscreen

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Eero,

I'm not an OS X developer. However, to me, it appears that SDL (and most games) use a full screen mode that's incompatible with the standard OS X alerts and dialogs. That's my guess why most games have their own alerts that are totally different in look than the system. I'm betting that SDL isn't creating a window in the traditional OS X sense. I don't know if SDL 2.0 is any different in this respect.

I think either of your alternative solutions would work fine. However, I have no idea how much work it would be for Jerome to implement any of them. I would love to learn OS X development but, for my job, I would need to learn .Net first.


Bob C


On Wed, Sep 18, 2013 at 1:05 PM, Eero Tamminen <oak@xxxxxxxxxxxxxx> wrote:
Hi,

On keskiviikko 18 syyskuu 2013, Bob Carpenter wrote:
> Is there a way to not have the OS X alert box display if you are in
> fullscreen mode? I have hung Hatari a couple of times by hitting Quit
> from the SDL menu and Hatari hangs. Only recently did I realize Hatari
> was trying to display the OS X alert box which is not available when you
> are in fullscreen mode.

Doesn't OSX compositor handle that?  At least on Linux, if there are
dialogs on top of the window, compositor redirects the fullscreen
window and composites the dialog then on top of that, *if*
the child<->parent relation is indicated correctly.


Other solutions to this problem are:
* Switch fullscreen of while showing the dialog
* Show dialogs in fullscreen mode using SDL, not OSX dialog code


        - Eero





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/