From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien 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: Fri, 17 Jan 2014 15:19:30 +0100 Message-ID: <87sismherx.fsf@bzg.ath.cx> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389969111 6689 80.91.229.3 (17 Jan 2014 14:31:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2014 14:31:51 +0000 (UTC) Cc: 16430@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 17 15:31:58 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 1W4ASg-0000Wm-NP for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 15:31:54 +0100 Original-Received: from localhost ([::1]:38601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4ASg-0007qk-AC for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 09:31:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4AHH-0007hS-CO for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 09:20:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4AHC-0007OR-Jl for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 09:20:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4AHC-0007OC-H6 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 09:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W4AHC-0007it-8V for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 09:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bastien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jan 2014 14: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.138996837929649 (code B ref 16430); Fri, 17 Jan 2014 14:20:02 +0000 Original-Received: (at 16430) by debbugs.gnu.org; 17 Jan 2014 14:19:39 +0000 Original-Received: from localhost ([127.0.0.1]:54631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4AGp-0007i9-3C for submit@debbugs.gnu.org; Fri, 17 Jan 2014 09:19:39 -0500 Original-Received: from mail-wi0-f170.google.com ([209.85.212.170]:61758) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4AGk-0007hw-UX for 16430@debbugs.gnu.org; Fri, 17 Jan 2014 09:19:36 -0500 Original-Received: by mail-wi0-f170.google.com with SMTP id ex4so2092065wid.5 for <16430@debbugs.gnu.org>; Fri, 17 Jan 2014 06:19:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=mCP+2C68W59MEQEJ06wNNEs/LaRQCkAzO6Jnh0wIE20=; b=V7r6sMaBJvtrRj3sB077BAMPqytic9i0NGErMFs6UAufdtj1gNKmKrw0ecorNGZwlW JanremwT/+dc8CO1P+ChjHPmwwIUtrS6WWv9pm8mA3A0Ue4hDYScGtTa3RBs+CIa+FdA bFzSSq1GxnJbZ2+SowKzadd2dRuGJc1m0lyJNSP5HcrYn5xMkmp66zhsu0ocTuZ2iZ50 Zc812xskyUOFgB7Hg3i6k22AvZHBSwA1CnAffUasgDwpTITh+gwHWbrM+f60e5Mrq0bE rK81vz0LERBn7dlXtALmwGB8gFVVhK5boevDTtbRJEa79L+DsCmvXr6RGj8v/sPWxD2G ZijA== X-Received: by 10.194.104.39 with SMTP id gb7mr2247955wjb.69.1389968373921; Fri, 17 Jan 2014 06:19:33 -0800 (PST) Original-Received: from bzg.localdomain (AMontsouris-651-1-1-52.w90-46.abo.wanadoo.fr. [90.46.36.52]) by mx.google.com with ESMTPSA id ey3sm3444654wib.4.2014.01.17.06.19.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jan 2014 06:19:32 -0800 (PST) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id E29D41C2087A; Fri, 17 Jan 2014 15:19:30 +0100 (CET) In-Reply-To: <52D64215.7080805@gmx.at> (martin rudalics's message of "Wed, 15 Jan 2014 09:08:53 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:83649 Archived-At: martin rudalics writes: >> With my window manager: >> >> (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. Note that I use (setq line-height 0.1). With a 0 value, toggle-frame-fullscreen does not have the problem of the weird bottom margin. The bug with C-c C-e in org-mode is still there when I fullscreened through the window manager. >> (You can see it on the video: with M-x toggle-frame-fullscreen RET >> there is a unused bottom space, whereas with the WM fullscreen >> there is none.) > > I can guess it from the video now. But when I do > `toggle-frame-fullscreen' there's no "unused bottom space" (with > xfwm4). What happens when you maximize the frame instead? I get no error. I investigated and here is the minimal config to reproduce the problem: (menu-bar-mode 0) (tool-bar-mode 0) (scroll-bar-mode 0) (set-frame-font "Inconsolata 13") (setq line-height 0.1) (set-frame-parameter nil 'fullscreen 'fullboth) ;; Add Org export backend so that the export dispatch window ;; is big enough (add-to-list 'load-path "~/install/git/org-mode/contrib/lisp/") (require 'ox-rss) (require 'ox-beamer) (require 'ox-latex) (require 'ox-odt) (require 'ox-koma-letter) Then from there, emacs -Q C-x C-f ~/test.org C-c C-e will throw the error. (You would need to download Org from orgmode.org to get the contrib/lisp/ directory.) And my screen resolution is 1366x768, if that helps. -- Bastien