Upstream issue: https://github.com/Ultimaker/Cura/issues/21418
I've pushed a patch to Salsa, and also a fix for a similar issue in Uranium. https://salsa.debian.org/3dprinting-team/uranium https://salsa.debian.org/3dprinting-team/cura Fixed packages should arrive soon-ish. If you're in a hurry, you can also build them yourself from the Salsa repos.

