Hi Wise Ferret, this has been a problem with Gnome for a few years Hit and Miss.
Anyway have you tried, While Calc is your current program, use [Alt + Space] to force the window to maximize again, or resize to wherever you want it.
Code:
inxi -G | grep -e Display -e Device-1 -e v
Device-1: NVIDIA GA107BM [GeForce RTX 3050 Ti Mobile] driver: nvidia
v: 550.67
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel
Device-3: Bison Integrated Camera driver: uvcvideo type: USB
Display: wayland server: X.org v: 1.21.1.12 with: Xwayland v: 21.1.99
compositor: kwin_wayland driver: X: loaded: modesetting,nvidia dri: radeonsi
gpu: nvidia,amdgpu resolution: 1829x1029
API: EGL v: 1.5 drivers: nvidia,radeonsi,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.0.5-arch1.2
API: Vulkan v: 1.3.279 drivers: nvidia,radv surfaces: xcb,xlib,wayland