makew0rld / amfora

A fancy terminal browser for the Gemini protocol.
GNU General Public License v3.0
1.14k stars 65 forks source link

Download choice modal loses focus when non-text response is received from CLI URL #283

Closed makew0rld closed 2 years ago

makew0rld commented 2 years ago

Run amfora gemini.thebackupbox.net/radio. The URL is to a page that returns audio/mpeg. The page is loading, then the download choice modal pops up, then the new tab page loads behind it and takes focus, meaning the user can't select a download choice.

makew0rld commented 2 years ago

Related to #281, if the modal was blocking this wouldn't happen

mntn-xyz commented 2 years ago

This also happens if the URL triggers an external handler, for instance amfora https://example.com causes the Info dialog to be stuck on screen after the configured browser is opened.

makew0rld commented 2 years ago

Closed by #284, thanks @awfulcooking!