Default profile crashes after upgrade
Sure, I'll get the crash report shortly.
Meanwhile, I can reproduce the problem with a different profile simply by opening 12 windows, then quitting Orion. Then running Orion. When it tries to restore the 12 windows, it crashes. 11 windows is fine, 12 or more crashes.
I tried to drag the .ips file to upload it as an attachment here, but I get an error "Uploading files of this type is not allowed."
- Edited
(see .zip file in comment below)
I added it as a code block in the editor. I hope that works. Otherwise I can upload it somewhere else.
the forum accepts zip files, so I zipped the ips file.
I had been using google translate and bitwarden. Now, there are no extensions.
When I was first debugging the issue, I thought it might be extensions, so I renamed the "Extensions" folder, as explained in the Technical Information page "Start Orion without any extensions active" section.
Were you able to reproduce the issue by opening 12 windows and restarting? This seems to be the determining factor for me. I can produce a video if it will help?
makes sense. I'll try and make a clean reproduction.
I've resolved the problem.
I'll try to explain how. Before upgrading to the latest beta, I had my browser set up with "Use Vertical Tabs". However, I think something had gone wrong, because my 4 pinned tabs were laid out in a vertical stack of icons at the top of the tabs panel, rather than as they ought to be in a horizontal row of icons at the top.
On upgrading, Orion would crash immediately after launch, as described above.
I managed to get Orion running on this profile by erasing windows from the browser_state.plist file. When I had 11 or fewer windows, Orion would run.
Then, while it was running, I changed the sidebar setting to "Use Horizontal Tabs". Changing this resolved the issue, and I could have 12 or more tabs, and successfully re-open Orion.
When I set the sidebar settings back to "Use Vertical Tabs", the pinned tabs were restored to the usual layout. I was able to restore my original browser_state.plist file, and Orion is working as expected.
So, what I think happened is that something to do with the pinned tabs and sidebar got messed up before I upgraded. This interacted poorly with the upgraded code. Flipping the tab orientation fixed what got messed up, so things could work as expected.
Looking at changes in the com.kagi.kagimacOS.plist file, the most significant change between when the pinned tabs appeared incorrectly and I was getting crashes, and when the pinned tabs appeared correctly, is in the Pinned Tabs section. It changed from a dict of UUIDs/URLs
to an array of dicts {id: uuid, url: urlstring}
.
I wonder if this change in the format of saved preferences caused the weird pinned tabs layout, and this in turn caused the layout issue with more than 11 windows?
Anyway, my own problem is now resolved. Thanks so much for looking into it so far.
I have another profile that is still showing the problems above: pinned tabs shown in a horizontal stack, and cannot deal with more than 11 windows on restart.
Is there anything that would be useful to pull out of the various .plist files and send to you?
At some point I'll want to start using this profile again, so I'll do the "flip tabs orientation" trick to fix it. Until then, I can reproduce the problem.
Then again, maybe it's only a problem for me, and not worth more investigation. Either way, let me know if I can provide something useful.