From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#31920: 26.1; frame appears in wrong part of desktop after restoring frameset from fullscreen Date: Thu, 21 Jun 2018 12:25:32 +0200 Message-ID: <87zhzo3083.fsf@gmail.com> References: <5B2B50C8.2090600@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1529576700 27563 195.159.176.226 (21 Jun 2018 10:25:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2018 10:25:00 +0000 (UTC) Cc: 31920@debbugs.gnu.org, Jonathan Kyle Mitchell To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 21 12:24:56 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVwln-0006w4-GS for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2018 12:24:51 +0200 Original-Received: from localhost ([::1]:54339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVwnu-0006NZ-H1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2018 06:27:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVwmz-0005m2-GS for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 06:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVwmw-0002zu-3U for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 06:26:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50352) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVwmv-0002zh-VS for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 06:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fVwmv-0000Nt-Ne for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 06:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jun 2018 10:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31920 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31920-submit@debbugs.gnu.org id=B31920.15295767441452 (code B ref 31920); Thu, 21 Jun 2018 10:26:01 +0000 Original-Received: (at 31920) by debbugs.gnu.org; 21 Jun 2018 10:25:44 +0000 Original-Received: from localhost ([127.0.0.1]:58249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVwmd-0000NM-T7 for submit@debbugs.gnu.org; Thu, 21 Jun 2018 06:25:44 -0400 Original-Received: from mail-wm0-f42.google.com ([74.125.82.42]:54426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVwmb-0000N7-25 for 31920@debbugs.gnu.org; Thu, 21 Jun 2018 06:25:42 -0400 Original-Received: by mail-wm0-f42.google.com with SMTP id o13-v6so4232182wmf.4 for <31920@debbugs.gnu.org>; Thu, 21 Jun 2018 03:25:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=79cd0+HqdJRkDvKOERRvPFn06XsJdautfH1eu8riXTQ=; b=AXmJYFNy1+khSfIp2hTalcJ83B0MpMjthz2HL8JcbFBtFUYc25w8fBb9/4u+hO63FK DXrqCZ3/WBl6PrYodEdFMh6inHj+PTAx3bbtbCguJPSSTHbxBNd4IyI/10Pmytgs/tHi s/dtuyUgL6C+zhviNR9E5Iw3QqEM4pp9GK/EarBc+8bKoWBF3a8f82vGVvBe4VIVTQuB axXD3uXslEBgfgalx7n3fM4b5Sy4+oVt1nnbNP3uT776lajWNzzuyyq+sbBlMdy3et0m qfIF2KpHWalq713RLo5hOgcMtEujHnKoHKCJ2YmrWisd567aNmq/L9zOmvdfiUly6Avg xYQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=79cd0+HqdJRkDvKOERRvPFn06XsJdautfH1eu8riXTQ=; b=FRsZXTyRFFkg2XR5eBOaVNVcJYchgHqoCugOFIIe+zGxWWcQsWB6xiEmK8QfyORR7s LlnFk0jFcr9o2WP84QqcV3Hk1vF0JTcVZiBCDgVxijTxuywXruzGg7ZucvTkqLqKKUAW MkproPDoP4a2ghR7AFYo2MsI1ymjHBZpIA2ORAi3VC/tN56LKdjQRo7pOO4B5HeNp8Zp c2dWAvgLResCHtI99Ms+fODBfSD9fQ6A4si7AAgjEK3JQPNwwaMU3PrJ6FpP6BvsuC9T lx4qRfOYI0zYkFiAEJubXuFnCdEay6yOIwJyWhE7y1qVn4Tt9nAfMvrTY1TQANS/o3+K SCNQ== X-Gm-Message-State: APt69E0G5PmgkPfrQYq8ZsloimHd3AY/KXuQyExrXvf3SA6O0vYT79Sq s7sqjcRo/cwng3bJhJmdutTZ0luB38U= X-Google-Smtp-Source: ADUXVKIC9cIABwgxed869QAVPPgwzML0caU2bIClL4qBUp18jRm36coETAOuVsaHGj0bFFjk48DK1Q== X-Received: by 2002:a1c:b745:: with SMTP id h66-v6mr4528078wmf.151.1529576734756; Thu, 21 Jun 2018 03:25:34 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id m58-v6sm8331538wrf.61.2018.06.21.03.25.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jun 2018 03:25:33 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <5B2B50C8.2090600@gmx.at> (martin rudalics's message of "Thu, 21 Jun 2018 09:16:24 +0200") 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:147697 Archived-At: martin rudalics writes: >> In GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.22.3= 0) >> of 2018-06-04 built on buildvm-10.phx2.fedoraproject.org > > Thanks for the report. Here I can't reproduce the behavior you > observe on Windows XP even if I modify your recipe in various ways. > Maybe someone else can give it a try. > I see this on my Ubuntu 16.04 box, also running KDE, but only if I go through the restore cycle twice. Also, if I restore frameset a again, the frame ends up in the right place, ie: restore a -> OK restore b -> OK restore a -> NOK restore a -> OK > Do you really have to split the window in step 1 and delete a window > in step 2 to produce the bug? These actions appear unrelated to the > behavior you observe since window managers pretty much ignore Emacs > windows. I don=CA=BCt need to split the window. > Also what happens if, in step 2, you maximize the window instead of > making it fullscreen? frameset.el has > > (modify-frame-parameters frame > (if (eq (frame-parameter frame 'fullscreen) fullscreen) > ;; Workaround for bug#14949 > (assq-delete-all 'fullscreen filtered-cfg) > filtered-cfg)) > > which might affect the behavior on your system. Can you take out this > form, reevaluate 'frameset--restore-frame' and see whether anything > changes? > > And maybe you could also try with > > (when (and force-onscreen > ;; FIXME: iconified frames should be checked too, > ;; but it is impossible without deiconifying them. > (not (eq (frame-parameter frame 'visibility) 'icon))) > (frameset-move-onscreen frame force-onscreen)) > > removed from 'frameset--restore-frame'. Neither of those make any difference for me, nor does using toggle-frame-maximized. Regards Robert