RBERRYPI ---------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 22 из 100
 От   : Mike Scott                          3:633/10          08 июл 26 12:03:51
 К    : All                                                   08 июл 26 16:03:02
 Тема : odd windowing issue (perl Tk)
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 3:633/10 a23c7f94
@PID: PyGate 1.5.18
@TID: PyGate/Linux 1.5.18
@NOTE: Mozilla Thunderbird
@CHRS: ASCII 1
@TZUTC: 0100
@REPLYADDR: usenet.16@scottsonline.org.uk.invalid
@REPLYTO: 3:633/10 UUCP
@RFC-Message-ID: <112laqn$3i60k$1@dont-email.me>
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.)



-- 
Mike Scott
Harlow, England


--- PyGate Linux v1.5.18
 * Origin: Dragon`s Lair, PyGate NNTP<>Fido Gate (3:633/10)
SEEN-BY: 19/10 50/109 153/757 218/840 840 220/70
221/1 6 360 226/17 100
SEEN-BY: 229/426 240/1120 267/800 301/1 113 812
310/31 335/364 341/66 463/68
SEEN-BY: 633/10 20 280 281 414 416 418 420 422
509 2744 712/848 770/1 3 100
SEEN-BY: 770/340 350 772/210 220 230 5019/40
5020/715 848 1042 4441 12000
SEEN-BY: 5030/49 722 1081 1474 5053/55 5061/133
5075/128
@PATH: 633/10 280 770/1 218/840 221/6 301/1
5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх