Hi all. A bit of an odd problem here.
I've a perl program that opens an X window using Tk. I specify the geometry 1400x700+0+0.
Running under Mint, it works fine, and opens exactly as expected in the top left screen corner.
On the Pi (pi4, 11/bullseye), it opens a window with the correct size but a very odd position:
xwininfo: Window id: 0x1a00013 "Display"
Absolute upper-left X: 1782 Absolute upper-left Y: 30 Relative upper-left X: 2 Relative upper-left Y: 30 Width: 1400 Height: 700 Depth: 24 Visual: 0x21 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x20 (not installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +1782+30 --1262+30 --1262-350 +1782-350 -geometry 1400x700+1780+0
which is well off to the right, with the title bar concealed underneath the top task bar.
Any thoughts please as to what might be going on?
(I know bulldog isn't the latest but I don't have any pressing need to upgrade. This machine is dedicated to running this one program.
I also see xrandr returns unexpected output about not being able to fetch the gamma value for the screen, which it calls "default". But maybe that's a red herring.)