bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#7004: 23.2; In fullscreen mode, the echo area takes too much vertica


From: Jan Djärv
Subject: bug#7004: 23.2; In fullscreen mode, the echo area takes too much vertical space
Date: Fri, 10 Sep 2010 11:01:23 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

Please do not post in html.

From your picture:
The height of tool bar + menu bar is 73 pixels.
Your font height is 17 pixels.

(1024 - 73)/17 = 55.94117

The remnant (0.94117) is just wasted space, no whole line can be made to fit in to it so it shows up at the botton as unused space. Any window height that isn't an integral of the font height will show like this.

There is no bug here,

        Jan D.

2010-09-09 17:14, Dani Moncayo skrev:

When I put Emacs in fullscreen mode, it seems to me that the last line
(echo area/minibuffer) takes too much, unnecessary vertical space.

Test conditions:
  - emacs-version => "GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version
2.20.1) of 2010-07-31 on jesus-desktop".
  - OS: Ubuntu 10.04 (32 bits CPU).

To reproduce the bug:
  1.- Start Emacs in fullscreen: "emacs -Q -fs" (see "fullscreen.png").
Here you will see the echo area too high.
  2.- Now, to compare, start Emacs in normal window: "emacs -Q" (see
"normal-window.png"). Here you will see the echo area properly dimensioned.


Another (i think easier) way to reproduce the bug: switch from normal
window to fullscreen mode, by using the following Elisp function:

    (defun toggle-fullscreen ()
      (interactive)
      (let ((current-value (frame-parameter nil 'fullscreen)))
         (set-frame-parameter nil 'fullscreen
                 (if (equal current-value 'fullboth)
                     (if (boundp 'old-fullscreen) old-fullscreen nil)
                   (progn (setq old-fullscreen current-value)
    'fullboth)))))

    ; optional shortcut
    (global-set-key [f11] 'toggle-fullscreen)














reply via email to

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