When doing some research here is a list of similar calculator apps that have some advanced features like qalculate, but may or may not be on all platforms. Nothing against qalculate - just for completeness.
I think what often works for me is switching proton, but it's something specific - I think it's set the proton to one that works in desktop then change it to a different proton, but don't test it and it works in game mode. I forget where I got that.
When doing some research here is a list of similar calculator apps that have some advanced features like qalculate, but may or may not be on all platforms. Nothing against qalculate - just for completeness.