From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#31920: 26.1; frame appears in wrong part of desktop after restoring frameset from fullscreen Date: Fri, 22 Jun 2018 10:55:50 +0200 Message-ID: <5B2CB996.4060606@gmx.at> References: <5B2B50C8.2090600@gmx.at> <87zhzo3083.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1529657841 6987 195.159.176.226 (22 Jun 2018 08:57:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2018 08:57:21 +0000 (UTC) Cc: 31920@debbugs.gnu.org, Jonathan Kyle Mitchell To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 22 10:57:17 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 1fWHsY-0001gd-LQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Jun 2018 10:57:14 +0200 Original-Received: from localhost ([::1]:60175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWHug-0007iP-2M for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Jun 2018 04:59:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWHsU-0006Cn-6K for bug-gnu-emacs@gnu.org; Fri, 22 Jun 2018 04:57:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWHsP-0006V7-8E for bug-gnu-emacs@gnu.org; Fri, 22 Jun 2018 04:57:10 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51768) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWHsP-0006V1-4Q for bug-gnu-emacs@gnu.org; Fri, 22 Jun 2018 04:57:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWHsO-0005q4-RM for bug-gnu-emacs@gnu.org; Fri, 22 Jun 2018 04:57:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jun 2018 08:57:04 +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.152965776322303 (code B ref 31920); Fri, 22 Jun 2018 08:57:04 +0000 Original-Received: (at 31920) by debbugs.gnu.org; 22 Jun 2018 08:56:03 +0000 Original-Received: from localhost ([127.0.0.1]:59654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWHrO-0005nS-7g for submit@debbugs.gnu.org; Fri, 22 Jun 2018 04:56:03 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:59791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWHrM-0005n2-FW for 31920@debbugs.gnu.org; Fri, 22 Jun 2018 04:56:00 -0400 Original-Received: from [192.168.1.101] ([213.162.73.105]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M7Xi3-1gR7y30T9r-00xHYa; Fri, 22 Jun 2018 10:55:52 +0200 In-Reply-To: <87zhzo3083.fsf@gmail.com> X-Provags-ID: V03:K1:cJsOGslsT9Oq7JpGSjCClYRj15KwPdT9KvDAd1mzippOBWd1BrT VlwHPWYQpew7YatU8lDvPh6KUwTu/6elwIYbsAMGYAi5qSpZ+y2eO1PyudFLaCguTqWo+pa P0a64ULXgViSnNiSgY+VlKUqaX+mOOrsRh95LG4XliDViL5DW5wP7JOoXWe1MBtpDNTBWR8 7vIZLhL5/6YMXHE4geL0g== X-UI-Out-Filterresults: notjunk:1;V01:K0:PsM/7h3o7Rc=:uacmhY2R33tux4WHCM/pYh i3sgPJxLek4u57sIAflZlT49whBlzmlGkc37/aAGADWM/aLKshXayJ34xVLGc3t/TztctqThW 8i7taiHdOqx3n+FUCCk2SbJ7VaTCNx7Em+CMHicQsZTCVhENDW9QZ3ErUNW6uod8UtdxPeV57 ez05D5dUZIGQx5VD8poMvvTKFn1tIeam9IqgCPFDH0sWrE3XaEbPze8+iVn6ZiGiLm+hCktiQ iQa+ICEkD9Ri1OBjUj4i4j0JynvgZuVYC9VhauaTjDXaF9tFIibB4zwg4ZmDk7OYABDPr7H5z 7ga18g7RJPN7LIsOlCaXebeHKxB1QvsWWupxeqVZvYfo2q1ku1LOjyKz9K9pwBN+k2JLdbq2j 2g3p7WFkZQJFigsFMX2SUS7tpRcwg0oXU5OHq9lNWw1Vm6pkfE14394h4orzjTtFo8QSVH2Jz YC8zZuNgQq+NJ2jh10VuCHI+NRNjv7Fnu0XTKugopF6Z0tFKXoqCkYXYcEUEh6QYoGo9kG+0u U+6QXOwiPzn9tbSmKFojkQXlojBFnqIUVjVF6WOe9UIyy7QWQS+YxUFvxuv/d2ea3EB/vyhnM Pjkhl1CXSqkc1MXGzwF2eevjOsCwfOFcDAdC64TfT4j38c1YN12Xi9dsF3tstCcaj/ZWClitJ Ndb3/20KRvZ+uxjt+hrG82sJdRfHbwVZJR1/g2G1buo2U1bzd2obIVGb5+fSLPdOAAByhk6zx nYwGhaOIxDqD2et5Tep8IsD3OMT7nzd8UyfgC4R5OyCG2ZmVxutSzrZbt91jNaJLRNGjwoq3 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:147731 Archived-At: > 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 Confirmed. The transition from b to a via C-x r j a always moves the frame to the top/left corner of the screen here. IIUC C-x r f runs the command 'frameset-to-register' which stores a "framset" in a register. C-x r j runs the command 'jump-to-register' which does _not_ restore a frame's state via 'frameset--restore-frame' but goes to 'set-frame-configuration' instead. Apparently, framesets and frame configurations differ in a couple of minor aspects and the fullscreen state is one of them. We probably should replace (set-frame-configuration (car val) (not delete)) by something like (frameset-restore (car val)) but my knowledge of constructs like 'cl-defmethod' and 'cl-defun' is too limited to play around with such a change. Maybe someone wants to give it at try, it should be a rather low-hanging fruit. > Neither of those make any difference for me, nor does using > toggle-frame-maximized. Obviously so because 'frameset--restore-frame' does not get called in the first place. Thanks for investigating, martin