From: "Bruno Félix Rezende Ribeiro" <oitofelix@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 18912@debbugs.gnu.org
Subject: bug#18912: 24.4; mode-line corruption on graphical frames in dual-headed display
Date: Sat, 01 Nov 2014 10:54:03 -0200 [thread overview]
Message-ID: <5454D7EB.6060407@gnu.org> (raw)
In-Reply-To: <8361ezz56z.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1859 bytes --]
Eli Zaretskii wrote:
> Please show the output of each one the following forms, evaluated in
> both the "good" and "bad" configurations, when you start "emacs -Q"
> and visit the same /dev directory:
>
> (window-height)
> (window-pixel-height)
>
> You can evaluate each form using M-:, as in
>
> M-: (window-height) RET
>
> Please compare the return value of window-height with the actual
> number of lines available in that window, and tell if the two match.
For this test Emacs was started with the option '-Q' and in both
configurations the frame was put by the window manager in the same area
of the VGA1 output, with unchanged relative geometry:
xwininfo (common to both configurations):
Absolute upper-left X: 520
Absolute upper-left Y: 23
Relative upper-left X: 4
Relative upper-left Y: 23
Width: 756
Height: 697
Depth: 24
Border width: 0
Good configuration (only VGA1 enabled):
xwininfo:
Corners: +520+23 -4+23 -4-0 +520-0
-geometry 80x37-0+0
(window-height) => 34
(window-pixel-height) => 612
Bad configuration (both VGA1 and LVDS1 enabled):
xwininfo:
Corners: +520+23 -1028+23 -1028-0 +520-0
-geometry 80x37+516+0
(window-height) ==> 34
(window-pixel-height) ==> 613
Interesting enough, '(window-pixel-height)' returns different values for
both configurations under the "same" circumstances. Furthermore, in
both configurations '(window-height)' returns one line more than what
was actually shown. Therefore, both expressions seem to suggest an "off
by one" bug.
--
,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
((_/)o o(\_)) There is no system but GNU;
`-'(. .)`-' GNU Linux-Libre is one of its official kernels;
\_/ All software must be free as in freedom;
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2014-11-01 12:54 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 13:46 bug#18912: 24.4; mode-line corruption on graphical frames in dual-headed display Bruno Félix Rezende Ribeiro
2014-10-31 20:30 ` Stefan Monnier
2014-10-31 20:44 ` Bruno Félix Rezende Ribeiro
2014-11-01 8:42 ` Eli Zaretskii
2014-11-01 12:56 ` Bruno Félix Rezende Ribeiro
2014-11-01 8:38 ` Eli Zaretskii
2014-11-01 9:16 ` Eli Zaretskii
2014-11-01 12:54 ` Bruno Félix Rezende Ribeiro [this message]
2014-11-01 13:03 ` Eli Zaretskii
2014-11-02 21:49 ` Bruno Félix Rezende Ribeiro
2014-11-03 3:34 ` Eli Zaretskii
2014-11-03 6:03 ` Bruno Félix Rezende Ribeiro
2014-11-03 16:20 ` Eli Zaretskii
2014-11-03 17:43 ` martin rudalics
2014-11-03 17:52 ` Eli Zaretskii
2014-11-03 18:01 ` martin rudalics
2014-11-03 18:19 ` Eli Zaretskii
2014-11-03 20:06 ` Bruno Félix Rezende Ribeiro
2014-11-03 20:24 ` Eli Zaretskii
2014-11-03 20:29 ` Eli Zaretskii
2014-11-03 20:46 ` Eli Zaretskii
2014-11-03 21:01 ` Bruno Félix Rezende Ribeiro
2014-11-03 21:19 ` Eli Zaretskii
2014-11-04 6:05 ` Bruno Félix Rezende Ribeiro
2014-11-04 8:25 ` Bruno Félix Rezende Ribeiro
2014-11-04 16:00 ` Eli Zaretskii
2014-11-04 19:24 ` martin rudalics
2014-11-04 19:52 ` Eli Zaretskii
2014-11-04 20:13 ` Stefan Monnier
2014-11-05 3:39 ` Eli Zaretskii
2014-11-05 9:17 ` Andreas Schwab
2014-11-04 21:09 ` Bruno Félix Rezende Ribeiro
2014-11-05 16:02 ` Eli Zaretskii
2014-11-05 21:38 ` Bruno Félix Rezende Ribeiro
2014-11-06 3:45 ` Eli Zaretskii
2014-11-06 15:28 ` Stefan Monnier
2014-11-04 15:54 ` Stefan Monnier
2014-11-04 21:28 ` Bruno Félix Rezende Ribeiro
2014-11-04 23:11 ` Stefan Monnier
2014-11-04 15:56 ` Eli Zaretskii
2014-11-04 19:24 ` martin rudalics
2014-11-04 20:55 ` Bruno Félix Rezende Ribeiro
2014-11-04 20:14 ` Bruno Félix Rezende Ribeiro
2014-11-05 3:51 ` Eli Zaretskii
2014-11-05 6:28 ` Bruno Félix Rezende Ribeiro
2014-11-05 15:58 ` Eli Zaretskii
2014-11-05 19:46 ` Bruno Félix Rezende Ribeiro
2014-11-03 20:55 ` Bruno Félix Rezende Ribeiro
2014-11-03 20:44 ` Bruno Félix Rezende Ribeiro
2014-11-03 9:08 ` Andreas Schwab
2014-11-03 16:23 ` Eli Zaretskii
2014-11-03 9:41 ` martin rudalics
2014-11-03 18:58 ` Bruno Félix Rezende Ribeiro
2014-11-03 19:14 ` Eli Zaretskii
2014-11-03 20:10 ` Bruno Félix Rezende Ribeiro
2014-11-04 7:55 ` martin rudalics
2014-11-04 8:20 ` Bruno Félix Rezende Ribeiro
2014-11-04 9:19 ` martin rudalics
2014-11-04 10:25 ` Bruno Félix Rezende Ribeiro
2014-11-04 16:16 ` Eli Zaretskii
2014-11-04 19:56 ` Bruno Félix Rezende Ribeiro
2014-11-04 19:23 ` martin rudalics
2014-11-04 21:46 ` Bruno Félix Rezende Ribeiro
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=5454D7EB.6060407@gnu.org \
--to=oitofelix@gnu.org \
--cc=18912@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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.