all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Juri Linkov <juri@linkov.net>, 19575@debbugs.gnu.org
Subject: bug#19575: 25.0.50; Wrong frame dimensions
Date: Tue, 13 Jan 2015 09:24:49 +0100	[thread overview]
Message-ID: <54B4D651.4040101@gmx.at> (raw)
In-Reply-To: <87zj9nis6g.fsf@mail.linkov.net>

 > Here is 100% reproducible test case: run
 >
 > emacs -q -mm -l test.el
 >
 > with the attached test.el, and notice that the mouse pointer
 > is banished to the middle of the frame.

Noticed.  Good catch.

 > Afterwards manually executing `M-x toggle-frame-maximized RET' twice
 > fixes the frame dimensions.
 >
 > This happens in GNU Emacs 25.0.50.1 (x86_64-linux-gnu, GTK+ Version 2.24.23)
 > Repository revision: 52afe0cfa248053c96e26bc67bdc427945358655
 > Windowing system distributor `The X.Org Foundation', version 11.0.11501000
 > System Description:	Linux Mint 17 Qiana
 >
 > ================================================================
 > `window--dump-frame' outputs:
 >
 > frame pixel: 1366 x 718   cols/lines: 170 x 42   units: 6 x 10
 > frame text pixel: 1350 x 718   cols/lines: 168 x 42

Obviously these values can't be right: 170 * 6 gives 1020, more than 300
pixels off from 1366.  What happened is that you requested a change of
the font size for a maximized frame.  In this case I no more allow
changing the size of the frame (since otherwise you'd have lost the
maximized state).  Now the pixel sizes of the frame remained unaltered
and I decided to quit adjust_frame_size early _without_ recording the
new numbers of lines and columns of the frame.  Damn me ...

Hopefully fixed in revision b53b1ca..233dcf1 on trunk/master.  Please
check.

Many thanks for the recipe, martin





  reply	other threads:[~2015-01-13  8:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-12 21:51 bug#19575: 25.0.50; Wrong frame dimensions Juri Linkov
2015-01-13  8:24 ` martin rudalics [this message]
2015-01-13 23:34   ` Juri Linkov

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=54B4D651.4040101@gmx.at \
    --to=rudalics@gmx.at \
    --cc=19575@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /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.