From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#5482: frame-invisible-p reports nil for iconified frames on w32 Date: Tue, 28 Jun 2016 19:00:34 +0300 Message-ID: <837fd9xpzx.fsf@gnu.org> References: <576FABF6.2050800@gmx.at> <83bn2oymah.fsf@gnu.org> <5770C60E.20502@gmx.at> <83por2y705.fsf@gnu.org> <57715AB7.2010708@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1467130108 30827 80.91.229.3 (28 Jun 2016 16:08:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2016 16:08:28 +0000 (UTC) Cc: ahyatt@gmail.com, lennart.borgman@gmail.com, 5482@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 28 18:08:08 2016 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 1bHvYQ-0007iS-Dp for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jun 2016 18:08:02 +0200 Original-Received: from localhost ([::1]:37875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHvYP-0005OW-GH for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jun 2016 12:08:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHvSh-0005h6-8x for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 12:02:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHvSc-0007MA-4m for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 12:02:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHvSc-0007M6-2I for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 12:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bHvSb-0001RP-RX for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2016 12:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jun 2016 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5482 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5482-submit@debbugs.gnu.org id=B5482.14671296765487 (code B ref 5482); Tue, 28 Jun 2016 16:02:01 +0000 Original-Received: (at 5482) by debbugs.gnu.org; 28 Jun 2016 16:01:16 +0000 Original-Received: from localhost ([127.0.0.1]:59244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHvRs-0001QR-Ex for submit@debbugs.gnu.org; Tue, 28 Jun 2016 12:01:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHvRp-0001QD-LM for 5482@debbugs.gnu.org; Tue, 28 Jun 2016 12:01:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHvRe-0007BK-Rd for 5482@debbugs.gnu.org; Tue, 28 Jun 2016 12:01:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHvRe-0007B9-OE; Tue, 28 Jun 2016 12:01:02 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4359 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bHvRb-0005Ro-Gi; Tue, 28 Jun 2016 12:01:00 -0400 In-reply-to: <57715AB7.2010708@gmx.at> (message from martin rudalics on Mon, 27 Jun 2016 18:56:23 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:120178 Archived-At: > Date: Mon, 27 Jun 2016 18:56:23 +0200 > From: martin rudalics > CC: ahyatt@gmail.com, lennart.borgman@gmail.com, 5482@debbugs.gnu.org > > > On Windows 7, calling iconify-frame doesn't cause the frame to show > > when the mouse pointer hovers above the Emacs icon on the task bar, as > > if the frame is still invisible. No such problem on XP, though. > > Aha. Windows is getting picky. Would > > my_show_window (f, FRAME_W32_WINDOW (f), SW_SHOWMINNOACTIVE); > > instead of > > SendMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, SC_MINIMIZE, 0); > > in x_iconify_frame fix it? I don't know enough about this to tell. (Why SW_SHOWMINNOACTIVE and not SW_SHOWMINIMIZED?) But if this seems to fix the issue, feel free to push to master. Thanks.