----------------------------------------------------------------------------------
@MSGID: 3:633/10 7a89fdb9
@REPLY: 3:633/10 cffe1c43
@PID: PyGate 1.5.18
@TID: PyGate/Linux 1.5.18
@NOTE: Mozilla Thunderbird
@CHRS: CP1252 2
@TZUTC: 0100
@REPLYADDR: usenet.16@scottsonline.org.uk.invalid
@REPLYTO: 3:633/10 UUCP
@RFC-Message-ID: <112njb9$7eb8$1@dont-email.me>
On 09/07/2026 03:46, Robert Riches wrote:
> On 2026-07-08, Lawrence D?Oliveiro <
ldo@nz.invalid> wrote:
>> On Wed, 8 Jul 2026 12:03:51 +0100, Mike Scott wrote:
>>
>>> On the Pi (pi4, 11/bullseye), it opens a window with the correct
>>> size but a very odd position:
>>
>> On Wayland, the application is not in control of where its windows
>> appear.
>
> Then, what of the time-honored -geometry or --geometry option a
> user can add to a command line in a script or alias to create a
> window at a user-specified location? I have scripts that open
> multiple windows, each at a location specified by that option.
>
That option seems to have been lost in many cases (eg Lingot) where it
would be useful. Regrettable.
However, getting back to the original problem, I`ll hold up my hands and
say `programming error`. I still don`t understand the failure mode - the
program runs single or dual-head, distributing one or two Tk main
windows between them. I won`t include the suspect code here.
The code /looked/ OK, and worked fine on Mint where it was debugged.
However, running single-head on the Pi gave the weird position of the
window. I`ve reworked the code, and it all works now (or seems to) on
both machines.
It does raise the question though of exactly why the behaviour differed
so obscurely. Perl/Tk AFAIK shouldn`t be doing this.
Thanks for the comments. They did make me take a closer look at the code.
--
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