See also https://invent.kde.org/frameworks/kirigami/-/merge_requests/1338 and https://invent.kde.org/frameworks/kirigami/-/merge_requests/1340