From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.bugs Subject: bug#43672: 28.0.50; select-frame-set-input-focus does not set focus first time called Date: Tue, 29 Sep 2020 22:43:05 +0200 Message-ID: References: <87d026uhp7.fsf@gnus.org> <87y2kut2cp.fsf@gnus.org> <87a6x8elva.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19093"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 43672@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 29 22:52:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNMbe-0004qc-93 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Sep 2020 22:52:14 +0200 Original-Received: from localhost ([::1]:50666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNMbd-0002oJ-8x for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Sep 2020 16:52:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNMTi-0005qn-Pl for bug-gnu-emacs@gnu.org; Tue, 29 Sep 2020 16:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNMTi-0006xq-D7 for bug-gnu-emacs@gnu.org; Tue, 29 Sep 2020 16:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNMTi-0008K5-AX for bug-gnu-emacs@gnu.org; Tue, 29 Sep 2020 16:44:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 43672-submit@debbugs.gnu.org id=B43672.160141219931937 (code B ref 43672); Tue, 29 Sep 2020 20:44:02 +0000 Original-Received: (at 43672) by debbugs.gnu.org; 29 Sep 2020 20:43:19 +0000 Original-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 Original-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== Original-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 Original-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 Original-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 In-Reply-To: (martin rudalics's message of "Tue, 29 Sep 2020 16:34:18 +0200") 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> X-MS-Exchange-MessageSentRepresentingType: 1 Original-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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189295 Archived-At: 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.