Inkscape UI unresponsive when opening SVG file via Finder (unless Welcome dialog disabled)
#### Summary - Inkscape UI totally unresponsive when double clicking SVG file in Finder which opens it in Inkscape. - Luckily Inkscape > Menu > File > Open + Open Recent commands remain working. See workarounds. #### Reproduction - In macOS Finder associate SVG files to be opened with Inkscape. - Select a SVG file. CMD-I > Open with > Set it to "Inkscape". Then press "Change all". - Double-click a SVG file in Finder to open it in Inkscape. #### Actual - The Inkscape UI is from now on unresponsive to mouse clicks. - None of the icons in the various toolbars can be clicked. - Also on the canvas you cannot select any elements. - The main menu remains responsive. - You can i.e. open the application preferences from there. - But then you cannot close the preference window. - When issueing the quit command (CMD-Q) Inkscape closes all windows but remains active in the menu bar. - In this broken state the main menu now only has 2 remaining entries: Inkscape, Window. - It opens a dialog saying that Inkscape suffered an "internal program error". - Clicking "Close" results in a program hang (macOS beach-ball). - You have to force-quit the app eventually. - macOS opens the Crash Reporter. I sent the log to Apple. And attach both crash reports here too: - [inkscape_2021-09-30-113413.crash](/uploads/6755f81831993788ef8b9f066b864edb/inkscape_2021-09-30-113413.crash) - [inkscape_2021-09-30-120525.crash](/uploads/a8b5c9d3405f0b92ef40fd788b7cd413/inkscape_2021-09-30-120525.crash) #### Expected - The UI should be acting normally. #### Workaround 0 * Open Inkscape. With the Welcome dialog, which is active by default. * On the Welcome screen disable "Show this each time". * Quit Inkscape. * From then on the UI behaves normally: * You can open single or multiple SVG files via Finder, which starts Inkscape if not yet open. * Also with Inkscape open, opening extra SVG files from Finder, just opens them in further Inkscape windows. * All opened files get added to the "File > Open > Open Recent" listing correctly. #### Workaround 1 - Open the file via Menu > File > Open Recent > Your File - Luckily it shows the file which you attempted to open via Finder - So this workaround is somehow acceptable for the time being. - Inkscape works normally then. #### Workaround 2 - Open the file via Menu > File > Open… - This opens a file chooser (not the native macOS one) but the GTK file chooser - Navigate to your file (with the GTK user experience, which is far inferior to the native file chooser) - If the first time, then macOS opens a dialog to grant Inkscape document / download folder access. - On the next occasion macOS doesn't ask anymore. App-specific access permissions seem to get persisted correctly. - Note: I hoped that the whole thing may only was an app-specific access permission issue and this may resolve the situation permanently, but it didn't. The unresponsiveness when opening files via Finder happens each time. - Inkscape works normally then. #### Fix attempts Deleted these directories: ~/Library/Application Support/org.inkscape.Inkscape ~/Library/Saved Application State/org.inkscape.Inkscape.savedState Bug still reproducible then. Workaround still works. #### Version info ``` Inkscape 1.1.1 (c3084ef, 2021-09-22) Under macOS 11.4 this worked fine! After having upgraded to macOS 11.6 this bug occured. ```
issue