I just encountered this and can reproduce it reliably with these steps:
- Start in the default tab group* without any private browsing tabs having been open since starting the app.
a. If you've had any private browsing tabs open, close any that remain, return to the default tab group, then stop and restart the app.
- Use the gesture to switch to private browsing. The app crashes.
If you have any private browsing tabs open, or if you've had any open since starting the app, the gesture toggles between normal and private browsing as expected.
*There's a different, seemingly related issue when trying this with the non-default tab group. Instead of the app crashing, the location bar and toolbar colors change to indicate private browsing. But when I open the Tab Groups menu, there are check marks next to both the private and non-private tab groups. And if I have a tab open, it stays active in both the private and non-private tab groups as if it's shared between the two.
Here's my debug info:
App version: 1.3.30 (1) (WebKit 8621.4.1.10.1)
System version: 18.7.1
Device type: ?unrecognized?
Native bounds: (1179.0, 2556.0)
Scale: 3.0
Regular tabs: 21/
Private tabs: 0/(
I can provide videos and/or screenshots if needed.