From: Bastien <bzg@altern.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 16430@debbugs.gnu.org
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 [thread overview]
Message-ID: <87sismherx.fsf@bzg.ath.cx> (raw)
In-Reply-To: <52D64215.7080805@gmx.at> (martin rudalics's message of "Wed, 15 Jan 2014 09:08:53 +0100")
martin rudalics <rudalics@gmx.at> 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
next prev parent reply other threads:[~2014-01-17 14:19 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-13 11:39 bug#16430: 24.3.50; When fullscreen is triggered from the window manager, I can't resize window (via M-x org-export RET) Bastien Guerry
2014-01-13 17:52 ` martin rudalics
2014-01-13 19:13 ` Bastien
2014-01-13 19:35 ` martin rudalics
2014-01-13 20:55 ` Bastien
2014-01-14 7:47 ` martin rudalics
2014-01-14 9:50 ` Bastien
2014-01-14 10:45 ` martin rudalics
2014-01-14 16:30 ` Bastien
2014-01-14 18:09 ` martin rudalics
2014-01-14 20:18 ` Bastien
2014-01-15 8:08 ` martin rudalics
2014-01-17 14:19 ` Bastien [this message]
2014-01-17 19:07 ` martin rudalics
2014-01-18 12:19 ` martin rudalics
2014-01-19 16:31 ` Bastien
2014-01-19 17:31 ` martin rudalics
2014-01-20 14:18 ` Bastien
2014-01-20 18:18 ` martin rudalics
2014-01-20 18:25 ` Bastien
2014-01-22 10:35 ` martin rudalics
2014-01-22 11:06 ` Bastien
2014-01-14 20:22 ` Bastien
2014-01-15 8:09 ` martin rudalics
2014-01-17 14:44 ` Bastien
2014-01-14 16:34 ` Bastien
2014-01-14 18:09 ` martin rudalics
2014-01-14 20:32 ` Bastien
2014-01-15 8:09 ` martin rudalics
2014-01-17 14:48 ` Bastien
2014-01-13 20:56 ` Bastien
2014-01-14 7:48 ` martin rudalics
2014-01-14 9:45 ` Bastien
2014-01-22 11:07 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sismherx.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=16430@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.