[Github-comments] [geany/geany] [Bug] Geany sometimes launches files in a new window, after external monitor disconnected/reconnected (#2555)

Matthew Brush notifications at xxxxx
Tue Aug 11 00:03:54 UTC 2020


> This leaves some socket file somewhere that triggers the above behavior.

That's what @elextr was referring to.

> It may be something so suble we may never know.

It's pretty easy to find out what's going on with a suitable backtrace from GDB. On non-Windows systems this is trivial, but it's more of a pain on Windows.

> But, geany should kill its children cmd.exe windows, or if it doesnt want to / cant (I don't know the underlying architecture) it should reopen gracefully even with a straggling cmd.exe window.

It can't kill/do anything on its way out if it's crashing with a segmentation fault. Presumably when it starts back up it cannot tell the difference between the old stale socket file and an actual existing running instance of Geany's socket file. None of this really matters though since Geany just should never crash.

> Should I create a new bug for this, since we now know its not particularly related to external monitors?

The main bug is Geany crashing, once that happens all bets are off, so I'd leave this bug. Feel free to edit the title/description as you see fit.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2555#issuecomment-671649109
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200810/5479c12b/attachment-0001.htm>


More information about the Github-comments mailing list