From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#21864: 25.0.50; `raise-frame' steals focus some time after being called if the frame was iconified Date: Sun, 08 Nov 2015 18:33:34 +0000 Message-ID: <87a8qofhbw.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447005681 2250 80.91.229.3 (8 Nov 2015 18:01:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Nov 2015 18:01:21 +0000 (UTC) To: 21864@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 08 19:01:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZvUH7-0004Lh-FZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Nov 2015 19:01:09 +0100 Original-Received: from localhost ([::1]:48336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvUH6-00022l-SC for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Nov 2015 13:01:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvUH3-00022g-LM for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:01:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvUH0-0003LU-FI for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:01:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvUH0-0003LP-CT for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZvUH0-0001Wc-7I for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Nov 2015 18:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21864 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14470056265810 (code B ref -1); Sun, 08 Nov 2015 18:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Nov 2015 18:00:26 +0000 Original-Received: from localhost ([127.0.0.1]:57823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZvUGP-0001Ve-NG for submit@debbugs.gnu.org; Sun, 08 Nov 2015 13:00:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51548) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZvUG5-0001UP-HB for submit@debbugs.gnu.org; Sun, 08 Nov 2015 13:00:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvUG4-0002uA-5k for submit@debbugs.gnu.org; Sun, 08 Nov 2015 13:00:04 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvUG4-0002tz-3Z for submit@debbugs.gnu.org; Sun, 08 Nov 2015 13:00:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvUG3-0001UL-AZ for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:00:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvUG0-0002pj-5w for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:00:03 -0500 Original-Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:34889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvUFz-0002pe-W7 for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2015 13:00:00 -0500 Original-Received: by wmdw130 with SMTP id w130so13326533wmd.0 for ; Sun, 08 Nov 2015 09:59:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=3d3yGmAlfK15SIekEjcI6Jx9PdZzXmdOgiLJrFg0Ve0=; b=gV1+bpdDgxv8OiXEYeCcWzlXUduK4BDCUbTxW+vKHC0GpXbNJcjw2puFOHJjlpoN42 WZe7fzkdLZ8IrC8zp7Ll1qSJjOJHc41RUvt6ueSXVwA4YhxFHiTkOJJdvFUfvzwjv8m3 qax1/KXDqr9wlqLL920qan5h4pH3IQjLw6cXiJK5+VMfor+erCIdUtPF3vqda5lZmjoO BaG1Yxid5GISN7vMw8XQCB/uDzA/gJcVwHZqaZwGBIrgbCmvwBrE4IPCxCKWMGq9cMxw 5ghkNa9z/pXTTL3aitM8FBNvWx2AlQDVV7ZJw5LRW7skUxXKF5CIGGwYqaszMjZkde4y f4uw== X-Received: by 10.28.156.75 with SMTP id f72mr5065082wme.91.1447005599437; Sun, 08 Nov 2015 09:59:59 -0800 (PST) Original-Received: from Gandalf-Linux.gmail.com (host-92-12-87-116.as43234.net. [92.12.87.116]) by smtp.gmail.com with ESMTPSA id hu2sm11020745wjb.21.2015.11.08.09.59.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Nov 2015 09:59:58 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108578 Archived-At: 1. On a graphical session, do the following: (setq other-frame (make-frame)) 2. Iconify (minimize) the newly created frame. 3. Run the following: (let ((cur (selected-frame))) (raise-frame other-frame) (select-frame cur)) Result: Even though that snippet ends with `(select-frame cur)', focus is left on `other-frame'. For comparison, try something else: 1. (setq other-frame (make-frame)) 2. Switch back to the original frame, and make sure it is covering the newly created frame. 3. Run the following: (let ((cur (selected-frame))) (raise-frame other-frame) (select-frame cur)) Result: other-frame is correctly raised while focus is correctly left on the original frame.