Created attachment 168323 [details] VS 2019 Call Stack, Add sheet to RTL sheet Start a daily build and enable "complex text layout". Start Calc. Set sheet to "right-to-left". That is in menu Sheet. Click on the + in the tab bar. That is now bottom _right_. Crash. A debug build shows error message: Unhandled exception at 0x00007FFB9EB9287E (ucrtbase.dll) in soffice.bin: Fatal program exit requested. The Call Stack is attacked.
Created attachment 168324 [details] gdb bt On pc Debian x86-64 with master sources updated today + gtk3 I got a crash. With gen rendering, LO enters in a loop where it never stops adding a new sheet.
With LO Debian package 7.0.4, I don't reproduce the crash with gtk3 or never ending loop with gen rendering. => regression. Caolán: it seems related to vcl/weld part. Thought you might be interested in this one.
The click causes the tabbar to be destroyed and recreated, what a pain
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a0bf3da7a610e35862878687fed01b63ee5e5308 tdf#139063 crash when add a new sheet to a RTL sheet It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
On pc Debian x86-64 with master sources updated today (including Caolán's patch), I don't reproduce the crash with gtk3 or the never ending loop with gen rendering. As always, thank you Caolán!