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: 7.4.0.0.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
Reproduced in recent trunk build: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 3cb1ed4339fc9aec414c0f112a69705a7a4d9cc6 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded