The scale setting for X11 is not remembered after reboot

Every time I reboot, or even after some time, the X11 scale setting stops affecting applications. When this happens, apps look like this.

r/kde - The scale setting for X11 is not remembered after reboot|750xauto

To fix it, I have to change the setting to “Scale by system” and then change it back to “scaling themselves.”

After doing that, the scaling works again, but after a while it stops working once more.

r/kde - The scale setting for X11 is not remembered after reboot|739xauto

-–

kubuntu 25.10

plasma 6.4 , 6.5

-–

How can this be fixed? I have to reapply the settings every time, which is inconvenient.