lagrange icon indicating copy to clipboard operation
lagrange copied to clipboard

seeing crashes opening gopher pages in Lagrange on macos

Open cquenelle opened this issue 2 years ago • 3 comments

MacOS 12.4 Lagrange 1.13.7

I'm a new user and the first 3 or 4 different gopher pages I tried crashed Lagrange. I've tried opening from other apps and pasting the url into Lagrange, same result.

Ah ha! If Lagrange is not running, then links open okay. But if the app is already running whenI try to open a gopher page then it crashes

cquenelle avatar Jul 17 '22 16:07 cquenelle

I haven't seen any Gopher-specific crashes myself. Do you have a URL that causes the crash every time for you?

skyjake avatar Jul 17 '22 16:07 skyjake

For me, the following steps will cause a crash.

Start Lagrange Close all windows, but leave the app running. from the shell command line type: % open gopher://gopher.quux.org/1/Software/Gopher/servers

If there are any windows open but iconified, then the address opens as expected. So it's only triggered if there are no active windows.

If the app is not running, then it's started and open the page as expected.

cquenelle avatar Jul 18 '22 01:07 cquenelle

Fixed for 1.13.8. The problem was that the event handler didn't realize that a new window needed opening if there wasn't one when the user was opening a URL via an external app.

skyjake avatar Aug 19 '22 11:08 skyjake

Included in v1.13.8.

skyjake avatar Nov 06 '22 06:11 skyjake