From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Sep 2020 13:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 43672@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160130098815671 (code B ref -1); Mon, 28 Sep 2020 13:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Sep 2020 13:49:48 +0000 Received: from localhost ([127.0.0.1]:51964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMtXH-00044h-ED for submit@debbugs.gnu.org; Mon, 28 Sep 2020 09:49:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:34270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMtXF-00044Z-Vf for submit@debbugs.gnu.org; Mon, 28 Sep 2020 09:49:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMtXD-000780-Sa for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 09:49:44 -0400 Received: from mail-oln040092064082.outbound.protection.outlook.com ([40.92.64.82]:14727 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMtX9-0006d3-IQ for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 09:49:42 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dk3Zl/Jh9a7EY9FZNfOlF27fJYMeMFVpIwgZMiiqg1/Yyz9ai4z4EMAZwB5lNro+cCySN2zqpNkjaeYzcsRL5NklC/iYXnLpSbMj7T2i/9dPvZfHtjs1kx5lwgUZsSF99Ze7av1VgZe/55L4ZvxxPTCD1voav9/jzfH7cWMc4qZdAvqtndg+lbotscyZ/+zHC1b7a8yUYcAqBPcBTkKkJRrUGE5DEp/Fm17slF67wuG1KYre2BoZMWEi13dur0aQACPf5my6gkxex+zv8MbGUcQ5MlzZV3+1KSJutC8F4cBWakyz+huQdIFrDjsIbtsqprGkLKtpNER5EDdqfH4XRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QfNuOmwpxqwWqBG55gnSAF6byqlEZ373U4jT1CX+fFQ=; b=J27Qt8HJMj9GIIIhuPRNftv+ddjihBpnl9BGQtQZYxFD94D/omuQVjQ/iZL8tm++AWqfxG++oyRkgru8PlHgptaU2TC5D4I7t2YMv396rqg9uQMP+inM1teu28W8VroFpvZpU0jRekwvR5PLwUmxKlQBlS0CxSo9FuLhRoeSRUR9fHSG4FOzNHlBB1DE/riVbL7Jna2KO909T+hxnkpgSwYHhigYfBUYZvE6kkR3HJoMFwtkydv9bvBfdQDsuSI/Ztxqx6m6/ismL9avOfTNdHguWBk6BuEGgxWByVixVYEMjf/5Vfi/4utKFK+l60Q2+dQc7c/vOhZySi5fAuXaMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QfNuOmwpxqwWqBG55gnSAF6byqlEZ373U4jT1CX+fFQ=; b=OTbplrMATfPWGnfMn545+K5UBNhLwglApykS2oPHD2N7EuKpMwdEU+uBDvdsGVo2NglMj/3qYdeeBbcI8NjBj+iuJWzQPcmIHcjWBS5ODEdcok+XtKVEBPr71LYQBgEAIoyJhqtVF7YkUKpvEYa4QVX7eN4Hio6nGmcQYpDOg2tRmHnsiy2egE3X9aAmFRB4qbiyCtKcNvvxc+oO3y+EQU0wtR83lO4h+Fcx2oKa/tohDfNb5b5PD8MBGuqrqTjO1wrvtuL/gvad5y/cKvt8NbhaPPZW7jOTtvY+qecS6jtIHFgwSQuX708HVnkOEmvP4oULUqGK88Pl2XvVFtnnfw== Received: from DB5EUR01FT006.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e1a::53) by DB5EUR01HT132.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e1a::368) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21; Mon, 28 Sep 2020 13:34:34 +0000 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e1a::4e) by DB5EUR01FT006.mail.protection.outlook.com (2a01:111:e400:7e1a::134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21 via Frontend Transport; Mon, 28 Sep 2020 13:34:34 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A9DBC429C7DD3FB5ABFC48047951967DEE50B348B59075A4D774E2EB4A5CD319; UpperCasedChecksum:CF410FB85F367EDEFB040615AE791158D02FEFC07884EA520A5DB8F0AB36EE61; SizeAsReceived:7297; Count:44 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3412.028; Mon, 28 Sep 2020 13:34:34 +0000 From: Arthur Miller Date: Mon, 28 Sep 2020 15:34:33 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: multipart/mixed; boundary="=-=-=" X-ClientProxiedBy: AM5PR1001CA0008.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:2::21) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87o8lq10uu.fsf@live.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pascal.homepc (90.230.29.56) by AM5PR1001CA0008.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20 via Frontend Transport; Mon, 28 Sep 2020 13:34:34 +0000 X-Microsoft-Original-Message-ID: <87o8lq10uu.fsf@live.com> X-TMN: [ixC7uLYAYnFjIVOdHT6lPft26/AiCakM] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 44 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 7a53fdd8-adea-4714-5277-08d863b33cd4 X-MS-TrafficTypeDiagnostic: DB5EUR01HT132: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GiDwdHE8uEdpe5b60+V81KJ7oix7JirpxPXNangbkET5kj8XGNbg2PWu4tL65UhnFkgU6cTNvjEeQcYmoPGIPGMzduR/SrhiljWYr81gWSHTSk/ziJuauH4l5ACeN2iF84lgrC+onAKl1rVvrTiw2ln1aZT9Yy+sCU4THx4nMNQy5LaxOSWwu0qeTsPKTvNvELlMd3RAx6rDrpregWOwNw== X-MS-Exchange-AntiSpam-MessageData: YpQt6TRLUTEiNAcHIGFmOpHRGcFvzxTGbO7Hj8uTFLp/3slMMHYWZg7+WJYHfoYLPFk9FRPV2uKbSLwg2cX7eorZdJVImAlP8TJkJE6LG1dfkrIF9H0nUPqbb+n7zBGTWFyvYYcP/RbFTIa2B0/kdA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a53fdd8-adea-4714-5277-08d863b33cd4 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2020 13:34:34.8346 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT006.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR01HT132 Received-SPF: pass client-ip=40.92.64.82; envelope-from=arthur.miller@live.com; helo=EUR01-DB5-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/28 09:49:37 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 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_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.614, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain When calling (select-frame-set-input-focus some-frame) the frame is raised, but does not recieve the focus. I have to call twice to 'select-frame-set-input-focus' for the frame to get focused. Docs says "focused if possible", so I am not sure if it some bug or/and how much does it depend on my window manager used; but calling it twice consecutively works. I have attached an example code. To reproduce, emacs -Q, an eval attached code. If I missunderstand docs, or am calling it wrongly, dissregard the rapport plz :-). --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=poor-man-menu.el Content-Description: test example ;;; poor-man-menu.el --- -*- lexical-binding: t; -*- (defun pm-test () (interactive) (let ((test (get-buffer "testmenu"))) (when (not test) (with-current-buffer (get-buffer-create "testmenu") (insert "one") (newline) (insert "two") (newline) (insert "three") (newline) (insert "four")))) (pm-show-at-point "testmenu")) (define-minor-mode pm-minor-mode :keymap (let ((map (make-sparse-keymap))) map)) (defun pm-quit () (interactive) (let ((b (window-buffer))) (when b (kill-buffer b))) (delete-frame (selected-frame))) (defun pm-show-at-point (menuname) (let ((position (pos-visible-in-window-p nil nil t))) (pm-create-menu menuname (nth 0 position) (nth 1 position)))) (defun pm-show-at-cursor (menuname) (let ((cursor-pos (mouse-pixel-position))) (pm-create-menu menuname (cadr cursor-pos) (cddr cursor-pos)))) (defun pm-create-menu (menuname x y) (when (not (get-buffer menuname)) (pm-load-menu menuname)) (with-current-buffer (get-buffer menuname) (pm-minor-mode) (define-key pm-minor-mode-map (kbd "C-g") 'pm-quit) (setq tab-line-format nil) (setq mode-line-format nil) (let ((parent (selected-frame)) (child-frame (make-frame '((visible . 0) (undecorated . 0) (keep-ratio . t) (menu-bar-lines . 0) (tool-bar-lines . 0) (left-fringe . 0) (right-fringe . 0) (line-spacing . 0) (unsplittable . t) (minibuffer . nil) (no-other-frame . t) (drag-internal-border . t) (inhibit-double-buffering . t) (desktop-dont-save . t))))) (set-frame-parameter child-frame 'parent-frame parent) (fit-frame-to-buffer child-frame) (set-frame-position child-frame x y) ;;(raise-frame child-frame) ;; needs two calls to get raised AND focused (select-frame-set-input-focus child-frame) (select-frame-set-input-focus child-frame)))) (provide 'poor-man-menu) --=-=-= Content-Type: text/plain In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.17.3) of 2020-09-27 built on pascal Repository revision: dc0cf16c7a60f36aafcf9b56513a855cefa7e1ad Repository branch: feature/native-comp Windowing system distributor 'The X.Org Foundation', version 11.0.12009000 System Description: Arch Linux Configured using: 'configure --with-gnutls --without-gconf --with-rsvg --with-x --with-xwidgets --without-toolkit-scroll-bars --without-xaw3d --without-gsettings --with-mailutils --with-nativecomp 'CFLAGS=-O3 -mtune=native -march=native -fomit-frame-pointer'' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB GTK3 X11 XDBE XIM MODULES NATIVE_COMP THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER LCMS2 Important settings: value of $LANG: sv_SE.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml easymenu mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils edmacro kmacro time-date subr-x cl-loaddefs cl-lib pure-menu easy-mmode tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face pcase macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 65534 9142) (symbols 48 7061 0) (strings 32 19304 1280) (string-bytes 1 699011) (vectors 16 12611) (vector-slots 8 276483 9931) (floats 8 26 105) (intervals 56 610 517) (buffers 992 13)) --=-=-=-- From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Sep 2020 13:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Arthur Miller Cc: 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160130148818013 (code B ref 43672); Mon, 28 Sep 2020 13:59:01 +0000 Received: (at 43672) by debbugs.gnu.org; 28 Sep 2020 13:58:08 +0000 Received: from localhost ([127.0.0.1]:53648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMtfM-0004gT-CI for submit@debbugs.gnu.org; Mon, 28 Sep 2020 09:58:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMtfK-0004fy-HD for 43672@debbugs.gnu.org; Mon, 28 Sep 2020 09:58:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=tXvvj6kNGs/Egx0d1xeUDO53e7i1Em3BblwPMeRHiNE=; b=OqrOlD1GiHxbm2XHrZNrMCswLE lyYBESWZ0CG7h1yzLmPfUgceifvU0gNbbdv6DXXa0/3WOpoPWTtWlLTB9v1+Ni5dcQzcHMoA57Nkt 7/HcPhgkRR9echrB7q8vynLIK+UFYHlPnHxmEPlB0MxuP+sofoxKyt2CPeij0gNnIPsc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMtfB-0007lE-JD; Mon, 28 Sep 2020 15:58:00 +0200 From: Lars Ingebrigtsen References: Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEXv4dLPtquldoSS WmliESU0Hiz///8M5QULAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QJHA03OggNk7cAAAGvSURBVDjL ddTBcoMgEABQNmnvrpp7Au3dsHBvBD6gKv//K11AI2ntzjiT8MIusBIhqsDnJ0BxHDW0eAQnREnN QdZOkjoEUFqZ6wEgSUnDEWhJ5gC4NDp955Qd50N5KwBAI3Za8oxLjGRjnMpyoSONVstrhhTfZQZ2 ylEYVVMBZJAq+KArGPIM6EbrfaAKrnkG9GQXHx1xjc8CTQb84IWESOlIVoACxhj+kqGkmiDX4HN1 Mc6kxTbjW5QZUo2W4f6EIQO0RKOylGqvqZoCSiknlcrwXkFLUunUpx1yKuj559wMxOYJc5NWZZzS JE3p6/t+iOAdkSE/1BAHEGfP4o0fM5xX4C32voR7gYjC8GB6fHm/dugPYf6d6uafNc4r5OIwL2GD Ew9Gfh4lk/dbKuDBsMF5yTDHBTOk+NpAb/BRIO/8slBouDeWlwv9KzjRJRj45angtNBDQKrO7azh zadXPvV34kZVxS/O8vF3ZQa+wCQK3MS23pyqVWk7bZzSFQazgxCpkWAH3KG6shAwgUg7dPf69sfy K4ZHfcUZysXuvXsZ52VNf/5Q1tDin+Bu/ABqYZPDt0KCiAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy MC0wOS0yOFQxMzo1NTo1OCswMDowMLlEXhoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDktMjhU MTM6NTU6NTgrMDA6MDDIGeamAAAAAElFTkSuQmCC X-Now-Playing: Cat Power's _The Covers Record_: "Kingsport Town" Date: Mon, 28 Sep 2020 15:57:56 +0200 In-Reply-To: (Arthur Miller's message of "Mon, 28 Sep 2020 15:34:33 +0200") Message-ID: <87d026uhp7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Arthur Miller writes: > When calling > > (select-frame-set-input-focus some-frame) > > the frame is raised, but does not recieve the focus. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Arthur Miller writes: > When calling > > (select-frame-set-input-focus some-frame) > > the frame is raised, but does not recieve the focus. [...] > (define-minor-mode pm-minor-mode > :keymap (let ((map (make-sparse-keymap))) > map)) This isn't valid (lacks a doc string), but after fixing it, I'm unable to reproduce the bug? I think? At least my frame lost focus, but the other frame never really appeared in any visible sense. It did something really weird to my Gnome Shell desktop -- even after closing the Emacs that opened the frames, Gnome Shell insists that they're there, but not responding. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Sep 2020 14:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160130232227485 (code B ref 43672); Mon, 28 Sep 2020 14:13:02 +0000 Received: (at 43672) by debbugs.gnu.org; 28 Sep 2020 14:12:02 +0000 Received: from localhost ([127.0.0.1]:53664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMtso-000795-CO for submit@debbugs.gnu.org; Mon, 28 Sep 2020 10:12:02 -0400 Received: from mail-oln040092066053.outbound.protection.outlook.com ([40.92.66.53]:32165 helo=EUR01-VE1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMtsi-00078f-Nt for 43672@debbugs.gnu.org; Mon, 28 Sep 2020 10:12:00 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EBWIBkiRDSwsasO/Fka5+tCl1ivMQmLaIsUhqGVbbBn1elYdeiCTw51XvnncVLhCwx8rPn+Rd5EGWYKSMQbRvMEtQb+PR1N/zHhVeliVKECqYUEB5PZ/4b6bHKaUq7W8gtCx3zXA5MtNGDSFaBLp2jYI8W/Gk2Ymb++Zb4gxSbBuKtg/nWV/OnhSC97Vt/wdTK1JhbceQtxnwX+sosNEZ0iV4pI+vYuufP/rEuQltGcncvKmT7tGMUlOxEFdpZjTU05Ck9qVXoCBHRmsKgCHPUFvo0rx3N1yS7dNUlFL83mAuCZy6/lIX0Dq2/KKN5qFjpVhx7moErEmljAtHiP+NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HW9KPJZ6e1L+97ro1jVqIgMHVkVxYRzy4Vg0Zg1fQQM=; b=KI4DmUSV8INl9bqPzFV2fzFNKmW20+3/Q6z7ryi4JteBDuphiw2+qHc+9KaTu6Y5PNDHDfzepiYa5ERCu7xFB68RtgJy4IF7dWqqUKzOM1deleFfqOFeJdHxT4EaNlNcZJTE2/yleBltfMdjyB3m+fq9MSp4vdmdIWMaW/McgRm9SgMYA9gbZEvj8Rm2VRax+2SCzOcuyJ8UCU9nZQN8/tZ7b3Fa0hfHxy4Og9lu79PLouK1mBjPu+j2P/ypRkXQRjN8qxkT+uuvDc+bjLQPy0/kisdnpgXJypix+QFX19HeSMm0q4BQKk/iHAKXjBNspqnXi4clZCitUmgNHwtYJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HW9KPJZ6e1L+97ro1jVqIgMHVkVxYRzy4Vg0Zg1fQQM=; b=oknWbCuhm/CI7CdxtGBmkM+dP7LjADQYq57TbDEgDA+W+Og0fhx3FcuSyf5GKcGHsIuubMbfYJHb0xTomf/d55FGofj3pACbgz36oYGjR/o/sIkSIwAnVRw0N+/jExi7bWs6QINb41XZVwUILyQFJdn6lsF9d6hOyMr+r6ALEM0nCBdusal9pFL3bKsBBRdzwna68hbUuln/3IlJp6HFCHO1uOEP7wqR8b1xipWbt6eICYOXxWlt6xr1jiYGZbA/F3iAuAQBefltwdFBMopRiDZ7SizS9ZnXbcT4QCQCPA0p1wvONjFAwh7xvqrLis89oadSm2Ck0ctMpnV9JB8MUA== Received: from VE1EUR01FT009.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::4a) by VE1EUR01HT176.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::190) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21; Mon, 28 Sep 2020 14:11:50 +0000 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e19::4d) by VE1EUR01FT009.mail.protection.outlook.com (2a01:111:e400:7e19::141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21 via Frontend Transport; Mon, 28 Sep 2020 14:11:50 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A77C7F45372AD67D8069B3D553B2686D0A216D8C38C3A9DED6366507AB7CF8D5; UpperCasedChecksum:168AF5A12B725D1D08457E22B543E1C80A12265EEE00D7DB6CC0DDB8FC66E4AB; SizeAsReceived:7571; Count:47 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3412.028; Mon, 28 Sep 2020 14:11:50 +0000 From: Arthur Miller References: <87d026uhp7.fsf@gnus.org> Date: Mon, 28 Sep 2020 16:11:48 +0200 In-Reply-To: <87d026uhp7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 28 Sep 2020 15:57:56 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-ClientProxiedBy: AM6PR10CA0041.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::18) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87k0we0z4r.fsf@live.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pascal.homepc (90.230.29.56) by AM6PR10CA0041.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.22 via Frontend Transport; Mon, 28 Sep 2020 14:11:49 +0000 X-Microsoft-Original-Message-ID: <87k0we0z4r.fsf@live.com> X-TMN: [XDY7Am8AgYKPpVMM3Z2Ryi11XEoIdf+H] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 51eb013a-c936-436c-a83a-08d863b87139 X-MS-TrafficTypeDiagnostic: VE1EUR01HT176: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R1zQ/CpCQsDPAvrvvcDPy7d8sQwL4lBuKXdYwS+2XvTexRGioxoIGA//V6FpQPMYx+DzYAxnlNrKm3D5rczDIM/du7dx0m1uMXA+qzE+5KGK+I2+hAnQiMQqK7Q/F3a2dnnsvEr2CTESiQBe7oHmRBKkFikKBfXsfdbD+Dm42m26cKcliUsoD3kbq2aoi3lFtvXAge/bo9kTVEmqGGFllA== X-MS-Exchange-AntiSpam-MessageData: GGXJoKXoLK8mFhRj8rfQZYFMU5jMX7aJJrU5Wdy9xag6ZL/vW0rPjVZ3Tuc/K1ukULuy6ToBKAuK5511GNfXy3OKgx8jdCPsUY+JtaD9c95dTUIlGbl8joilY2DiH5DzVE4XxVomIlhiaLq788orJA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51eb013a-c936-436c-a83a-08d863b87139 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2020 14:11:50.0879 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT009.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT176 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Lars Ingebrigtsen writes: > Arthur Miller writes: > >> When calling >> >> (select-frame-set-input-focus some-frame) >> >> the frame is raised, but does not recieve the focus. > > > [...] > >> (define-minor-mode pm-minor-mode >> :keymap (let ((map (make-sparse-keymap))) >> map)) > > This isn't valid (lacks a doc string), Ah, ok; It was just a quickie to let me close menu without M-x delete-frame when I test. > but after fixing it, I'm unable > to reproduce the bug? I think? At least my frame lost focus, but the > other frame never really appeared in any visible sense. Can it be it just ended somewhere outside the screen? Did you run via the "test" function (pm-test)? It should take pixel coordinate of the point and try to place the frame at those coords. > It did something really weird to my Gnome Shell desktop -- even after > closing the Emacs that opened the frames, Gnome Shell insists that > they're there, but not responding. That sounds really weird. The code does notthing special; it just creates a child frame, and tries to display a buffer in it. On my machine (I use Compiz as WM), it displays properly, either at point or cursor. It is just that focus does not get transfered as advertised (as I understand it). Thanks for looking at it. From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Sep 2020 14:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Arthur Miller Cc: 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160130249927730 (code B ref 43672); Mon, 28 Sep 2020 14:15:01 +0000 Received: (at 43672) by debbugs.gnu.org; 28 Sep 2020 14:14:59 +0000 Received: from localhost ([127.0.0.1]:53668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMtve-0007DC-Sa for submit@debbugs.gnu.org; Mon, 28 Sep 2020 10:14:59 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMtvc-0007Cx-6m for 43672@debbugs.gnu.org; Mon, 28 Sep 2020 10:14:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fdeEPsZJ44Pr1czdf8C1nsSjfk8BaOniTzQ+WkfMJzY=; b=kw92u7vSQbbk63dEj2wSBYPzxx 3aYniDp6kkw8DSVoBTnxv0jyj37xbVc/FfFWzMvNVKHmHnj/F+4pUKxkLZ+VYe+2OeuOuRRIboaPj rsjip6k6bokU2Ryp4R7whLN9pohtdmV1DITJmT7+XQU05e4md2LyiyNouKRO1yJms+Uo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMtvT-0007ui-F2; Mon, 28 Sep 2020 16:14:49 +0200 From: Lars Ingebrigtsen References: <87d026uhp7.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEXv4dLPtquldoSS WmliESU0Hiz///8M5QULAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QJHA03OggNk7cAAAGvSURBVDjL ddTBcoMgEABQNmnvrpp7Au3dsHBvBD6gKv//K11AI2ntzjiT8MIusBIhqsDnJ0BxHDW0eAQnREnN QdZOkjoEUFqZ6wEgSUnDEWhJ5gC4NDp955Qd50N5KwBAI3Za8oxLjGRjnMpyoSONVstrhhTfZQZ2 ylEYVVMBZJAq+KArGPIM6EbrfaAKrnkG9GQXHx1xjc8CTQb84IWESOlIVoACxhj+kqGkmiDX4HN1 Mc6kxTbjW5QZUo2W4f6EIQO0RKOylGqvqZoCSiknlcrwXkFLUunUpx1yKuj559wMxOYJc5NWZZzS JE3p6/t+iOAdkSE/1BAHEGfP4o0fM5xX4C32voR7gYjC8GB6fHm/dugPYf6d6uafNc4r5OIwL2GD Ew9Gfh4lk/dbKuDBsMF5yTDHBTOk+NpAb/BRIO/8slBouDeWlwv9KzjRJRj45angtNBDQKrO7azh zadXPvV34kZVxS/O8vF3ZQa+wCQK3MS23pyqVWk7bZzSFQazgxCpkWAH3KG6shAwgUg7dPf69sfy K4ZHfcUZysXuvXsZ52VNf/5Q1tDin+Bu/ABqYZPDt0KCiAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy MC0wOS0yOFQxMzo1NTo1OCswMDowMLlEXhoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDktMjhU MTM6NTU6NTgrMDA6MDDIGeamAAAAAElFTkSuQmCC X-Now-Playing: Cat Power's _The Covers Record_: "I Found a Reason" Date: Mon, 28 Sep 2020 16:14:46 +0200 In-Reply-To: (Arthur Miller's message of "Mon, 28 Sep 2020 16:11:48 +0200") Message-ID: <87y2kut2cp.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Arthur Miller writes: > Can it be it just ended somewhere outside the screen? It's possible. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Arthur Miller writes: > Can it be it just ended somewhere outside the screen? It's possible. > Did you run via the "test" function (pm-test)? It should take pixel > coordinate of the point and try to place the frame at those coords. Yes, I did M-x pm-test. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Sep 2020 14:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160130402430194 (code B ref 43672); Mon, 28 Sep 2020 14:41:03 +0000 Received: (at 43672) by debbugs.gnu.org; 28 Sep 2020 14:40:24 +0000 Received: from localhost ([127.0.0.1]:53695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMuKG-0007qw-35 for submit@debbugs.gnu.org; Mon, 28 Sep 2020 10:40:24 -0400 Received: from mail-oln040092071033.outbound.protection.outlook.com ([40.92.71.33]:45440 helo=EUR03-DB5-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMuKC-0007qc-4k for 43672@debbugs.gnu.org; Mon, 28 Sep 2020 10:40:22 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HedWJ7l+LUxF3u4L79ZC5hYp2SaVtbcryqfNSu+iHvUvq6RzMZP1jDZutQNEiSB7ALR7pJFJoncX3Zh6lG/9VsRwzeduGDg3VmpKhWLteVpWNDnP9KedHqyw7NAskDEr3eU4a0Wu9QmU8+9sugYvac/mqDRM3y1CkJo15XL+mYum3m+voWOuT6GWpYANOsMj8nzTSMEqh7NdHjVnUyeV53GuNumvVKKAeClhyMNdlskdF0VuCm3l16JErze27U9TYY+XX2jBjxahTjGstRAGZO2UVmbmh7ODF9wPSs5PyuAJPSZhFwdDwpO27NK19mwMglfWMapS0rmwzElTYc4pDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JyGnxa57dGdKQeS5+X79vlydtBPLBuX/qoO1Wt5fU9g=; b=dz2rULjhRMUdSSMc+DrBnEeAYyzngwQf4/wdTsGFRNRUAb4xHR8zMWmkaErK6bvHOg5ceMdgUYqTiW9IYEN923pIkOCRvXF24gVYY/4SqkjM49KKVRBJ8s6pJnLxtGozjpiXsQTPgtqcvZXu79iNNeOEQgSaSaXOx9MUX9QuLzbbcA4BCEou0kKVBhscLSY+3dWeJZwOdb9JbfVCxcw5OkSXuIPBpwAZGKWck0ZLeXgjoS3vcArE0lGi3mS4vBU/zg191zsmUSyxJbfeYp+UFEEu0mHEWji/r1hl63KRyb4VUw1bfUKvbylGfQZaFEraXngBvUzpalKVWpgNMIN3IQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JyGnxa57dGdKQeS5+X79vlydtBPLBuX/qoO1Wt5fU9g=; b=kml8UAYePJcdeX2PW1fS4A+ypw8aWoUTAb5qZD6BsIK/yvr1N85vSWocJi8isj97kGR2bHelKbFGo2nemkm+JvUadOc6CaxVhKVBluKTlrR5wVIA0ETzQsTxqRcLhTsfsQ+6YwobM4xblugE/5INZ02usTMNwdPI9OD2VcmRK0RM6ESt+N3P0mKwkonPnZEalRa6Wq9c8ZABPtg5u1Z8ToorEk3aG/zIOUyayMiJHY65vi6GRT0nZ7tLVG8WhQeiSNL9fm+wiYzpv65Flczo8MNtSD3zfpxtaKgf/9sZDZqqbJv7TTnNeUNbpTHtn4PHksmgA1nLuYjnuDFr0dHY1Q== Received: from AM5EUR03FT014.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e08::4b) by AM5EUR03HT170.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e08::387) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21; Mon, 28 Sep 2020 14:40:13 +0000 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e08::49) by AM5EUR03FT014.mail.protection.outlook.com (2a01:111:e400:7e08::130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21 via Frontend Transport; Mon, 28 Sep 2020 14:40:13 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A4D3A1E1D07D0F441F707CA74B091AF98D14FFCAB21ABCE2B06163EFBB537185; UpperCasedChecksum:76E67040866BCC9D6A54E42B7F1EBF7C5BCE620CFA5BE1EDC982AF5882AB7637; SizeAsReceived:7682; Count:47 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3412.028; Mon, 28 Sep 2020 14:40:13 +0000 From: Arthur Miller References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> Date: Mon, 28 Sep 2020 16:40:12 +0200 In-Reply-To: <87y2kut2cp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 28 Sep 2020 16:14:46 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-ClientProxiedBy: AM6PR05CA0011.eurprd05.prod.outlook.com (2603:10a6:20b:2e::24) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <877dse0xtf.fsf@live.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pascal.homepc (90.230.29.56) by AM6PR05CA0011.eurprd05.prod.outlook.com (2603:10a6:20b:2e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20 via Frontend Transport; Mon, 28 Sep 2020 14:40:13 +0000 X-Microsoft-Original-Message-ID: <877dse0xtf.fsf@live.com> X-TMN: [gtSCUWGTjNMzxBial+mfdUTZBpPCX0mL] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 1232def7-5f2b-4832-ad3c-08d863bc688a X-MS-TrafficTypeDiagnostic: AM5EUR03HT170: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MGi9lER//mGor2TWlRGwxHZkAOugkH6Cbhcds2ibo+ofgtgMEGnBkmEggpGZGThU/xyqo0JkgqQuuex9trjAf2sDIrKjgH5zdgWKv7oIKatpUJYbDr5H3Z1s8H98TNzZgUNjhMTxe+EXi62FbRR8bfAM/paEzOHzbEaMhBXrSEA63jHAqF9zov7g2JYAY436v8XNb6HOGK/3I5+eYHXbgA== X-MS-Exchange-AntiSpam-MessageData: qWTzbr7ocXOudG1ZCA2hVubYE545yTYSql4fePlzYc74QiOGPREHcLcDb2kVt00ux21BDyryU7xm4QRvxNxaDylaKuCaV62QA7leSj17pLleHX0VjNFRo4PXCeHqLAFsn5knjzwm6PqgGl5D3hW9zw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1232def7-5f2b-4832-ad3c-08d863bc688a X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2020 14:40:13.6282 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR03HT170 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Lars Ingebrigtsen writes: > Arthur Miller writes: > >> Can it be it just ended somewhere outside the screen? > > It's possible. I usually click somewhere in the middle of the screen in Emacs when I test :-). The code is just a rough scatch, I was just playing with an idea to see if it could work. You can also try to change the test function to pm-show-at-cursor, and just have the cursor somewhere in the window. >> Did you run via the "test" function (pm-test)? It should take pixel >> coordinate of the point and try to place the frame at those coords. > > Yes, I did M-x pm-test. I can't tell, if it has something to do with Gnome shell; I don't have it installed myself; but than it is probably a bug? Emacs should display and kill child frames correctly regardless of the window manager. From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Sep 2020 18:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Arthur Miller , 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160131596224350 (code B ref 43672); Mon, 28 Sep 2020 18:00:02 +0000 Received: (at 43672) by debbugs.gnu.org; 28 Sep 2020 17:59:22 +0000 Received: from localhost ([127.0.0.1]:53920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMxQo-0006Kg-DY for submit@debbugs.gnu.org; Mon, 28 Sep 2020 13:59:22 -0400 Received: from mout.gmx.net ([212.227.17.22]:35847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMxQm-0006KS-CH for 43672@debbugs.gnu.org; Mon, 28 Sep 2020 13:59:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601315951; bh=t9m9b1wV1AYRZCKi5a2yyatcwmLTfobYqYO2zxrkcOs=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=H2n8OQy3e41qFoXGkM3L2XoC8+7Kcj9VGlJvPtWIZKNfbCcuBhoYVypnhGyuN+2DJ srqmtOToxyw64jpr7eCdhyD7wx1eWaCVA6s+p3vRa2/jP424+KNU9Itg6yLHBQIXa/ iUliGAD3E0ygxoTj/xXessrK9Dzul7tTQtbCEGBY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.102] ([46.125.249.25]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M8ykg-1kJ7g902Gk-0064VU; Mon, 28 Sep 2020 19:59:11 +0200 References: From: martin rudalics Message-ID: Date: Mon, 28 Sep 2020 19:59:08 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:q9XzbqD3IUWrhaejSAPOdLCCksVjA+0Xso/iTvRvm65G+ezijJv HVL57JrVuiq9cG6kgFpg4ieWxZxDqkVLWToOmoZDEtmarCWHAa68FyRxmyJrl4VOf+lkEo/ ezF79qjLNN4Ytn1NHAf9UUgaWRZYDc+bRw/Fs+Bvroj+LnPjAg/wO683CnweNyVh6LRjWkd uEkKytRWm1hx5+OfvRRJQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:e3pb+D9jP68=:cJvcHqM6dXHMDCnvHD7E3x zvsEANjIZMSltPWHetKMQMDNqY/gHmvyQLwc2W+xVll8xdEnpcG49eSnX4ue1OYrk1NsgzxA4 RIqAbrOyiO9Bwg6KQHI9yYVMXvS/VjAhpo2WQUeKeFi6yusrdHd47wNjBxNjbOKFZCk8DLDpx IoA1Sf6i712bGNKSQ89awtXmvgbOsq/FepgFAtFtxQ5pmPOvuNDZsWc8JwtofSe0hrxZ8sL2w srjYGxW8ZwrjaW5U6QhNrcURWMX7e4oNjIXYgbb7y5MikbGYaF4Cuok2gAbcDvW/0xdqOSw/u nDwkCoqJ3AjjnFhToJmPDS58j44jNtfXsax66FIatbzMZnEGllb4F4fsWzxPVyhST44NbOXDd qKor9/JTr/wEdglvsCZ8qjqOIW8FiDG/+WKQfyEtMAaL6XNRRqBCw+gj4tl5Wt9mofT5nisG4 r4lbRCoJY8r6L9PDiZ+V5nBN9n1IGzRYZuuweKyETl9s5r3sjfVcWUv91asIpwKUd6QFzpCiw m5vMOg+sxBCkZaHYUudRa6xnWpnlzUe3Yg6qamJBZj++hJonh4NMiF5942eE10WyF2oGalgxb qnWiV8k2Bc0lZ3Oo5jT9lk3j1NvCkCZLS1ggrPQyH48qRpKZRAxBw/Wo1/PQk+0l89Wmj8g0u m8Kf7OOTAtPEt6CRgVXzllrwGBE8kB/wbfGkSiATm662Dzd2SCoYxgq2fR/bf54ectpF3jwje PQUyBVNK1gXDCs9HZklEt+D3VIXiYaV2ZG8UFiMP8fHczPZE6xLjaxVz2r8d9CPfmiEKG05N8 DecTkS6/U5My+78EA0kYKf7sbho78s37ICwtcUWt/gOcXhBlIvzhrxB/DmLvbJO/vrxh3UbFS WvjpgMxl3PnJEi5HlIfPXOsYK5J9PcXpkG0V5mcyxI56ip+UjPChTsW84FHbNxWKQfQiFUORG Gb4z5p8MTQ6hIEWbkCarGIpJGSIT82ET7IVUXCpTheycFWpdwhDvMK53QGAyGEuROTdlNVcd/ 2rxqWKrIG5cIbvLmw6UBd4m6h4N2Xq49nu+LZRSi+9I4OHJKcsRTZovAnKepMc5akWN7LPI9o VKx/kuhmMXXPgPHhIXmL4kWCIqQVgi56RCaQHOCYXc+Nm+jTCTBWpvqER1isjc5vuEJong6UI 765uuk+4lrPqFmWXESraYiej9XglwTbsolF4qHgOGJmp7BTeWIODvXSWsFbOQB+UOaxiRKLx/ LQGT88VdDXFUZ4/iGEvqHcGam7byW7G6rMeCVEw== X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) > When calling > > (select-frame-set-input-focus some-frame) > > the frame is raised, but does not recieve the focus. I have to call > twice to 'select-frame-set-input-focus' for the frame to get > focused. Docs says "focused if possible", so I am not sure if it some > bug or/and how much does it depend on my window manager used; but > calling it twice consecutively works. > > I have attached an example code. To reproduce, emacs -Q, an eval > attached code. These two settings don't make much sense (child-frame (make-frame '((visible . 0) (undecorated . 0) For the moment let's stick to the simpler (defvar child-frame nil) (defun make-child-frame () (interactive) (setq child-frame (make-frame `((parent-frame . ,(selected-frame)) (left . 10) (top . 10) (width . 20) (height . 10)))) (select-frame-set-input-focus child-frame)) (defun delete-child-frame () (interactive) (delete-frame child-frame)) If you call 'make-child-frame', does the child frame get selected? If not, we have to try some workaround, maybe a (sit-for 0) before the 'select-frame-set-input-focus' call. martin From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Sep 2020 18:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen , Arthur Miller Cc: 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160131597324373 (code B ref 43672); Mon, 28 Sep 2020 18:00:03 +0000 Received: (at 43672) by debbugs.gnu.org; 28 Sep 2020 17:59:33 +0000 Received: from localhost ([127.0.0.1]:53923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMxQy-0006L3-Pp for submit@debbugs.gnu.org; Mon, 28 Sep 2020 13:59:32 -0400 Received: from mout.gmx.net ([212.227.17.20]:57521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMxQx-0006Kq-Bs for 43672@debbugs.gnu.org; Mon, 28 Sep 2020 13:59:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601315964; bh=T1AwtnptNSegnez44PtRVR1gKGJu/PBnmtfIScfwuH4=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=HiPZieYAcUbxh/um0Vz0GYWEhHa3vtcXga0SmlcM26pctE6D8pJJBI2YxZfRvuE5K ilt1b9g4Pl+3g/OS+uDL3iu1DCENOSPAaPuoZYVK6y5YjvwhQO4tKa5Q0RgjAn4vVQ qFD+wBBBNtxeXdaYVisPn9+Wz5uGq36ODeUpsgL8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.102] ([46.125.249.25]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mw9UK-1kfrIG2j8m-00s6kg; Mon, 28 Sep 2020 19:59:24 +0200 References: <87d026uhp7.fsf@gnus.org> From: martin rudalics Message-ID: Date: Mon, 28 Sep 2020 19:59:23 +0200 MIME-Version: 1.0 In-Reply-To: <87d026uhp7.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:j3QwxNJPFPLjKyYj93osVy24WjiwiXTHtPC1F7xwJ59vPecr3pu G22na8JU35PMdgag/0RKVqYfv7/KkS5FUbivyXy6LQmDDzTxPvYhN78TK4jgzbljQWuuyld 8eSdEhFZOHzmmLirgleQBqeZaB6r+/fVTyVycd3daPQ05MMKt9CCJgW7NdNr3Ja8ZcERED3 EaVE+p5GAi1JMFFbA9Bmw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+B84kF38jLA=:lHYIaTv9bvtZYLEmSNB3a0 W+HYH6MTlZ/yypmn7BAA/FBZj+GIOBAY3cFCmLeIoDlbbrbuvAEpoU8tSb8OBn3RC6xtILRTK NIFjafw4X6sFqrp057/tf+ba7ze/AuQmjhawCpKmjiVs79V5Vq+MDlc91PROLmz5vkk7732Nu CuSowh2zbnMFiAN89e8/dD9afTgyQvqcxjQJdv71ajQHF/JpTF5Up3Nu0T/dTnpkkivqnQmta VT/Mzos1R/gzQc/MtD0jth8/19hOS2zpOpKZCXgfbowrsE3Ld4DGoHcLPxkEtoMHXkMP4bnmh vFlTFvpiTpRBi6jIS17ScTGPPedQpbU5UmAJBUXk4kAENvzhKsxgIyEKYFI4Ar3QOqMvzYFIw y6HD7NadMOH+gRcr/zSI71OWm929OJGqz37vQ3JJqkLZAAlVKzk68xjvQ1+w43AWLGBamBk7K 6fugaUOr4in5m1/tnJrdSnTUV2hP4dYfZq33bpGU04fEXZS31c92u6RbEP0zv2MVIfbgMuzBy ocj9OLZssA3+W1VnV/bp5WuDy4IyGm7GnwPmikDQGJvWoPGrhourrZa9lHfcE3HdUrTj7BkVP bYd7mREzBruPIzTnAmehSR+8UsJIUoUvKjxUm/tcs4Jf+ri68jVrto8WfeTVaF4VyKUxNrmIB IYPvuk80S4BNIFDb9b+9iCfDp920mBo3uMbkOXGRYaDAft1qp/05Zg5coWLB0OrXt2ufr/bMC XmwI+PDDWQl+qbwtNVa1PuBx+lWDcL9W8Fou88UWUkmIwqLHweJzWhjhWfnlS3BeJA4li2wga iCO9uzNBWoW/EHr28UwMCZJAwo42OA2cdqiyWSztZOl+n1gqKyE+Tgebdpd3ZbC2qH5UPjq1y OeqlvtXfqM98qciGJh+swHwXnYGfjtp5xDChftTu8CGF0WxBlftZIXlibZv+UhitM+APj+wG/ L1MsP9Qj7gsHmt5vWQ0Bw9jgiVUi+7TesNLbHGKilMRtZPILHaoStZginT7oz4n0hNqBGURD0 y1Aq/Pl1/4WeNj6e5BGL23HVMOySuzbmQw6KDwdCQdtdhFQtKvJXUzqF4kCJL4ihPjS6ZKlXu NiD4BGNj7nNUW1hHwzabgEsySMP/1FL7MWnjI2SDlLxuhk+H3pE/tFsbsoZaduNUa7nigPlA2 iWyZPFGHFDRyvTrIYmWZwHV43+mGLjFH28uHVRtu1qVDdXatHouLDKeSt110g/ZHrkY3MStnO jds6Ml+cKyO8Ad1xBxBmVsYnqcro7C07WZgB83g== X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) > It did something really weird to my Gnome Shell desktop -- even after > closing the Emacs that opened the frames, Gnome Shell insists that > they're there, but not responding. Maybe the child frame 1-to-1 covers its parent. Either way Gnome Shell (mutter) doesn't like child frames. martin From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Sep 2020 13:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Arthur Miller Cc: 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160138723231389 (code B ref 43672); Tue, 29 Sep 2020 13:48:02 +0000 Received: (at 43672) by debbugs.gnu.org; 29 Sep 2020 13:47:12 +0000 Received: from localhost ([127.0.0.1]:55267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNFyJ-0008AD-Qd for submit@debbugs.gnu.org; Tue, 29 Sep 2020 09:47:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNFyI-0008A0-1l for 43672@debbugs.gnu.org; Tue, 29 Sep 2020 09:47:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RlwbuzlSmleNxoKsJ2uYy7XIB0htRBgXQx5nCGUmDcc=; b=B41KrbxoNsXINd245a6/8I5ykI +Ka3TfFsY4jux8XTcuso9FENnkCRpIzDroV04Sgm+/SKQ3Kq+Tl1ZrXq3wCVzG9mL1uPCNWqkNU1A mkzb5Dk2Nx+et2vHt3Zb8HMH4xkHxi5qLlatfG/Hf+JjsUBKUY3BqDUeLE1hrYveIXTc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNFxy-0007QM-SS; Tue, 29 Sep 2020 15:47:03 +0200 From: Lars Ingebrigtsen References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEXv4dLPtquldoSS WmliESU0Hiz///8M5QULAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QJHQ0bHrWDe60AAAGvSURBVDjL ddTBcoMgEABQNmnvrpp7Au3dsHBvBD6gKv//K11AI2ntzjiT8MIusBIhqsDnJ0BxHDW0eAQnREnN QdZOkjoEUFqZ6wEgSUnDEWhJ5gC4NDp955Qd50N5KwBAI3Za8oxLjGRjnMpyoSONVstrhhTfZQZ2 ylEYVVMBZJAq+KArGPIM6EbrfaAKrnkG9GQXHx1xjc8CTQb84IWESOlIVoACxhj+kqGkmiDX4HN1 Mc6kxTbjW5QZUo2W4f6EIQO0RKOylGqvqZoCSiknlcrwXkFLUunUpx1yKuj559wMxOYJc5NWZZzS JE3p6/t+iOAdkSE/1BAHEGfP4o0fM5xX4C32voR7gYjC8GB6fHm/dugPYf6d6uafNc4r5OIwL2GD Ew9Gfh4lk/dbKuDBsMF5yTDHBTOk+NpAb/BRIO/8slBouDeWlwv9KzjRJRj45angtNBDQKrO7azh zadXPvV34kZVxS/O8vF3ZQa+wCQK3MS23pyqVWk7bZzSFQazgxCpkWAH3KG6shAwgUg7dPf69sfy K4ZHfcUZysXuvXsZ52VNf/5Q1tDin+Bu/ABqYZPDt0KCiAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy MC0wOS0yOVQxMzoyNzozMCswMDowMM9iTdUAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDktMjlU MTM6Mjc6MzArMDA6MDC+P/VpAAAAAElFTkSuQmCC X-Now-Playing: Cat Power's _The Covers Record_: "Red Apples" Date: Tue, 29 Sep 2020 15:46:49 +0200 In-Reply-To: (Arthur Miller's message of "Mon, 28 Sep 2020 16:40:12 +0200") Message-ID: <87a6x8elva.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Arthur Miller writes: > I can't tell, if it has something to do with Gnome shell; I don't have > it installed myself; but than it is probably a bug? Emacs should display > and kill child frames correctly regardless of the [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Arthur Miller writes: > I can't tell, if it has something to do with Gnome shell; I don't have > it installed myself; but than it is probably a bug? Emacs should display > and kill child frames correctly regardless of the window manager. Indeed. After closing the other windows here, I saw that the frames were sitting in the background, but with no way to interact with them. (Even after the Emacs process was long gone.) This has to be a bug in Gnome Shell, but it means that I can't debug the reported error here, so somebody else will have to look at it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Sep 2020 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen , Arthur Miller Cc: 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160139007721506 (code B ref 43672); Tue, 29 Sep 2020 14:35:02 +0000 Received: (at 43672) by debbugs.gnu.org; 29 Sep 2020 14:34:37 +0000 Received: from localhost ([127.0.0.1]:56826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNGiD-0005ao-8j for submit@debbugs.gnu.org; Tue, 29 Sep 2020 10:34:37 -0400 Received: from mout.gmx.net ([212.227.17.22]:34875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNGi2-0005aC-3l for 43672@debbugs.gnu.org; Tue, 29 Sep 2020 10:34:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601390059; bh=e/b9SyVsXoZ7rW2xuBaCFNKdjXd9bhAwNgcBR0njRBw=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=jVwXBr9ok1B/4RO1hbSrvtYNwd017YFohQzhrO8htq8jKwV3ecsLqK1BrVHvqLnGM nTpSu7cTn3Hy3FAJWg5ju1/c1bwurHOTgEkutJWulzac89Zb59tUk2L/zaZlS/xTqd kk6LEiz/nK8pjPufhfxs73UDU8TWH2UlGNH7lzjU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([46.125.249.51]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MKbg4-1k8u9P1PjA-00Kx1l; Tue, 29 Sep 2020 16:34:19 +0200 References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> From: martin rudalics Message-ID: Date: Tue, 29 Sep 2020 16:34:18 +0200 MIME-Version: 1.0 In-Reply-To: <87a6x8elva.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:uxMWAfQHOw4e/Zv+LGk11KK/iAJ3axGdjvkvxnAfsiY2k7cRi2V 5OGp0EE41Yk4eY+XOsj2HqZ/wQ2MKEaFZYduLjmyVvIGLbaW8UkcYsQ1kUOyxIrR4tL5O9I I0a6HdYWt1NPJmc90maiMlfJLV2Z3AiHNHM+odaqWUukRO+NPj5koX9Mho/TpF8M1JcBNON E3T5016YRLvR9ULHXueYg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:bGq1xusP5Qg=:ypfmvDA6uENPcEP11KY6TQ CO8W+qhox6d4zHTVaye9LudBZotpdJK0FwIHNpxN5ul7Tx5xf0xWF6LD4qy/FOYyDmpjmoZcf aNpkfWR/j2pb1JgJ7SfaQGHfyfNHYODoAtjcoXeov1g7q/PK9Tlgjj3l6snjbUe1n5015OZfn 2W1q1ZiC04Srer+Z708Nf8y8z4fUEHYfFWlsU1551DWhkkAmOmBSD+ZwzZxCC8mc8Xm9+neuJ tZo/HQkQlCewl2n8wgZUzL+EWaFQpV4TDxaeMLhvnldusnRCH76fFBZ96obXtJRyMDsQFp+6i OdiCWWcZ9W606ufxqLaACyk/e5//aCVgypbeWSh4ch1DHdezmDDovLtow6lqlFUr2jrdTVm6S 28I+3Lb70mHpy2u3riVzXKNV3HJxpoyAdZBPX+bfSSiUzBIwY2zdx0DdKbn+4OIlTR06I8tT7 vB4gdcQRq79t92HR20x8aH/VyaWmf6GwqSg4sumELXJAYPs9u2Otqwt9Yk5GRLumEfxKFThXT CPitzyM7JNT9DwynqdpCO9vn030gJ2uGfq2BsXc4mueET0dPYM5NUWYETe+S7gHi/qJy8NfQf cSqA6Wc8eYsmADUl2xZl/YA+0JBG05+xkB9DauYpfzBBE++bCiNwQNT8UbG0/959znKP39C69 R1iq74Q1DJ/DlS8cJnLmY56wnXtyZwkaETpeRW7+hn/yiEl8uIv6QzNA9Bwn/kT2GQZ5Qg2yM 3xQc82nG7o04jEwn4p3B7ROzqKlC8FTiG4H7Zux4C4pjjlc8vYdkdv9Ja/OJcAIxXa/tWDsrr 7asUG8V4urzD8xnNkKhJzYlCbbRYkUx9nfPQ8HMMJk1VAa4cEME83iO7zpd8sgtNvCuT+/nNA vKwDd/U8ppNV8VtINMDbbm1+0jVAhjaN+v4adaNNAC5g/R5v5lqUmvC47RLi5ORCVom5Auj8m An4st9vquM3EbrhFGMzgoUFJXKmxEzUlX7n3YudrSBO5OErFY24vONJdx34XJtJwyVhmr3zyK BYZWR0SIYMpcTCgsOBc9t7Yds6xRvOEHt6X5WVDBa9Eo23e+BhoM3Z+eaqRL3BP1DcnOlACgV rUNViOPhzW6Ga/XlqHMx1uVGKtzGk90s1J4+jUJemJkIIFvfXmXHWn/vDYKQzT5Nf04VNfK6I Om2/lItR7dypQsv+iH+aUlemhDBpFl5h92qXnZ/sNOAhYuSmao0OyaujbMkFXdwmuotwAjW45 WPsLWYyZfAu0k9dPPsXTSIxirH640RG36ffWSiQ== X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) > Indeed. After closing the other windows "windows"? > here, I saw that the frames > were sitting in the background, but with no way to interact with them. > (Even after the Emacs process was long gone.) This has to be a bug in > Gnome Shell, but it means that I can't debug the reported error here, so > somebody else will have to look at it. Have you tried with the simpler scenario I posted? In either case, with xfwm here the child frame gets selected as expected. martin From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Sep 2020 14:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: Arthur Miller , 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160139066322595 (code B ref 43672); Tue, 29 Sep 2020 14:45:02 +0000 Received: (at 43672) by debbugs.gnu.org; 29 Sep 2020 14:44:23 +0000 Received: from localhost ([127.0.0.1]:56873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNGrf-0005sN-9K for submit@debbugs.gnu.org; Tue, 29 Sep 2020 10:44:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNGrd-0005s9-0a for 43672@debbugs.gnu.org; Tue, 29 Sep 2020 10:44:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/Iaa9WnOdV7ZsBtK6zMwoo1DN26IbT/auNHy54b9hkg=; b=S8GoGmTLqSjec5JnHt7gPqCuh9 9nM+LYOLrKukTstz9xEj3HmlSWqiFcj1PF6NuaJhI79goDj1YYarumSTl3KxaWUunKuAOjXynA5Nb m20URshdv+6Vkh/Ofiz+IQRyp7lf+xxMmliqqbb2Ty5OCFsdXu1wf2qwSSGEUeEgxlbw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNGrU-0007xn-1Q; Tue, 29 Sep 2020 16:44:14 +0200 From: Lars Ingebrigtsen References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXqrHHxuHeOV0n/ //+Q3bmOAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QJHQ4HBdvXUUUAAAGoSURBVCjPPZLBiqNAEIZ/ g+7Bkz2k95DTZmFA+ylM0CXkpFIVlj3NceJTyBBhN8cFL3OKgtBTT7mlMFsnv67+q/+qEoHlV3ti Yg0EzG3fWraWCkTMrhebByYsoVnpxJxFxMAypxDTrqAZv5HDklmvAWm5QKFAwBWf1wi/M/sJFUQO VUE1L5lucmyMLbQAPY0K23qpxJddJjIcw+6Pan7FqZP5OHnRTBtnTsajf6zQevk7M9eFPpq+Zu59 4LUfztLs+3lgyqEF5tTH7QCNAKTgnH1YtYjL8OKdZ2yBGMQvcv9YvT+pt6v4fc0UBzsYvqbiS27k 8g6KFMSy8z/uKDd7Jx2T807Au771oNiJwjYWeaBx2raAdC4dINMC0LPbZuq/LpAo+HPf7P7DiTar plIYOXdverZCRNhXIrN6FenzmeJJkvUdLZD7eNROF+mu/nJzt1q9KXDjklGnY8O7ilx/7LkArIrG jGLLBodV9Gw8K5Ss65FTMxoqAVL4qBrdumqarchev0qbABWn6U9mu2iQcxQlukZDtc40jL6FupHl R9IwSBAWRRL+A9HYwN1lk68TAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA5LTI5VDE0OjA3OjA1 KzAwOjAwNsraCAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOS0yOVQxNDowNzowNSswMDowMEeX YrQAAAAASUVORK5CYII= X-Now-Playing: 23 Skidoo's _Seven Songs_: "Tearing Up the Plans Pt. 1" Date: Tue, 29 Sep 2020 16:44:11 +0200 In-Reply-To: (martin rudalics's message of "Tue, 29 Sep 2020 16:34:18 +0200") Message-ID: <87h7rgbq2s.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: martin rudalics writes: >> Indeed. After closing the other windows > > "windows"? Yes, like the Firefox window. :-) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) martin rudalics writes: >> Indeed. After closing the other windows > > "windows"? Yes, like the Firefox window. :-) >> here, I saw that the frames >> were sitting in the background, but with no way to interact with them. >> (Even after the Emacs process was long gone.) This has to be a bug in >> Gnome Shell, but it means that I can't debug the reported error here, so >> somebody else will have to look at it. > > Have you tried with the simpler scenario I posted? Nope. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Sep 2020 20:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: Lars Ingebrigtsen , 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160141219931937 (code B ref 43672); Tue, 29 Sep 2020 20:44:02 +0000 Received: (at 43672) by debbugs.gnu.org; 29 Sep 2020 20:43:19 +0000 Received: from localhost ([127.0.0.1]:57296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNMT1-0008J2-3c for submit@debbugs.gnu.org; Tue, 29 Sep 2020 16:43:19 -0400 Received: from mail-oln040092067061.outbound.protection.outlook.com ([40.92.67.61]:65110 helo=EUR02-AM5-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNMSy-0008In-Ak for 43672@debbugs.gnu.org; Tue, 29 Sep 2020 16:43:18 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+ariDu6+ZGOj5W56atX29iM+XoP67oWeMmra8KCzVNFyFB+hjsyk6W1euAGbH+ymorQzoW4bayx/aFlZjiQcaMvcxvRslrgJ5BAWyDWBiKLYrqiFcpKjFTRhNQixFv1wSJCsd+yF6SAAxgO87LPiHDCImGHXjMXYRDtssQb01H5zxjF5xS2LyZA+b0kwa1mazq9BAvlPl4o+ZhKogF7e9DjFXUEd41V9X8TdNo4y6Tb8ts3trULV1fTN04sApUnu7dnJhDx1CLswY8+ZW6qMXlcm1tL2ctHBNFjwrpfm6Ps1pGdDt5lSKy+bfgVI/4qGvleGdJ/x/tEaIHMswouyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5LnIUdLPBPXKjArYr6V4oI0zi2foZawcOEAVSGST7lo=; b=mAW1pdoVGmE0rkj1m6SaNoAfGkecTL/HwtuoJxvF9AYE+W+rXL0myHLOS66HH97FWVBJkVNy/Frfe2EcuSW50c8TXRxY1W+F7sX6I4azm/0ZVcYuI5Um+oRzUpJ9H85HQE4j88nkSfdAONnot+/I/7WutByVeteepTOWsYmTwsA4gQCtjUzR8VyzJvCGzmLwGx+PWdSvjQslSUAsCqDY9XrtUIhoWXiup7TlpPBf/eEtsckNl8CHEm6s2z5+VbdpuU11YsEiUAPb42l9nU2Sq+Gq6bNiqZCmYZF3NOr+3QOZ+/pUVy+RodPhniaV6nsciyaRahwvo9HU0q21tWoUTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5LnIUdLPBPXKjArYr6V4oI0zi2foZawcOEAVSGST7lo=; b=oB/JNXVN0sWDlejXPcqSaLpqMUKkpuuIkCkp934xFg2PpFQNnai+aBqLKiA6kBIDfxriDh3LyhDwuTuFh5vYjvYmCZs7AhxH1/Zt49vnDTfbNAWw/OGUWGxVwOhtK0txWibXbNkwnt3sBwuJS40W3Mjrm7GcPSPTuhIY682LetWKgHkbfRJg82pqfrOx+mJTlv3Y5jghARFmHfpvSeQbT9GnPT+T/lvgE/XY8HS9ICgohW96HSI2+AWs4UZwaQghrHWu6tuZUVY7IsqeKxGKf0tF8NpXmqnuleJWoLKOv8AcdmLAihnt0phE2lwutjiPn5G/6MN4qYPB26aPyajcCQ== Received: from AM5EUR02FT048.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1c::52) by AM5EUR02HT059.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1c::289) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34; Tue, 29 Sep 2020 20:43:07 +0000 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e1c::4f) by AM5EUR02FT048.mail.protection.outlook.com (2a01:111:e400:7e1c::471) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21 via Frontend Transport; Tue, 29 Sep 2020 20:43:07 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:CB37E2A7CC1B7C59F6AE62BA9C198925EBE0034357504461EE5686908966BC2C; UpperCasedChecksum:B0805D4136CE6EEA0183FE3FBE484426F3423A701721F231431178356B5F4266; SizeAsReceived:7907; Count:47 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3412.028; Tue, 29 Sep 2020 20:43:07 +0000 From: Arthur Miller References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> Date: Tue, 29 Sep 2020 22:43:05 +0200 In-Reply-To: (martin rudalics's message of "Tue, 29 Sep 2020 16:34:18 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-ClientProxiedBy: AM6PR02CA0027.eurprd02.prod.outlook.com (2603:10a6:20b:6e::40) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87lfgs9uw6.fsf@live.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pascal.homepc (90.230.29.56) by AM6PR02CA0027.eurprd02.prod.outlook.com (2603:10a6:20b:6e::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Tue, 29 Sep 2020 20:43:06 +0000 X-Microsoft-Original-Message-ID: <87lfgs9uw6.fsf@live.com> X-TMN: [rQJjHpq958hKSTT/k6mf2oU9eriVtjZk] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 5c57ca7d-f467-43c8-20de-08d864b844f2 X-MS-TrafficTypeDiagnostic: AM5EUR02HT059: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZxaQMXih3G/O04BvKqQYC2nJDM+oEUP1j3RpI2S9IIZi9HPAMg55F0XHwbzFvqgpIe7mssqsmiw+gzm9CEmZ1bZgAlmRlCB8A7qZ2tz//+TDvr0XVJkX/q9diFLXAB9tpoCh7DzbCMC1+zSnd3RbVyXpjbF1LmG5PRSIwDE76Zzbcp5kCvHGXMFpakgsHOpafnnWMXtUUdOCdxGzTvhrkw== X-MS-Exchange-AntiSpam-MessageData: zELqRxH85f2opHPcwSzf4huE45R8tQcdg3W9rSGVzAtbsYc7lt/sNap4iR5GqP+6WNuehGNzVLdvlxpl1l9FUlFOdCLpVZZ6G1B/KTNZmG91UZs7gSeEtQK83vL+sXDhF4qTzR56LHZMLG0jNznH7w== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c57ca7d-f467-43c8-20de-08d864b844f2 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2020 20:43:07.3090 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM5EUR02FT048.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT059 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) martin rudalics writes: >> Indeed. After closing the other windows > > "windows"? > >> here, I saw that the frames >> were sitting in the background, but with no way to interact with them. >> (Even after the Emacs process was long gone.) This has to be a bug in >> Gnome Shell, but it means that I can't debug the reported error here, so >> somebody else will have to look at it. > > Have you tried with the simpler scenario I posted? > > In either case, with xfwm here the child frame gets selected as > expected. > > martin I can't say why, but today this works fine with my "normal emacs"; with all packages loaded and running as server/client. When I start with emacs -Q then it does not work; it needs two calls to select-frame-set-input-focus. I thought it might have something to do with focus and how WM raises windows and gives focus; normally I have focus follow mouse but not auto raising enabled. I have disabled auto-focus (need click into window to give focus) but I see no difference in behaviour. From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Sep 2020 08:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Arthur Miller Cc: Lars Ingebrigtsen , 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160145374817414 (code B ref 43672); Wed, 30 Sep 2020 08:16:02 +0000 Received: (at 43672) by debbugs.gnu.org; 30 Sep 2020 08:15:48 +0000 Received: from localhost ([127.0.0.1]:58045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNXHA-0004Wo-6X for submit@debbugs.gnu.org; Wed, 30 Sep 2020 04:15:48 -0400 Received: from mout.gmx.net ([212.227.17.22]:33091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNXH8-0004Wa-0e for 43672@debbugs.gnu.org; Wed, 30 Sep 2020 04:15:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601453739; bh=0CHsCbW/KoUnt5EDmILttWbVuwoNCh7Umy0Dfa4NyNY=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Ydy2VRiBRdfNdb7JwGd7PkDcTzjeH2koeARFWgaUJ8TX+ofip9TFGaDB1Y4qokrNj 3W3QaDjZj4tYh1oetJqznAqUVIISJzFbUNc9lOlF+2Ig7bzLr5BXUNu21+uyXZcN1r gOtHbgqLs+Zz0ZtkVRaeecuPI1q2OEJKeue/GbH4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([46.125.249.105]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mgeo8-1ktXZn336q-00h4H3; Wed, 30 Sep 2020 10:15:39 +0200 References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> From: martin rudalics Message-ID: <7b7b537b-0092-446c-4197-465e75595248@gmx.at> Date: Wed, 30 Sep 2020 10:15:38 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:FCNPAPJn8nH+v6yOol6tOaB5KM5QjxJDOXMH8DeCXrb0NOCZeYJ 89Y83o9C61z53aggeNRbgJsOiOeb60IbGaPyiD6u9TqtGQwxgS8/uOaiuik4LjUl/zmcwcp PKnoMfp4Vn3m+KfPL2zdVXebH/Bk7RJLTjyr3qmz4E+CVdfYaZxngcU+9ocLVpS1DuVHlFH 2wfTeyH49oZsXQknziHtQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:flg7+WPhaOg=:jaGidvPCR+oFJwiemnjY2H YQQCSrZ/n9fXlk2tO+V6A7hrr4wGuabzAQaoymcD1qlNLotmwmnDu+5a/a9kzQNnx3w8m1N0c nRo+tAxNSdzjyiQnxFRPNduDMdx6c/R9mdYlMgYXwi1S+W+Ri3v80BkziPJzn49igQymB9Yeo luMCzw8YYP+WVB5ZRTFji+vxl9Oh0CXHARneCjU3rAXKRR0KdwMkjIp9IcqtXvHImIHUGbpW1 i3c4F5inUjts2g790sSsSlZNjEClhdyA8snQHYB98JtktyZ3dTCex5NZxkNPt8TjpkwLIliR7 NXehIb2E4TJSOI0K/s8aL4gOaFE5+Hef1AF2Ebs0Opgd2bxDB8oYePtyLGMUEKJpC78Ox4yn2 YiK3SsLq1iMMYxSRtLxBJisRiK06BbK2FaIedr8CUEqpB0KavAsOLjmNoccq9+aeJf5XDHNDK cti1ScTOPrEg9SppB1XZaWPZuVWQ6C5zAyymyN/fRcwDZLd7gqIpbMfwWDBektmrfOGcgPfZI L7pEtXp3RsKr6mxGxUZ5jx9KphKDHRcCaT39NCGYedaLEePy2ad8ERTPFgIRbUHLl9eKtzcPC UaQ9lBrnkBK0Q50ADoSmPWxlxJZGpXZB5/kf9WYaT42/pKRyEcj3V/EHvK6futtTdDnO2alKi tspra0IHX1Cr29xpYSmkLRHQMlCnhBS87FBMMU0xkGCaen7+WzX34+GJKI4Rx5xeKnJiNVBE2 RGr/QCtV3GDnV5FxaX08IbrcyvlH1/EbKG7YUIXTN9Zsw+Lr49H2ORkKnlK8yjCcMuFMwxpH5 NbnG90MkNJEHnkCK9aOO4SKgB8VQBB6kpzlQn7JMQ8R16P78165lixnVbETMlT5YOcaeJlK1V o38FJkQGbBJW1jSe7ZcVvIxN0m+MVPlOEEuXFtTrgYBbU2sYVMZSRq4rEsc6E0xzqUAGhOcx4 PYlJBU/8iJP2+8ax4+OcmoI3DOPfFy6t9TqTO4SFz3tdfDTRG/JwXIhWITneS7gb8qIoO3blM h56i5nozj42Zj1O/lbp4tV7vPlg9IjGRUzBKaiEhV8/SnBqMBd4OF4Ls6nh7TSnkdQu/7RVzm DvqmYVmH5/D1A8oyOkf3hT6mSpzxSf17o5ZrE1lFm3AfsrGlDbP8pSBo3js2WJJ7CoApydiuj uoAqrfC7RoiufWpzGuhIerNbIg7W4r9eMIw3hMkjG6nOpp1sKpSyhPwArDD6PXO8PJ1VdRTsx Mxz4duUCgV7q5m74h X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > I can't say why, but today this works fine with my "normal emacs"; with > all packages loaded and running as server/client. > > When I start with emacs -Q then it does not work; it needs two calls to > select-frame-set-input-focus. That is, you can interleave normal and -Q sessions and in the normal session "this works" and in the -Q session it doesn't? Then I'm afraid that you have to bisect the things you do in your normal session to find out what makes "this work". > I thought it might have something to do with focus and how WM raises > windows and gives focus; normally I have focus follow mouse but not auto > raising enabled. I have disabled auto-focus (need click into window to > give focus) but I see no difference in behaviour. By design, auto-focus should only affect mouse movements. One recurring problem is, however, whether the WM should auto-move the mouse pointer to a freshly displayed window in order to make sure that if the mouse pointer was located on another window, that window would not regain focus immediately due to your auto-focus settings. Note that that window _should_ retain focus when you specified 'no-focus-on-map' for the new frame but IIUC you did not do that. martin From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Sep 2020 09:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: Lars Ingebrigtsen , 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160145829024708 (code B ref 43672); Wed, 30 Sep 2020 09:32:02 +0000 Received: (at 43672) by debbugs.gnu.org; 30 Sep 2020 09:31:30 +0000 Received: from localhost ([127.0.0.1]:58226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNYSQ-0006QR-Ei for submit@debbugs.gnu.org; Wed, 30 Sep 2020 05:31:30 -0400 Received: from mail-vi1eur06olkn2094.outbound.protection.outlook.com ([40.92.17.94]:1341 helo=EUR06-VI1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNYSM-0006QB-0Q for 43672@debbugs.gnu.org; Wed, 30 Sep 2020 05:31:29 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oa+srDh0+cJirr3KkDJXy+ZS8K0Zrco8FhxG4//ZPykdsFNS0E4dr08QeUihxAf8TyfjAP8ZH4CW8unKYz1Oj5+wAvvPKX2XNHkRDfCsSgz4HJFsO9XcwgBC85RbWMlZaXqBdAhM7VWqdJZC93HKfoXz4RT+EyWGA/0EedOvEwnsT7fKX33Ysa4b0ww2QJho2ZEs7pRuxduDmlU/UOVLineyb6vHfNd9j0jlPfxXas3Llw9YjlMnPeB1UgOg1swKSCUFQ2uEGkVctkT0WKpr2NZf/91PgKSuz1HSkolAMY5m3HfJcpnYP5vjHVH45Z7iozrumZlvLiPxeiBT1yZKVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ATWtfJgLYSrFjvDAmp9S82JD1RlFbfKQ4qsxXqDrpSQ=; b=OYMqYHMT3LC8V7rHnx4bsECrNLux6+Th9cBlBaPp1NY0D4P8QSgI+D8tqdDog75f0oe9/esQS9ZtUTLACbUzC34sfp20VugmZk4oqonRDQ5KAjEeygfnb9FQ7qWcxDGp7mlZAukvm3Y9nvpjZ4d/VwLOd5EuBlPt8HCgz3GA6vEkvm25uMd0BYa7utOjVaqqaOiils4Mu+OZcNdp00K/aYNreuD07Z4IyqP6hZI6l7Ospsetpln+bR3G3pxpqqmE7euVyAV63m6Zccf59Y18eHe8CdWH5v3rn4dkADZ9BjM+hwX9kcl7wk6hoi+k5IzslSKfJf8UqJj8bjDor1YDJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ATWtfJgLYSrFjvDAmp9S82JD1RlFbfKQ4qsxXqDrpSQ=; b=m2aBBSY0YwecK6Uc5DywhDv9e3w6CJ2LWLpXZBeFZe8AIw+mL1cR5hhtX9eWhfoyYDNEuUnIbfNDOEtVucY3KFj8tx9piG6SH4xd76uKdbotMnWf/OVIJdRqYOmtTR3o8qzfQQOKn8e5Wcihgp1vaCaerhPKlZVMOjz4O8cyrAOM8aPSEniqr61vBlszUaoRG7vhmtd5CbrmmqyOysqHkHV8LmWAx11hIG9uSdwsIl54GpSBSmC7yoYRQTifk/CTjI5xaRAFvc9V6EOPea737768MKg0RqS59Y/kbA4NqLGIX/ARFX/xV3cHFt99a32xuHjyLq25lZRQ5LoeQ4RT1g== Received: from VI1EUR06FT003.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc37::50) by VI1EUR06HT189.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc37::392) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21; Wed, 30 Sep 2020 09:31:19 +0000 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:fc37::53) by VI1EUR06FT003.mail.protection.outlook.com (2a01:111:e400:fc37::75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Wed, 30 Sep 2020 09:31:19 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:0DD5F90E1CA3F544D78D3A7945157961B4383CB4357A4CE6E6EA8D96AA69607E; UpperCasedChecksum:57FEE4B0F011183186F67815FA6D000A28FA577C3A144AF1248D82B6B989F6AA; SizeAsReceived:7991; Count:46 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3433.035; Wed, 30 Sep 2020 09:31:19 +0000 From: Arthur Miller References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> <7b7b537b-0092-446c-4197-465e75595248@gmx.at> Date: Wed, 30 Sep 2020 11:31:16 +0200 In-Reply-To: <7b7b537b-0092-446c-4197-465e75595248@gmx.at> (martin rudalics's message of "Wed, 30 Sep 2020 10:15:38 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-TMN: [Kmh4AMWQXakVas27RccxwybbdirOyUZx] X-ClientProxiedBy: AM6PR08CA0028.eurprd08.prod.outlook.com (2603:10a6:20b:c0::16) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87imbvobkr.fsf@live.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pascal.homepc (90.230.29.56) by AM6PR08CA0028.eurprd08.prod.outlook.com (2603:10a6:20b:c0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Wed, 30 Sep 2020 09:31:17 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 42e8d8a4-2512-4446-42b7-08d865239581 X-MS-TrafficTypeDiagnostic: VI1EUR06HT189: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hH75NVsoEV3J6l8THJ2mIuGhMegukHaKr9S4sDZ9gtpQOSu5f6WrKg9x0xE3fiLSRw5aPR60EV5w0zYPk3emXeWUVNclaXnyIuYo9xSq6hBw1uPkDvfCkRNM9B0hF6xpepEr1oq/+yXYrhBV/KWxbmewzQvnw1b3cTNXpjtYIhzxBvco1QqgqTFbxKdrOtAAqr262lB87uMl+T2Dh5vM/w== X-MS-Exchange-AntiSpam-MessageData: w8+4jU/VURtuc2BhmT2Qqa00tAbUKPivBq0ch/FtU+iin65sr2r5gVOe5NUvF5rgC/Akv+g8Zo/rKUEq+RS9L8qwCYdpNBB8uaxxq2Ffwhf3ph7kXFAGX+te79qG5IKd5t4YOJfc7d5Qh0R0wt6xhA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 42e8d8a4-2512-4446-42b7-08d865239581 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2020 09:31:19.1345 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR06FT003.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR06HT189 X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) martin rudalics writes: >> I can't say why, but today this works fine with my "normal emacs"; with >> all packages loaded and running as server/client. >> >> When I start with emacs -Q then it does not work; it needs two calls to >> select-frame-set-input-focus. > > That is, you can interleave normal and -Q sessions and in the normal > session "this works" and in the -Q session it doesn't? Then I'm afraid > that you have to bisect the things you do in your normal session to find > out what makes "this work". I just did; seems it has something with server/client to do. It works in emacsclient; not when running as ordinary process. Tryed both as emacs -Q, and with my init file. >> I thought it might have something to do with focus and how WM raises >> windows and gives focus; normally I have focus follow mouse but not auto >> raising enabled. I have disabled auto-focus (need click into window to >> give focus) but I see no difference in behaviour. > > By design, auto-focus should only affect mouse movements. One recurring > problem is, however, whether the WM should auto-move the mouse pointer > to a freshly displayed window in order to make sure that if the mouse > pointer was located on another window, that window would not regain > focus immediately due to your auto-focus settings. Note that that > window _should_ retain focus when you specified 'no-focus-on-map' for > the new frame but IIUC you did not do that. In Compiz; the newly created window does get focus, but the mouse is not moved; if mouse is noved then focus switches again; but this did not spooked. It seems that it has something to do if it is emacs or emacsclient. I don't know how emacsclient works; maybe it just does not pass all requests to the server correctly? From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Sep 2020 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Arthur Miller Cc: Lars Ingebrigtsen , 43672@debbugs.gnu.org Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160148721917833 (code B ref 43672); Wed, 30 Sep 2020 17:34:02 +0000 Received: (at 43672) by debbugs.gnu.org; 30 Sep 2020 17:33:39 +0000 Received: from localhost ([127.0.0.1]:33016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNfz1-0004dZ-Cw for submit@debbugs.gnu.org; Wed, 30 Sep 2020 13:33:39 -0400 Received: from mout.gmx.net ([212.227.15.19]:50243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNfyy-0004dN-W5 for 43672@debbugs.gnu.org; Wed, 30 Sep 2020 13:33:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601487208; bh=MKjI+oiUA8MQiyr2brt6LyU51WiJ0jLUsnoxVHp2HuM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=eL5yNZVUVVXUmznBzKXHEdGFOGkAdeHql6h114C8nRVIF3ESk+Jn6NhOmBUwi3Z/4 9XM8MehRIlQgW0m77RsuQHAKuAawYkjCY5KlEesNdUskks7PFM+wgvFrfdY07RJ8U9 lUNHUWa+h/FkwIt2/Jp6DH5uTG4MLiCSKQt7C3HU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([46.125.249.105]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MDysg-1kDobs1gto-009yi3; Wed, 30 Sep 2020 19:33:28 +0200 References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> <7b7b537b-0092-446c-4197-465e75595248@gmx.at> From: martin rudalics Message-ID: Date: Wed, 30 Sep 2020 19:33:27 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Z0ZOaR+0G5qFIZMWpNR0JE0k47hTv62inUeJWTnN7ag6erwuNJn VKZs+oN/Bax+jFaxbAWrCO8+ycMKc8BVaA10bwnP6G7KqUPS9hQskOMn5d7WwvnJ6eOq7wV qlBcBuIMOgfcJLRZVUKplSz61aDKbtmHbanr6++LshlE0Qlg60iIP0yjbUyqv+AuOypzHLh hy/MlrhDycND8pFXolhgA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:/+St19sSXfk=:D7ddk4tvxvHTwEDvfqgktj 3YHZJ+UwF6x7baC+7GvJUmEgxHrjQ+Bl3ilv9/ojeuChNmBHTMMSHfahrbl8byEoNYixcO7cS WK2o4eJ3g7928dBjbjbUzRw8Yt0R8mn72JhMX7EGLg0knJPK0GF7kcQQkEMmbFitFLMOhh4+/ 9s3iaZemZlrnC+IRSGVRszD0Wywhwwcu+jGOF0wCRsukOwDbA8NR2zhrb45etYP5HPOEpC0td v9J8/rva1nvwNxxCFmoMsM2y+T7wfTRQ6Ffn0Go13C0c47gYV0S0RMux4lXnvOaP0ECa3W7TZ sr6Fp2HULN1ntM0mEsN0pJ+r/rdu8GMZ6ljiNgBUw/9lxekV0b3O4ll3Z9wCT9RB2wEcXTjzS U3dpNJlUqae2x96FRTpd+mzboafXIJcUFIxvpcPEgz2Sqif3gC1IFzhf/Mb0OT7dDo+q/TO9S IWKHVjakJnmRzLqP+tVN5iFW8vR4RTvSTy70vqIDvyHGVQ1+N2fk6VaNWspEBcgdHdlEDZAoN To3QFI9/B0h1NGmbz+lk7Oztz7SyBIfkZgD5TGng5yepF4YJZZQwxD8pH8SPc6eOnyok6Lwh+ OlQoV8U5HCUO2btZsKeWfQ12RLeCNiScJwVMWImUd3ynrkzjcgArHTyBBJzYABOj0YV7iHejC xgcul1fru8MpQMIFkjG1oig2Xy7ouXhX4s4Vrk7dyUZLC2Ugd+6C87ruAKGd4CHORIJHUfz6G +lnW63piCyRNrLd03ujNNuwIdaEVTX0r1ML0D+vvSs/3jPcceASB2JUyVtaIBQ1aM/uyrXm+w 6xfItKsFZSeDX5vv1ErLA79ObzhAjBvIGYbmWgGJD4cWKXQpjlTY1DRTahl213ssTA1Gbbkuo ElbNne4WgrISqGmsaxbDQrGE+ZaBCuZ51HjMSrrdtyLWqB+WTIjQQgsauKTJJgt1WEP7VN8/k tZI/XX403ognepyPohnlMbkFA/tgmJzGSR3I8zbMNoMZ6t5HqVVHYCp9ZxWvScVdjz3bmV49+ OZzGm3QAsxMkBkI4obA+JLZJyvfphyEz902wz2DZ286QdInNXVvniorOVLHSskq5UDEYplbB2 2F2pNIPSrTiZ9hTAj8kGYlwRMrzpsIEL49DQfAfoEKA2NyKCY/ldD7hCvqNYmFdpCIP4FGaBE laFRFN81r4ogqB1UXmLL3xk74kU5e0gHU6dyufhDu61xsQNKAp9h8wxqwKmQYFgiRPDvXA9ys YlEGwW5gaYSTZGf9Q X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) > I just did; seems it has something with server/client to do. > > It works in emacsclient; not when running as ordinary process. Tryed > both as emacs -Q, and with my init file. Do I understand you correctly that it works for emacsclient but not for emacs itself? > I don't know how emacsclient works; maybe it just does not pass all > requests to the server correctly? I'm confused. Above you say that it works with emacsclient ... martin From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: arthur miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Sep 2020 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: Lars Ingebrigtsen , "43672@debbugs.gnu.org" <43672@debbugs.gnu.org> Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160148740618172 (code B ref 43672); Wed, 30 Sep 2020 17:37:02 +0000 Received: (at 43672) by debbugs.gnu.org; 30 Sep 2020 17:36:46 +0000 Received: from localhost ([127.0.0.1]:33026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNg22-0004j1-5K for submit@debbugs.gnu.org; Wed, 30 Sep 2020 13:36:46 -0400 Received: from mail-oln040092072095.outbound.protection.outlook.com ([40.92.72.95]:30529 helo=EUR03-VE1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNg20-0004io-Da for 43672@debbugs.gnu.org; Wed, 30 Sep 2020 13:36:45 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EVPr9Q3NorD+GNq+miholDUawj394Xgi7IPvyYl76i5oIwAllLI1mlZQh2+tZtWZc4gPt7vRH4TXhvZM1w+lrbEi8VKRpjMcsFafAGTbWEL5/4J6uYcYDTSOlZILSdEg9G3LRJBFxrWwGkJd44bxqhZXXJ9icNoVk5XQ3Z8Fy1mWPrbEXRFQtEGde0ba9uZW3XuMN0jqQSaL5UVuUNkRNTnqrHq47IOOHgxKMMX/i2wKX8FRTh2NR7g3qlgxjvSXTUX4mTqd6b8qjiklzSm0efnKbnF5cyEHzGqQLMPc0hJ2z0ZbRpHUVy/WtcP+gclT8fUWXeye2dJCET6fLmH8lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vXGWINWRPZmI9arCJ9838baJXRATBCjuqbrRKBcIf9o=; b=gAM9OHC5YBdBE2hn80LVpRovC8q/KfQTxHbVqriRItdjLzXhX8mzlpJmyeko8aAHVdLSuCD9Wz9izuqhkzAgL/WV1eIyr9ALmuVX694yh/lCT52WHMkjgLqX7goaYbbaN943erR6bu+fYX93zaaovwD4ZFaFHX2Q55lIfwaRNZAIm/zFm4B6XDG5L2ZxZQwE4CLqxDCXEFksK7C6JTgcFwN5JrBWq7oZd+y0xA+H5ULUQBsS66loAO9GHa2Mlq9GLYO+BDQhzR1CICnnospKc7T3+W/+rlCEpwB/G3w75K/8Djec2ldcjqMDZ25HVLo8rA3qztB47W23vjqVk3y52Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vXGWINWRPZmI9arCJ9838baJXRATBCjuqbrRKBcIf9o=; b=iLwKtlmICJ7uh3KUT3fDIzcdR5FAaltcJb5jMSuFuAgZM1VybKznGhePeY6gYZQP23mm8ucGBlYFbM0Hza2ZnfdckBQ24q9O+6zNYXaSFYyUvV4E1a/00bh46jAystJUFZwcm11/7Kz/jexN2AErd3CJ2/OvtuLY3q+WLjrT5/wn99sZQw/Rrp9kPgxvGcg2WHqRQ5NCnHibU6gRvce1kDIqWPs+oSNfYbvhcCnvT87SDE/oy+WuwdHW1L0GTlS7LQfPmf8w91BmA6eOtXIMc5spJw0wJPLpfN0ZeBAO5/rHtmuX5J/DcLjxXRAtlUKJgWFXr38gnIT0OOpzmqyliA== Received: from VE1EUR03FT016.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::45) by VE1EUR03HT235.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::480) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21; Wed, 30 Sep 2020 17:36:37 +0000 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e09::41) by VE1EUR03FT016.mail.protection.outlook.com (2a01:111:e400:7e09::115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Wed, 30 Sep 2020 17:36:37 +0000 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3433.035; Wed, 30 Sep 2020 17:36:37 +0000 From: arthur miller Thread-Topic: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Thread-Index: AQHWlZway8KUGUbmmk2A5LrDqyJTU6mBdGOAgAAA42k= Date: Wed, 30 Sep 2020 17:36:37 +0000 Message-ID: References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> <7b7b537b-0092-446c-4197-465e75595248@gmx.at> , In-Reply-To: Accept-Language: sv-SE, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:3198BD1CACFC0BE73AAB4FB0304B7BC72F563CFD9BC65CA0EDC4EDC909BB4769; UpperCasedChecksum:280C4E075FFBA8EE0290B639C9778CE5196FEDFF46E5715F872E9C2CD17B19B6; SizeAsReceived:7624; Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [FBDmmfdv4jYOHQaj2+ptmxVkWZWE4XSs] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: a0b6c47c-5321-4c2d-10bd-08d865676201 x-ms-traffictypediagnostic: VE1EUR03HT235: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UQSlph9gPYn75EJNxTddCPdPeu7zaEMHVqgvfs0VKrleuh+x/Z6kt2j+F9nY6MPBjjCt/xAiwGQkKMWcJC6pJf31YaClLCu6iIq2VEvYS6eArcEXG/tm4a93sMb165c+BPaawuCj/d02mEIfa4fR1oJucGFEPEoE23B5IvlrxD7aAshQ3QGAb7y2wpMnnqrZIEQhAZmxiUnOmW14hQ5biQ== x-ms-exchange-antispam-messagedata: 6rPKPwh4/paGs30THtbQmy2qPUtRiJrVfZf30ovvSKRqHz/m7zjqh3jEy3wL+qOUbgvldLt6BaU3sdCgarC+clNPcuQCKXZgYVb2vo1TE2HBLPRFK1EL9KXAVwvj688BMHt0d/cdZzeCTrSpnVZAJA== x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_VI1PR06MB45261323FA55157D3169864D96330VI1PR06MB4526eurp_" MIME-Version: 1.0 X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT016.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: a0b6c47c-5321-4c2d-10bd-08d865676201 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2020 17:36:37.2339 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR03HT235 X-Spam-Score: -0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) --_000_VI1PR06MB45261323FA55157D3169864D96330VI1PR06MB4526eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am sorry f=F6r the confusion, I was just to fast typing. Yes, you underst= and me correctly. It works correctly in emacsclient; not correctly when I r= un Emacs as a standalone process, either with -Q flag or without. -------- Originalmeddelande -------- Fr=E5n: martin rudalics Datum: 2020-09-30 19:33 (GMT+01:00) Till: Arthur Miller Kopia: Lars Ingebrigtsen , 43672@debbugs.gnu.org =C4mne: Re: bug#43672: 28.0.50; select-frame-set-input-focus does not set f= ocus first time called > I just did; seems it has something with server/client to do. > > It works in emacsclient; not when running as ordinary process. Tryed > both as emacs -Q, and with my init file. Do I understand you correctly that it works for emacsclient but not for emacs itself? > I don't know how emacsclient works; maybe it just does not pass all > requests to the server correctly? I'm confused. Above you say that it works with emacsclient ... martin --_000_VI1PR06MB45261323FA55157D3169864D96330VI1PR06MB4526eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am sorry f=F6r the confusion, I was just to fast typing= . Yes, you understand me correctly. It works correctly in emacsclient; not = correctly when I run Emacs as a standalone process, either with -Q flag or = without.






-------- Originalmeddelande --------
Fr=E5n: martin rudalics <rudalics@gmx.at>
Datum: 2020-09-30 19:33 (GMT+01:00)
Till: Arthur Miller <arthur.miller@live.com>
Kopia: Lars Ingebrigtsen <larsi@gnus.org>, 43672@debbugs.gnu.org=
=C4mne: Re: bug#43672: 28.0.50; select-frame-set-input-focus does not = set focus first time called

> I just did; seems it has something with serve= r/client to do.
 >
 > It works in emacsclient; not when running as ordinary process. T= ryed
 > both as emacs -Q, and with my init file.

Do I understand you correctly that it works for emacsclient but not for
emacs itself?

 > I don't know how emacsclient works; maybe it just does not pass = all
 > requests to the server correctly?

I'm confused.  Above you say that it works with emacsclient ...

martin
--_000_VI1PR06MB45261323FA55157D3169864D96330VI1PR06MB4526eurp_-- From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 08:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: arthur miller Cc: Lars Ingebrigtsen , "43672@debbugs.gnu.org" <43672@debbugs.gnu.org> Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160154156731483 (code B ref 43672); Thu, 01 Oct 2020 08:40:02 +0000 Received: (at 43672) by debbugs.gnu.org; 1 Oct 2020 08:39:27 +0000 Received: from localhost ([127.0.0.1]:33990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNu7b-0008Bj-72 for submit@debbugs.gnu.org; Thu, 01 Oct 2020 04:39:27 -0400 Received: from mout.gmx.net ([212.227.15.15]:48343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNu7Y-0008BV-NJ for 43672@debbugs.gnu.org; Thu, 01 Oct 2020 04:39:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601541557; bh=kMN3Wrb5DZMIYPp5Tf3+4VGUvpI7PCKpY3JoEZZnkjo=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=jHEMdVk+h2mnCjGsy4SUQXtce5KLpD454rFSAK5PjYDNT2ND6IgHVK16AP+n4deSH PrOZ5yMDboU5wmIWkO12rTfs7xuUaE5irZm33oWYbQfrTye7rp5wZDFhDntiMLzaf6 eS4miWEWyZyF7TuUl19wkHV0B+2J94WZiL830iGI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([212.95.5.212]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWics-1jvOtp1DYG-00X17K; Thu, 01 Oct 2020 10:39:17 +0200 References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> <7b7b537b-0092-446c-4197-465e75595248@gmx.at> From: martin rudalics Message-ID: Date: Thu, 1 Oct 2020 10:39:15 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:L93VqjwnybFGn/qYxwh6gMRdeaThHXmMSnxcB78YpXzzf3xUIaI SvBjYi47epmZhhyUJWOjhNRzxhu9o/oXinC/cOzCbPmqFSV4AWfraKze/RdmtsuJ5kqUNMe +RJtnoz3fzD1xpZQ8Jbo0vUInicKbQAA7obao+7RslKmKWB+QooW1ofo+QhGX1+wz1HZXWG c1Si83+vTf4AI9IIW/YUw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:nxIvJygAZwo=:VEhFdggHQ4m1rXsBEHgatK VKsT7kCDQt4T++XntTiMTNvhXOsNHyHt5A77KZJpn87mfC4jPcQRthC5+bUKP17w1eT0Txmpf j1TYNhh8weaFo128Cj2kgjf8EI37NtcQc762u3zZKmGJNIPMOKp5kceEIbfZmNISuzChTPcUg u9qU5WBdsXKGXZvPsMxUKbs1XaJZ9WhkrMMLbmguAyJ80RKuFWjiXV99BHqjAWkyqvNQkJXig VrmEtYSK4OBzEYjGxPKonAhfM0fXVZKnBkg0PCDfSfQ+SUr6gDsn2kpWDprUd3h/0/D1pe9lf r98Uji+cWxqqyQvm8jStbia6+OVAcc8T2YoQ/4D3qUUPw5Yu72N5R7B/LhLtExuvp1LlhKAdN qcctoW47xOxK/nAEgDj+y76D+NBjVlDnkPLhjF/0B+bVY6iXatQAfH7JPJ/ANDvR243iBOsbS jDKG4qmMOuYgUPhv5S8msK81WhVRDGNRVgC8bZ1Su/3KfJpehI2y0Xs5au5fp921VzmfiXYsI dJWlqacM0GKYkkAMGdCuBoofLao7FZLa454iCGrP6njRMLOCBnGsBfcUK4H86f5BQhVioquN+ 5hxeHiAa9PqWG5UL5CFu8DwklqydOSXLlkvEyznkXYi2t95VkNl6KM5IAGPTFIphNf0/HKxEN W942Wg4WyWYkgsH+m4im3wD3Xv3dn9/gbl88pkwHBCyZ8VkMneBvypzeBhvq+Ipkp1YjFDvF9 RI0Z/iGi4QlxsZ2L/b9WK6qGiA//cCezWrAFrDBbqIo9iDfFFUI0VEMBPKfeqgwOs9mjAkTyL US3rjb/1DJmt+KaaRrLnSl4IO8msZVugjlgnbOOpQju9gEjiFjD1iCiVGrZiCrwjOyRbR1HTN KZ3BDlXGWxzvZCrAGHuITMtOc1k3X02KEfZh21SD6jlU3o8hISMyqQm26UTlJ1Lje1rGkMM85 KjU/aSEEJH2hH3BzFgmLm+huS429/wAakeA48MyiRnpclMRrTOg5ggZeV80ssvUmAOpYQCWiJ mO5khrNG+fsKC2FjaCX67TxxdWhj24dz/rEiq4TGMlyN3B+Ftss3nV9tqjvX7REzCoL032VwU OpMwleAKfmDxTDRfyC3wE3ofEROxsrFbWxrCJJkUfQF/qi6CwpjqJq7+qnDsofYduIdovhqpD gE5HxGHdtCqaXJzI78AjbmLqyEZmMbzrLH1BWEB+Km4hV2GsjFLie26kEJJnw07/lJ5ywrbKc 12NtHMXQrK6aydAJGMRx4OaMD7aX/2NWRG6pNBw== X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) > I am sorry f=C3=B6r the confusion, I was just to fast typing. Yes, you= > understand me correctly. It works correctly in emacsclient; not > correctly when I run Emacs as a standalone process, either with -Q > flag or without. Then please with emacs -Q try the simpler (defvar child-frame nil) (defun make-child-frame () (interactive) (setq child-frame (make-frame `((parent-frame . ,(selected-frame)) (left . 10) (top . 10) (width . 20) (height . 10)))) (select-frame-set-input-focus child-frame)) (defun delete-child-frame () (interactive) (delete-frame child-frame)) and tell us whether the child frame gets focus. martin From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Oct 2020 21:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: Lars Ingebrigtsen , "43672@debbugs.gnu.org" <43672@debbugs.gnu.org> Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160297148830216 (code B ref 43672); Sat, 17 Oct 2020 21:52:02 +0000 Received: (at 43672) by debbugs.gnu.org; 17 Oct 2020 21:51:28 +0000 Received: from localhost ([127.0.0.1]:35679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTu6q-0007rI-2o for submit@debbugs.gnu.org; Sat, 17 Oct 2020 17:51:28 -0400 Received: from mail-vi1eur05olkn2037.outbound.protection.outlook.com ([40.92.90.37]:45056 helo=EUR05-VI1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTu6n-0007r0-PV for 43672@debbugs.gnu.org; Sat, 17 Oct 2020 17:51:26 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dwHUfvl5vHosVYpsJKIU8Mzo02vtsejUpSxPG8e6G9ppg/GKqkgjR3dD6NQUFn5H+91WgzBwsrQH1bRVJZPcIWZPrfVmDMbIpLjq2Ru64qq7Ckj9N0+rvL+IIVIXYbXrTEAG6Uhv6pbEU3A4YTrZ+FZxL/sgnFVa/U3fiZAbmC8pBwcYPWTp+BHumtmLEwHJXfSrMTkmI1BMGvHctZas9t+Fzsg56M8MUXSZtevYkxjOZj0YkTK9FzGxOkQYuaq40hehb8Ib/KcrWdsbXwTbWXvYprMEAuYludTfL0dzoI1razaBSKFrQrtskJ6tAtnCsghiQ35UPIRqfGrsN2zYzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VXeOsPpXOjiU5fPGN4Wi8u7bKJwQ+TR0qpoXjnKUExQ=; b=jAjeVc7x0En6BNVL9i0Dg8u/vwD0zDN3TK51p1QcVuYvHNGoCy1NC8d5tHXcC6rNAmxmVclwOTme7une8VzhCQAbclTuLhM0m2tUeIanGLy+/OvDGv34tIqzpPo6IGBTL59kTHAoTSjsKQgWqcr17r45AkrSg/g0riGbFWw8F9u9FxnuwBwp9yUKmNspVqBV874cSfWFi+Cw+wrc8IUiG1wsSF28lOc1dbmFdVesV64qqVxizhWpWbwPtSUzOw8mt93Juk2cAdCVhZUaPi88AzmyFybIW5sQ55vdUbn8W+RKl3SW/KFw1xx8DoMudBB6SHdIxCUjSGNYbFEltLvkVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VXeOsPpXOjiU5fPGN4Wi8u7bKJwQ+TR0qpoXjnKUExQ=; b=u8lmEOvxXaiKz32SVijPH9f3IHnprMw3Yl1G/3noLAFnwfFgAO7GrYMOSZzISz0fcFJMRN2r4Jgw7Hh70xPEqVJuUp76XvA7J4JYJAwAW/M5UG6EdDL80FsBlvMtxzrj4CKFrdK3TeyITm2JiQqzaDb/IWYLeZD5jerYHbJ984bwvZa4kyUyTVWFSAm6Nj1/0IsoLIZDYI53EQwWMmTDKj2R7hlV9ZoE2Z5NyrHTd8nzcD2zbkyTpfvp/kh0nytJY9RRui2TqCnv8ppQExXeQzSqPCHeuvtpLgls0QfvPATmx809KGvHaFBgtwaM6Lc+bLGHlbdbcGdDJ0/Vb+9AmA== Received: from DB8EUR05FT058.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::50) by DB8EUR05HT094.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::462) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.23; Sat, 17 Oct 2020 21:51:18 +0000 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:fc0f::48) by DB8EUR05FT058.mail.protection.outlook.com (2a01:111:e400:fc0f::164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21 via Frontend Transport; Sat, 17 Oct 2020 21:51:18 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:B661D5DB3DE11FD5AC4C73F8F8F2A39892EEC29F9F53E0AFE92CA73FDC35C75C; UpperCasedChecksum:24E1877314640F545F17866302F9555EAA7E1D2519B1CF3756EA9266880DD5FC; SizeAsReceived:9404; Count:46 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::187b:196a:cb2d:adf1]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::187b:196a:cb2d:adf1%5]) with mapi id 15.20.3477.023; Sat, 17 Oct 2020 21:51:18 +0000 From: Arthur Miller References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> <7b7b537b-0092-446c-4197-465e75595248@gmx.at> Date: Sat, 17 Oct 2020 23:51:16 +0200 In-Reply-To: (martin rudalics's message of "Thu, 1 Oct 2020 10:39:15 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: multipart/mixed; boundary="=-=-=" X-TMN: [P0PE8iE1dqrcL8Ps7EExSTZcoxTVJp9H] X-ClientProxiedBy: BEXP281CA0005.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10::15) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87r1pw5xnv.fsf@live.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pascal.homepc (90.230.29.56) by BEXP281CA0005.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.4 via Frontend Transport; Sat, 17 Oct 2020 21:51:18 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 1c77da46-4e2d-440d-09b5-08d872e6c72f X-MS-TrafficTypeDiagnostic: DB8EUR05HT094: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HK1ew6wxUoa783qyss+1HDhQuEN4naeJMuqQSIYFRvfT3fOkvexUV2MLMeXTNXfni+sgNYmqIR+3ZrYmBWm8USNjcO7TqU5nny1DFZDhLS0DU/5nKUzNLLYzkLhZich8y1guCd8pMTlxhh0YGn5zB4bms4p51BMnvC2QD/9w2nqFuPTlwEz50T9NAbos/vUGrLl/QCgbcoY7C+cE4P545A== X-MS-Exchange-AntiSpam-MessageData: D482GuqIGOKeK5p0V2SRClKEyCb7sYVL+CNoBsJVcmo0OmTU7Oy4R+94UUz28fVcTqk99LondaE5Yg4IlYSztg31lFpPuBHk1ps3frrvl1e3GzA957zoJTWV72foUHoaxUPrnt+PbLaNhUM+XY58Uw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c77da46-4e2d-440d-09b5-08d872e6c72f X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2020 21:51:18.8105 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB8EUR05FT058.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR05HT094 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable martin rudalics writes: >> I am sorry f=C3=B6r the confusion, I was just to fast typing. Yes, you >> understand me correctly. It works correctly in emacsclient; not >> correctly when I run Emacs as a standalone process, either with -Q >> flag or without. > > Then please with emacs -Q try the simpler > > (defvar child-frame nil) > > (defun make-child-frame () > (interactive) > (setq child-frame > (make-frame `((parent-frame . ,(selected-frame)) > (left . 10) > (top . 10) > (width . 20) > (height . 10)))) > (select-frame-set-input-focus child-frame)) > > (defun delete-child-frame () > (interactive) > (delete-frame child-frame)) > > and tell us whether the child frame gets focus. > > martin Hello Martin, sorry for being a bit late with this. I have tested and it was very strange, so I realized I need more time to play with it. Here is how I got it: If I pass parent in the frame-params list to make-frame, then all is grandy-dandy; but if I don't then the behaviour is as following: If parent is set after creation; the frame will be reparented correctly and appear at correct place on the screen, but it won't switch focus. If parent is not set after the creation; the frame will switch focus, buf it will of course appear somewhere at the screen (absolute coordinates I guess). I have tested only emacsclient. I hope it helps. I have attached a simplified test file: --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=poorman-menu.el ;;; poorman-menu.el --- -*- lexical-binding: t; -*- ;; Copyright (C) 2020 Arthur Miller ;; Author: Arthur Miller ;; Keywords: ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . ;;; Commentary: ;; ;;; Code: (defvar pm-menu-dir ) (defun pm-load-menu (menuname) (with-current-buffer (get-buffer-create menuname) (insert-file-contents (concat pm-menu-dir menuname)) (not-modified) (current-buffer))) (defun pm-menutest () (interactive) (let ((test (get-buffer "testmenu"))) (when (not test) (with-current-buffer (get-buffer-create "testmenu") (insert "one") (newline) (insert "two") (newline) (insert "three") (newline) (insert "four")))) (pm-show-at-cursor "testmenu")) (defun pm-unload-menu (menuname) (let ((b (get-buffer menuname))) (if b (kill-buffer b)))) (define-minor-mode pm-minor-mode "" :keymap (let ((map (make-sparse-keymap))) (define-key map (kbd "C-g") 'pm-quit) map)) (defun pm-hide-menu (menuframe) (make-frame-invisible)) (defun pm-quit () (interactive) (let ((b (window-buffer))) (when b (kill-buffer b))) (delete-frame (selected-frame))) (defun pm-show-at-point (menuname) (let ((pos (pos-visible-in-window-p nil nil t))) (pm-create-menu menuname (nth 0 pos) (nth 1 pos)))) (defun pm-show-at-cursor (menuname) (let ((pos (mouse-pixel-position))) (if pos (pm-create-menu menuname (cadr pos) (cddr pos)) (pm-show-at-point (menuname))))) (defun pm-create-menu (menuname x y) "Displays a menu MENUNAME as a vertical menu. If x and y are given, the menu will be shown at those coordinates. Default is current cursor position. If cursor is outside an Emacs frame window is displayed at active point." (when (not (get-buffer menuname)) (pm-load-menu menuname)) (with-current-buffer (get-buffer menuname) (pm-minor-mode) (setq tab-line-format nil) (setq mode-line-format nil) (let ((parent (selected-frame)) (child-frame ;; (make-frame `((parent-frame . ,(selected-frame)) ;; (left . ,x) ;; (top . ,y) ;; (width . 20) ;; (height . 10))))) ;; (select-frame-set-input-focus child-frame))) (make-frame `((visible . nil) ;;(parent-frame . ,(selected-frame)) (undecorated . nil))))) (fit-frame-to-buffer child-frame) (set-frame-position child-frame x y) (set-frame-parameter child-frame 'parent-frame parent) (select-frame-set-input-focus child-frame))) ) (provide 'poorman-menu) ;;; pure-menu.el ends here --=-=-=-- From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Oct 2020 07:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Arthur Miller Cc: Lars Ingebrigtsen , "43672@debbugs.gnu.org" <43672@debbugs.gnu.org> Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160300781122357 (code B ref 43672); Sun, 18 Oct 2020 07:57:01 +0000 Received: (at 43672) by debbugs.gnu.org; 18 Oct 2020 07:56:51 +0000 Received: from localhost ([127.0.0.1]:36108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kU3Yh-0005oX-4S for submit@debbugs.gnu.org; Sun, 18 Oct 2020 03:56:51 -0400 Received: from mout.gmx.net ([212.227.15.18]:58701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kU3Ye-0005oJ-Hy for 43672@debbugs.gnu.org; Sun, 18 Oct 2020 03:56:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1603007800; bh=a9WVMQ6ayFdUWuqiAkkrdIeuOFIPbW5f27Rkg6Ur7l0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=cYWbN28/JwWtf7WsvuWI8r4r0EmqX6gLA9EeamtiQHf2y3EDPOQAFsXM3moAJOmQI Nc7FdNJXVAikMNryVUgL8cPWzxck2Cb8eqo1dS4xXNp3vPbNj3lCSUE+gbBjI0wthM tDwX4iEv3eYYpwtD9S23247QSjK0tdlwUE2/q2dM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.102] ([46.125.249.49]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MqJm5-1k72rb1zJj-00nS7k; Sun, 18 Oct 2020 09:56:40 +0200 References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> <7b7b537b-0092-446c-4197-465e75595248@gmx.at> From: martin rudalics Message-ID: Date: Sun, 18 Oct 2020 09:56:38 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:c7JePrxOXpcSt9rbzK/nycAdsXlZ6hLUg+84w50PqSQts4u5pfg gXqkPNUXyPOjMgT7pXc794BMQLnQeFUg2JqsocKYK9jbpPUF7imFTfOrt+zRAyY6lm825tF aDnWrPR9S7JBYoQr3vl8Xe5GaxhoEnXH+ooWKNJtY6a5uLxCziX1AqHAItp+qBsgISTIJSK 4+Btzh7K6HDT4F/xHifJw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:MAgGM1CmcUU=:tTLJbg4H+y9L1q1J6cxYBF h7mLEyaL2NjL8Vg9bnbArP6i0ngu3a0/YVFaKaMf8Sds4UPBYDZbSoqaUspSLxcxsb2rhsT+1 Hb1Xj/EI+/b+FUyZyI9wxm3GUs4Wn8OeHZAYt19sz56OalPidMSyFMmXxzT302/do1Bnb/T/5 lm2hCJdMmv1nvFu0dnE5RVlKBEuASRFBqiYlfnh1jr+6P92WAjZJbQ7oB1/9OBcHuT1JPdcaM QV5ghJWCzBzSKKCqtQ9v3/BJGZ/zeenUodEyYJIIjYvx1SVvfdn31T/nVxwunKb1ls1hs2W9g X1lWIg+cWqsnaP3FTz8p9WG6xwOPvsak6G7X7hZgOzWXMXHw6w/q4xwLeGh7OuzqeYLL+O4HB pkNQfjKtxTp1hEmchfxa1wOctKDFM0YkVzShz79yPiMjfdowW2bKo5tCSePpNLNQX7MSXtETi C/sD5kAY358SHFv4dJYR9Zp1E7hei/cpwBkg9i00jOHULlTTtTdix83iW6O+90i1s12QIwklx 6zAlcXqbocRL6sOwx7PcYoMg3TE/GD4M8WVUzBzxbqpBUj44NMwLIUnEYcLflKRej+NmXCM1l ligOP5jcZ+142n8PAR16wmi0GlimFCmpHu9ggQvC0zcbR4kMa2N2veKE0ZYN993xmoJ/RVNe2 OaMs071jsCeCSDus9WMdrVtGDryljC0S5UvX8GhT6tO/adbG2KILINnbW2t4FmA/73oksWhvQ ihydzLacNQ714gnzdyytV03ETa9I63PAmrS05zzzQw4U2Ck8ZET2H90OBSpTOQAaZ//K3s2f4 OHC1eXFK/96itth/K8mRQRThGVYMH9TRJgrBfrs74phCC82yH7TVuAjnrjQ08+bJ0GzAG7XXI 4+ps/pbTGlOeNiDO/+aA== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > sorry for being a bit late with this. I have tested and it was very > strange, so I realized I need more time to play with it. > > Here is how I got it: > > If I pass parent in the frame-params list to make-frame, then all is > grandy-dandy; Even without emacsclient? > but if I don't then the behaviour is as following: > > If parent is set after creation; the frame will be reparented correctly > and appear at correct place on the screen, but it won't switch focus. But it eventually does get focus if you insist by executing 'select-frame-set-input-focus' twice. Right? > If parent is not set after the creation; the frame will switch focus, > buf it will of course appear somewhere at the screen (absolute > coordinates I guess). > > I have tested only emacsclient. I hope it helps. Earlier you said: It works correctly in emacsclient; not correctly when I run Emacs as a standalone process, either with -Q flag or without. So shouldn't you try with a standalone Emacs? > I have attached a simplified test file: If setting the parent in 'make-frame' works, then we can warn about reparenting later possibly causing problems with focus transfer. But if the problematic behavior occurs when you want to pop up an (already existing but invisible) child menu frame on a different parent and give the menu focus, I have no idea what to do. So does the latter work for you? martin From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Oct 2020 14:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: Lars Ingebrigtsen , "43672@debbugs.gnu.org" <43672@debbugs.gnu.org> Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160303025619429 (code B ref 43672); Sun, 18 Oct 2020 14:11:02 +0000 Received: (at 43672) by debbugs.gnu.org; 18 Oct 2020 14:10:56 +0000 Received: from localhost ([127.0.0.1]:38789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kU9Oh-00053I-NP for submit@debbugs.gnu.org; Sun, 18 Oct 2020 10:10:56 -0400 Received: from mail-am7eur06olkn2048.outbound.protection.outlook.com ([40.92.16.48]:28896 helo=EUR06-AM7-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kU9Oe-000533-Vm for 43672@debbugs.gnu.org; Sun, 18 Oct 2020 10:10:53 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kFWWa14sBLKq/zRIZRJ63S/PYx0HGG8g5fr2mGFJskOt3SsI8aFpN2mbw/UJXpx+S8xJaaelnzrweYyaMhChCj2xWxCnmbOpi8qMa3MLDq4lRC3kyZ5Gip5UE9xBsYw+t5CfpfZgiMXLy8uXJmRkeT/eERKYuer2T+mE9Hbrvv4BTXL4FbNGlM9fQ583oEvIHK1MCXsYUj9lXrzFYkY61enk8LJcTPYNDwPHGNKfiJU+gfGkQp3OgE8baSFdRkmcHD4rTYrJB7nIXy5DFS4y94R/0zLP0M9qd0uwE14aTOF1sJQyGHsreWaP+2Sl/x/E56bL/8r/5ZCp/B8jyUA7wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0rX0a0EQ1KXgRV8yT9R/5gnGCmQU+9BaKpTB8jfYZAA=; b=aMeFdCgYbFxu7cypL0pyRN9fxHd+UK3/8i31ni+ZnPwIYhaqmfSnFbqphJPmCrJX0qjWiKb8BYjhLOmP4WyC8R/Pt6DOy8G3zkBX27afE9HngECG0+ceyuTlhP2+No5wrLpj7AwwJT6Au1QE8h+uKD1I91b4flvxeFoe3HegReDRy68U+kG/NrAkMdWDoYYuZv1ReJKA5sc7avAAvNzvGj7K0N7wcIvJNQDWbPW+U4gkLvSXcS91e/n58hgfmyfWTsJkflPhBfJ8CwWcWkHUGP5A60z9WE1EDKgqYOX0K9bryW+J8sjoonVjcqQPwLJSZsQjmdDH9l26ePftS5RELQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0rX0a0EQ1KXgRV8yT9R/5gnGCmQU+9BaKpTB8jfYZAA=; b=TlBqhTk/ZRQBy+hznjcTOeW5U4SzslI8aBW8X4r8IbTt8HZhtmrZKJyBP38dJFoCOduda/vWj3gYacUujhBlNL3JYy7GLcl+RrHP9+91qd6IL3oQXCQA2IlGTkspw7VY2BU1ABmkHkBR6m70QNyUVNnWovIB2wOgeKsiTuPhZHKZ9vNQ1sZP3DNNu2Xx14NIvofg97F116CfdIPl8ds7/bZ9ms79SjfsSMBZ04+Qc/gpG2S38lqtkYlpFjXRi0HvaVLu+6a71kpRJ32kJDXWRo5NOZKMvGrU0QszSFsAxG8ZshNW38i9N8kOWqmqnbPncpw7OygHHRN/4xHjlHbFeg== Received: from AM7EUR06FT034.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::42) by AM7EUR06HT143.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Sun, 18 Oct 2020 14:10:46 +0000 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:fc36::43) by AM7EUR06FT034.mail.protection.outlook.com (2a01:111:e400:fc36::158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21 via Frontend Transport; Sun, 18 Oct 2020 14:10:46 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:8B39953621A4F009C417B4943B8489A7E17723181512FFFBF8804F5802712931; UpperCasedChecksum:197AF13A69A50519478136354C59A5E55B0F6B86EA532E28369793CD1ABF398A; SizeAsReceived:8397; Count:46 Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::187b:196a:cb2d:adf1]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::187b:196a:cb2d:adf1%5]) with mapi id 15.20.3477.028; Sun, 18 Oct 2020 14:10:46 +0000 From: Arthur Miller References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> <7b7b537b-0092-446c-4197-465e75595248@gmx.at> Date: Sun, 18 Oct 2020 16:10:44 +0200 In-Reply-To: (martin rudalics's message of "Sun, 18 Oct 2020 09:56:38 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain X-TMN: [jYdZ2I2/8SA2GFtz3VjqZeZVELMm0npQ] X-ClientProxiedBy: AM6P195CA0031.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:81::44) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87lfg3sjyz.fsf@live.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pascal.homepc (90.230.29.56) by AM6P195CA0031.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:81::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.22 via Frontend Transport; Sun, 18 Oct 2020 14:10:45 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 277d0672-f8ef-476f-027f-08d8736f9b6b X-MS-TrafficTypeDiagnostic: AM7EUR06HT143: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VyB8OdbqS83vGsT648vo0dkxaQ/h53RMytsce6Yvfjhfpk8GmecA0+EZlfocVmM8czGqsn7x/GaS30f5YKS3sPZCZtSYRSLkZh/wK+uf4mr4eesHumH5ndbbwXgLkY8m0tjGuXC5utWtxtJeJPS0XTW+WucOijra2VJS7gaOiWOsvKJl/+cFV3whpk3eDu/W8VA06dPX1d1X41XyPZWSXA== X-MS-Exchange-AntiSpam-MessageData: twfdHaS7kwfsjKHQUfeRXr+TBGkgwzejpJjjAVgq7BnlQfxcehgR2Gh0UbML/3yqheseoF9uGR2SsP759QYQ1hodbZVBa8FxlLQl+FLMAjpopj9rEspCLIoP459IXGlQHcKyKGGfN/QM1u5QN8xS5Q== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 277d0672-f8ef-476f-027f-08d8736f9b6b X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2020 14:10:46.3208 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM7EUR06FT034.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7EUR06HT143 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) martin rudalics writes: >> sorry for being a bit late with this. I have tested and it was very >> strange, so I realized I need more time to play with it. >> >> Here is how I got it: >> >> If I pass parent in the frame-params list to make-frame, then all is >> grandy-dandy; > > Even without emacsclient? No I tested emacsclient only; didn't have time to test more I had to go to sleep :-) >> but if I don't then the behaviour is as following: >> >> If parent is set after creation; the frame will be reparented correctly >> and appear at correct place on the screen, but it won't switch focus. > > But it eventually does get focus if you insist by executing > 'select-frame-set-input-focus' twice. Right? Yes. I think I said that previously; tested now and it works when setting focus twice. >> If parent is not set after the creation; the frame will switch focus, >> buf it will of course appear somewhere at the screen (absolute >> coordinates I guess). >> >> I have tested only emacsclient. I hope it helps. > > Earlier you said: > > It works correctly in emacsclient; not correctly when I run Emacs as a > standalone process, either with -Q flag or without. > > So shouldn't you try with a standalone Emacs? Yes I know; but now I get the behaviour as described in the previous mail in client too. I have just tested with emacs -Q too, and I get same behaviour, so at least now it seems to behave same in both client and standalone process. >> I have attached a simplified test file: > > If setting the parent in 'make-frame' works, then we can warn about > reparenting later possibly causing problems with focus transfer. But > if Personally I can live with this, it is not problem for me; I reported mostly because I thought it was rather an odd behaviour. I understand it's a picky thing to debug. > But if > the problematic behavior occurs when you want to pop up an (already > existing but invisible) child menu frame on a different parent and give > the menu focus, I have no idea what to do. So does the latter work for > you? I haven't come to that part yet :-). I just started to write a small eperiment, got into that one and reported, and haven't had time to go back to my experiment. From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Oct 2020 07:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Arthur Miller Cc: Lars Ingebrigtsen , "43672@debbugs.gnu.org" <43672@debbugs.gnu.org> Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160317845514684 (code B ref 43672); Tue, 20 Oct 2020 07:21:02 +0000 Received: (at 43672) by debbugs.gnu.org; 20 Oct 2020 07:20:55 +0000 Received: from localhost ([127.0.0.1]:43208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUlx1-0003ol-6h for submit@debbugs.gnu.org; Tue, 20 Oct 2020 03:20:55 -0400 Received: from mout.gmx.net ([212.227.15.15]:37157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUlwz-0003oW-6B for 43672@debbugs.gnu.org; Tue, 20 Oct 2020 03:20:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1603178446; bh=4JbHBrSPXaHVJX2KiVGJ4Vr8Svmtj6M0sgtTYiZdBB8=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=bb9sNFWoxnbXJnGsulEeCI+FLfNXc2nFt4aqbQbknfB6kOTxp9IfubgTkKo1llz7b PDba9+0MSIDi0hJeza7FH7JENbjxVu6UquvJxJULNUF9yXpkJ+rz9aNiBENcAsJhJs lXZP5EAzyU9iyX7xpEgcT+VMgDZTLGhDR7WWffIk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.102] ([212.95.7.240]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1McH9i-1js7k21IHk-00ck5u; Tue, 20 Oct 2020 09:20:46 +0200 References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> <7b7b537b-0092-446c-4197-465e75595248@gmx.at> From: martin rudalics Message-ID: <0047eb32-a97d-ac7f-2f9c-5764d640b802@gmx.at> Date: Tue, 20 Oct 2020 09:20:45 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:pBdly1I7whM3WPJSvUSFmpCNIF6xJipRUIn6u3AMG2L0jSbGwx3 NO6SU7IorQAIhkpymU9VSSLwGKIeo7Lluc8WdfNS3a+xhTcn0343MVlwyixTRN5CythsIIb ESC1gANOQwlJO29W/5th+IPQX7CWC8nbo+mfJrWnkWcvzDHogefyAHkv4W6cHhb9T91rNCm 6f6u7sahB4VHTcgnDrndw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:BRIBOd/io+o=:ZYJ8/HxKRSLYAk0Tk0MZix VPjTifkvBy0W6C7xq9ZnXnk7+DHeoeCWW5uzq6p1ZpP5D6686HM6eP9oWn24kV3eqnXDJy5Oz v5ltG5dz50kO95enkittwd/CSd8i8X0b5YYhjeQacPZa9bps4rGkdAnX+N1jSLUJUX5UAKCm8 yWK0w+Fa4RNUZw6Irs+cZopPoujJtAjGWqehvioAaVpq3pcTIlIFidWUJk5ZNy/EOuL7gLnkv lq4JVzecE/R0NGfTTl8zL/2w+37DkbugYYQtPNWG4BIRA1zwiJlIYjv8eNPmt9pga+hFKu1nJ aWjjMchsDRgVtRa63CUb+IUqs5H5qjgZ61ZY83ky+76h8VMruxDZ7GYf28y0HwLGGLy+9ZFCJ lyDyZ2lu06cWezOJ2apD5sYmhlf7emwQv0vWJ/f1iojyiaWY/Y97pOKZrhcgTk83We9pEd95l KpKrje5sY3jCv+kmnAkCRwdhpPWdCSE4/byGPweuGGLdlCwCU99Ou6wXomb+6MFCb+zAf18NW Uq/YqoWYUkoMwaahsscqanXL90wXu/rBfVcn8yMbyFRBjZzGSIXuTLH0ZOHb6r0Eov2bGleoe ASAmkgClvbLUR1Y/6UpNIL0179QecXLYLB+ZnhNl43TmOIAzXmQoHSZSdqgJzMIq/8qnXzojB 3D0Znr7BRKj+fFh0ouL8JnDtnuCNu1Cm1pt1BBotI12y9yVj9OsWeQszoRxEotaHIQPAgmEed CCQQy1N4qDaUEF2KeDaY2yqBZ460e1fCwWoKZvgmGoom1l2WHD83pPInbRBbWHfu3W5dieTtX TX1IaVKBbuqsn6QJign+q8v/vWL3V7Lp4QQN0t7DoNrFuCzSz5jCeE3J0Vt7X799MxIyJuW0y MFaYQ750lQ+m/6oulzBw== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Personally I can live with this, it is not problem for me; I reported > mostly because I thought it was rather an odd behaviour. I understand > it's a picky thing to debug. Transferring focus within or to a parent/child frame combination is a highly idiosyncratic task. Maybe because some window managers try to second-guess the application's or users' intentions. martin From unknown Tue Jun 17 22:17:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Apr 2022 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Arthur Miller Cc: martin rudalics , "43672@debbugs.gnu.org" <43672@debbugs.gnu.org> Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.16505497669674 (code B ref 43672); Thu, 21 Apr 2022 14:03:02 +0000 Received: (at 43672) by debbugs.gnu.org; 21 Apr 2022 14:02:46 +0000 Received: from localhost ([127.0.0.1]:50539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhXOQ-0002Vx-1M for submit@debbugs.gnu.org; Thu, 21 Apr 2022 10:02:46 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhXOO-0002Vg-Gj for 43672@debbugs.gnu.org; Thu, 21 Apr 2022 10:02:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=19nlcv367x1WQU8nASCXFHPjzsnvFwjIfkUoFzbLoiA=; b=tMvGsTFQb2EG9sE8a/7ePYrEAa Hr37+FRtat4pG3FfYOKVCaK+YCx4p/cV/1/GiQapa++pTeQ9906F6pKGncoO+qoccab6QXN0vB1zk 5+5k7mN9mnZEMPmfkaU/mqbk4yuOt9uO4kQkRZBBOy4WRTCLCpGm2nZYYdSc+7SqoFsI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhXOB-0005qp-Q4; Thu, 21 Apr 2022 16:02:38 +0200 From: Lars Ingebrigtsen References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> <7b7b537b-0092-446c-4197-465e75595248@gmx.at> X-Now-Playing: Richard and Linda Thompson's _Hard Luck Stories (5): The Madness of Love: Live 1975 & 1977_: "The Sun Never Shines On The Poor (Live At Queen Elizabeth Hall, London 25.04.1975)" Date: Thu, 21 Apr 2022 16:02:31 +0200 In-Reply-To: (Arthur Miller's message of "Sun, 18 Oct 2020 16:10:44 +0200") Message-ID: <87wnfi4jrc.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Arthur Miller writes: >> If setting the parent in 'make-frame' works, then we can warn about >> reparenting later possibly causing problems with focus transfer. But >> if > Personally I can live with this, it is not proble [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Arthur Miller writes: >> If setting the parent in 'make-frame' works, then we can warn about >> reparenting later possibly causing problems with focus transfer. But >> if > Personally I can live with this, it is not problem for me; I reported > mostly because I thought it was rather an odd behaviour. I understand > it's a picky thing to debug. >> But if >> the problematic behavior occurs when you want to pop up an (already >> existing but invisible) child menu frame on a different parent and give >> the menu focus, I have no idea what to do. So does the latter work for >> you? > I haven't come to that part yet :-). I just started to write a small > eperiment, got into that one and reported, and haven't had time to go > back to my experiment. (I'm going through old bug reports that unfortunately weren't resolved at the time.) This was a year ago -- skimming this bug report, it's unclear whether there's anything to be done on the Emacs side here. Is further progress possible in this bug report? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no