sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
274 stars 14 forks source link

Crashes GNOME/hangs entire system if external monitor configuration changes #1857

Open aral opened 9 months ago

aral commented 9 months ago

Version info

If you launch Sublime Merge after the external monitor configuration changes, it crashes, taking GNOME with it. Can’t even switch to a separate terminal to recover. Requires full restart.

Steps to reproduce

Steps to reproduce the behavior:

  1. Launch Sublime Merge
  2. Close Sublime Merge
  3. Change monitor configuration so existing window location no longer exist
  4. Launch Sublime Merge

Expected behavior

Should launch.

Actual behavior

Crashes, taking GNOME with it.

Debug Information

n/a (crash on launch)

Workaround

My hunch is that deleting ~/.config/sublime-merge/Local/Session.sublime_session should fix the problem. Will try that after I submit this as I’ll have to restart again if it doesn’t work.

Update: Yes, just tried it and deleting the session file works around the issue.

aral commented 9 months ago

Another update: problem resurfaced and this time I had to rm ~/.config/sublime-merge/Local/'Auto Save Session.sublime_session'