Created attachment 171163 [details]
Testdocument with two overlapping buttons
Open attached document and toggle between design mode on/off. Notice, that the buttons change their stacking order.
The stacking order in 'design mode on' follows correctly the z-index in file. But the stacking order in active mode (design mode off) follows the tab order. The stacking order should be the same in active mode as in design mode, following the z-index from file.
Reproduced already with 3.5.0, but not yet with 3.3.0
Arch Linux 64-bit
Version: 18.104.22.168.alpha0+ / LibreOffice Community
Build ID: 9a42c99d7b3e8a8429f14d7d851f3d186fa04594
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 14 April 2022