From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: PGTK build starts at random position (WSLG) Date: Fri, 25 Nov 2022 18:15:50 +0100 (CET) Message-ID: <99254210.280314.1669396550599@mail1.libero.it> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32272"; mail-complaints-to="usenet@ciao.gmane.io" To: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 25 18:16:48 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oycJj-0008Eq-Ug for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Nov 2022 18:16:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oycJ2-0003OB-Kd; Fri, 25 Nov 2022 12:16:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oycIv-0003Jf-Rz for emacs-devel@gnu.org; Fri, 25 Nov 2022 12:15:58 -0500 Original-Received: from smtp-16-i2.italiaonline.it ([213.209.12.16] helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oycIt-0006oG-UQ for emacs-devel@gnu.org; Fri, 25 Nov 2022 12:15:57 -0500 Original-Received: from oxapps-31-134.iol.local ([10.101.8.180]) by smtp-16.iol.local with ESMTPA id ycIooy7rZri8cycIooQwWb; Fri, 25 Nov 2022 18:15:51 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1669396551; bh=WtA9G9uFDuGJ+nZTVBv8zgv0NdjFJHXUIiaVux0IUM4=; h=From; b=U9Vvv6I7n/VRaTJVO643LzIWYFfg2fKhwlkWhjzwjHzZoIK54hTN12kcENzBizZEa j/+lQRjO0iIHXRXT+vH8zYUmui4cKVCxEZ/pHXQWtPrV+HA0iA3gbsMPmrdZLxebpr JR4dlVMQYwQKMEkwXDFCMbLF3Lkv6lTn1etjBZFmiFIegq6iPB0aJkYe5AOQGSx/NI TKHztkt+HpzlmjtUpmNbcBuXsHU20E/0kWbh7F/yC+wo61IW1S1uG0vNnwXJz0PIAA X6M8PqkVn5LFXxKestzOpa1bJKPx/CJysNQxkiWODNXTtfkAktAe7e0KChvy+3KQ3z 48Ka8g5am/ADQ== X-CNFS-Analysis: v=2.4 cv=GMfNrsBK c=1 sm=1 tr=0 ts=6380f847 cx=a_exe a=QA8ACeNzLsNFfyXXxgATbw==:117 a=JjPJLk3635EA:10 a=IkcTkHD0fZMA:10 a=Du5S5ujC4dEA:10 a=NEAV23lmAAAA:8 a=L_0csscUAAAA:8 a=0DAL2LqrHnVGmRlbiTQA:9 a=QEXdDO2ut3YA:10 a=5rXjtiOm18j7WfQHCx1P:22 X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.5-Rev51 X-Originating-IP: 80.181.47.164 X-Originating-Client: open-xchange-appsuite x-libjamsun: ICJQC/mp13r2VbNYhMBbxwyDQz4aFcFa x-libjamv: Q3sYv4b0rnk= X-CMAE-Envelope: MS4xfBmQXW8ONCNbRdtC8r5r14Z5HE65RZzfzZOU9+CR7VnzpURJ+C37yxoilA/QXpZiUk6w/vekupyztcD2Evzfa27LEBDwVLnUcNBWuxsvHSbSXPNYY+XE NYU2KOBkw1AQaqgwfHLWUeCEm8N7SEeUb/MZq3uXJc1C7yvEHzFgahZVcZQBCZpPQsga3PFxXP90Ud8RcW7KZ6facZBmXszVNoo= Received-SPF: pass client-ip=213.209.12.16; envelope-from=angelo.g0@libero.it; helo=libero.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300498 Archived-At: Recently there was a Windows update that back-ported WSLG (https://github.com/microsoft/wslg) to Win10 so one can run GUI app in WSL (Ubuntu 22.04 here)! I tried my Emacs master binaries (built on GNU/Linux Mint, GTK3+cairo) and they work (after the installation of some missing packages). I did directly the same build on WSL. I used also the same .emacs.d directory I have on Mint! Obviously it looks a bit different: there is no Emacs icon on the upper left corner (near the window title); the icon on the task bar is a little penguin over the Emacs icon..) Now I found this article: https://emacsredux.com/blog/2021/12/19/using-emacs-on-windows-11-with-wsl2 so tried to build a PGTK version and also these binaries work but when I start this toolkit of Emacs, it starts at random even if I have this code in the init.el file: (setq default-frame-alist '( (width . 120) ; character (height . 54) ; lines (left . 835); pixel (top . 0); pixel (font . "Monospace-11") ; font )) Notice that I use more or less the same code for the Windows, macOS and GNU/Linux builds (just the font or the left parameter changes) and it is respected. Not by PGTK build. In short, PGTK seems to ignore the top and left statements. Another issue is that I cannot copy/paste (C-w, M-w) from pgtk-Emacs elsewhere.. (I had to write manually the above code in this email). Do you know if these are PGTK bugs? or is there some work around? TIA, Angelo.