[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16430: 24.3.50; When fullscreen is triggered from the window manager

From: Bastien
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

martin rudalics <address@hidden> 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

(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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]