SDL Digest, Vol 95, Issue 2

Message-ID: <5B6C636D-FC1F-4CE6-B39A-19B05AB9E147 at dghost.net>
Content-Type: text/plain; charset=utf-8

I tend to agree that directing a user to a website is a fairly specific high level task that is
probably best left up to the application developer to decide how they want to handle it.
Not only would it be terrible UX to kick the user outside of an application, but given things
like Steam and Origin have overlays specifically designed to display webpages without
the application losing focus, it?s a lot more complicated than simply throwing a URL at
an OS call. It is far better to simply not try to tackle that problem inside SDL than it is to
implement a half assed solution for SDL.

That’s an interesting thought: if the function does get implemented,
it should probably have an override capability, so that if you’re
using a library that does this itself (e.g. Steam) you can redirect
the call to it.> Date: Sat, 1 Nov 2014 11:25:50 -0600

From: Luke Groeninger
To: SDL Development List
Subject: Re: [SDL] SDL_OpenURL proposal

2014-11-02 0:30 GMT+01:00 Jared Maddox :> > Date: Sat, 1 Nov 2014 11:25:50 -0600

From: Luke Groeninger
To: SDL Development List
Subject: Re: [SDL] SDL_OpenURL proposal
Message-ID: <5B6C636D-FC1F-4CE6-B39A-19B05AB9E147 at dghost.net>
Content-Type: text/plain; charset=utf-8

I tend to agree that directing a user to a website is a fairly specific
high level task that is
probably best left up to the application developer to decide how they
want to handle it.
Not only would it be terrible UX to kick the user outside of an
application, but given things
like Steam and Origin have overlays specifically designed to display
webpages without
the application losing focus, it?s a lot more complicated than simply
throwing a URL at
an OS call. It is far better to simply not try to tackle that problem
inside SDL than it is to
implement a half assed solution for SDL.

That’s an interesting thought: if the function does get implemented,
it should probably have an override capability, so that if you’re
using a library that does this itself (e.g. Steam) you can redirect
the call to it.

Not necessary I think. If Valve care about this being smooth, they’ll just
hook into the symbol
from their LD_PRELOAD’ed overlay renderer.