From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#16430: 24.3.50; When fullscreen is triggered from the window manager, I can't resize window (via M-x org-export RET) Date: Sat, 18 Jan 2014 13:19:21 +0100 Message-ID: <52DA7149.60102@gmx.at> References: <87mwj0glf4.fsf@bzg.ath.cx> <52D427EA.5090609@gmx.at> <87txd7g0ew.fsf@bzg.ath.cx> <52D43FEA.7010602@gmx.at> <87y52jy52o.fsf@bzg.ath.cx> <52D4EBAE.2060903@gmx.at> <87iotmao4l.fsf@bzg.ath.cx> <52D51541.6040708@gmx.at> <87r48afrul.fsf@bzg.ath.cx> <52D57D3F.7090809@gmx.at> <877ga2iafk.fsf@bzg.ath.cx> <52D64215.7080805@gmx.at> <87sismherx.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1390047616 11861 80.91.229.3 (18 Jan 2014 12:20:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jan 2014 12:20:16 +0000 (UTC) Cc: 16430@debbugs.gnu.org To: Bastien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 18 13:20:22 2014 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 1W4Usw-0007SY-4o for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 13:20:22 +0100 Original-Received: from localhost ([::1]:42178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4Usv-0001Qx-L0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 07:20:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4Usk-0001QT-IE for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 07:20:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4Usd-0008Qp-0V for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 07:20:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4Usc-0008Q5-Se for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 07:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W4Usc-0003cR-DV for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 07:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jan 2014 12:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16430 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16430-submit@debbugs.gnu.org id=B16430.139004757013851 (code B ref 16430); Sat, 18 Jan 2014 12:20:02 +0000 Original-Received: (at 16430) by debbugs.gnu.org; 18 Jan 2014 12:19:30 +0000 Original-Received: from localhost ([127.0.0.1]:55721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4Us5-0003bL-Cg for submit@debbugs.gnu.org; Sat, 18 Jan 2014 07:19:29 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:59219) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4Us3-0003bC-1m for 16430@debbugs.gnu.org; Sat, 18 Jan 2014 07:19:27 -0500 Original-Received: from [62.47.53.178] ([62.47.53.178]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lgql4-1VaLGN3vC2-00oETK for <16430@debbugs.gnu.org>; Sat, 18 Jan 2014 13:19:26 +0100 In-Reply-To: <87sismherx.fsf@bzg.ath.cx> X-Provags-ID: V03:K0:ukjkljx+RCwu2AnbJd9SBudnIv42ne/rPPIusp8Nw7NNrt+P1hv 3yFIL3x+RireA/m94lgImPFm3AMfjdLq7ynEH5T5LXI8uYnmfOs/FwDnsl2BGrd826G3CaZ mQVs5VncLa/44gFtvdqHGv6y0XhBtfu9vqKm7FpG1QVvBVj64TL2TmbMp9CvWoS+WNWkBa8 tByMOCpn4jmqyu+VEcsBA== 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: 140.186.70.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:83679 Archived-At: >>> (window-pixel-height (frame-root-window)) => 750 >>> (window-pixel-height (selected-window)) => 375 >>> >>> With toggle-frame-fullscreen: >>> >>> (window-pixel-height (frame-root-window)) => 728 >>> (window-pixel-height (selected-window)) => 368 >> What is the size of the other, non-selected window in each of these >> cases? > > Same for all values, except I get 364 instead of 368 for the last one. > >> And what gives evaluating (frame-char-height)? > > 18 in all cases. I attach below two functions to do this. So please do M-x frame-dump and retrieve the contents of the buffer *frame-dump* to post the results. In particular, please do that once for each of your fullscreen frames with a frame containing two windows above each other. martin (defun window-dump (window) "Dump WINDOW." (insert (format "%s parent: %s\n" window (window-parent window)) (format "pixel left: %s top: %s size: %s x %s new: %s\n" (window-pixel-left window) (window-pixel-top window) (window-size window t t) (window-size window nil t) (window-new-pixel window)) (format "char left: %s top: %s size: %s x %s new: %s\n" (window-left-column window) (window-top-line window) (window-total-size window t) (window-total-size window) (window-new-total window)) (format "normal: %s x %s new: %s\n" (window-normal-size window t) (window-normal-size window) (window-new-normal window))) (when (window-live-p window) (insert (format "body pixel: %s x %s char: %s x %s\n" (window-body-width window t) (window-body-height window t) (window-body-width window) (window-body-height window)))) (insert "\n")) (defun frame-dump (&optional frame) "Dump frame FRAME to buffer *frame-dump*. FRAME defaults to the selected frame." (interactive) (setq frame (window-normalize-frame frame)) (with-current-buffer (get-buffer-create "*frame-dump*") (erase-buffer) (insert (format "frame pixel: %s x %s cols/lines: %s x %s units: %s x %s\n" (frame-pixel-width frame) (frame-pixel-height frame) (frame-total-cols frame) (frame-text-lines frame) ; (frame-total-lines frame) (frame-char-width frame) (frame-char-height frame)) (format "frame text pixel: %s x %s cols/lines: %s x %s\n" (frame-text-width frame) (frame-text-height frame) (frame-text-cols frame) (frame-text-lines frame)) (format "tool: %s scroll: %s fringe: %s border: %s right: %s bottom: %s\n\n" (tool-bar-height frame t) (frame-scroll-bar-width frame) (frame-fringe-width frame) (frame-border-width frame) (frame-right-divider-width frame) (frame-bottom-divider-width frame))) (walk-window-tree 'window-dump frame t t)))