skyjake/lagrange Issue #625: When a page is opened from outside ...
2023-09-27 23:25:04 johnwcowan
... and Lagrange is not running, the new Lagrange window is in front.
But if Lagrange is already running, it opens in a new tab (good) but the window is not brought to the front, so I don't notice that the page has been opened (bad).
Fix: always front the page in this situation.
Comments (3)
2023-09-28 04:37:26 skyjake
Which OS does this apply to? SDL's behavior in this area is quite platform-dependent...
2023-09-28 15:35:13 johnwcowan
I've only used Lagrange on Windows, but it seems to me the behavior should be uniform across all platforms: they all have the idea of passing an URL to a browser that can handle it depending on the URL type, so however that happens the main window needs to be surfaced. But I may not know what I am talking about.
2023-10-06 09:17:32 skyjake
You are right, that is the intended behavior on all platforms. I meant that the native APIs for this have different quirks depending on platform, and while SDL does a good job of hiding any differences, some workarounds may have to be applied manually.