unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <mwd@md5i.com>
To: martin rudalics <rudalics@gmx.at>
Cc: Michael Welsh Duggan <mwd@md5i.com>, 19428@debbugs.gnu.org
Subject: bug#19428: 25.0.50; Frame is wider (in chars) than normal non-deterministically
Date: Tue, 30 Dec 2014 17:47:58 -0500	[thread overview]
Message-ID: <87r3vgah5t.fsf@maru2.md5i.com> (raw)
In-Reply-To: <54A2CC71.8040502@gmx.at> (martin rudalics's message of "Tue, 30 Dec 2014 17:01:53 +0100")

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

martin rudalics <rudalics@gmx.at> writes:

>> If I run "emacs -Q" multiple times in a row with the build described
>> below in an X environment, I normally get a frame that my window manager
>> describes as 80x34 characters in size.
>>
>> However, about one in every ten times, I get a differently sized frame,
>> usually 84x36.  (And that is indeed the width in chars.)
>
> Please do `M-: (window--dump-frame)' on both frame types and post the
> contents of the buffer *window-frame-dump* for both cases so we can see
> where we spend the extra space.

Good:

[-- Attachment #2: good.txt --]
[-- Type: text/plain, Size: 892 bytes --]

frame pixel: 756 x 682   cols/lines: 84 x 34   units: 9 x 19
frame text pixel: 720 x 646   cols/lines: 80 x 34
tool: 36  scroll: 18/0  fringe: 16  border: 1  right: 0  bottom: 0

#<window 3 on *scratch*>   parent: nil
pixel left: 0   top: 34   size: 754 x 627   new: 0
char left: 0   top: 1   size: 83 x 33   new: 0
normal: 1.0 x 1.0   new: 0
body pixel: 720 x 608   char: 80 x 32
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 18  divider: 0
height header-line: 0  mode-line: 19  divider: 0

#<window 4 on  *Minibuf-0*>   parent: nil
pixel left: 0   top: 661   size: 754 x 19   new: 0
char left: 0   top: 34   size: 754 x 1   new: 0
normal: 1.0 x 1.0   new: 0
body pixel: 720 x 19   char: 80 x 1
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 18  divider: 0
height header-line: 0  mode-line: 0  divider: 0


[-- Attachment #3: Type: text/plain, Size: 6 bytes --]


Bad:

[-- Attachment #4: bad.txt --]
[-- Type: text/plain, Size: 892 bytes --]

frame pixel: 792 x 720   cols/lines: 88 x 36   units: 9 x 19
frame text pixel: 756 x 684   cols/lines: 84 x 36
tool: 36  scroll: 18/0  fringe: 16  border: 1  right: 0  bottom: 0

#<window 3 on *scratch*>   parent: nil
pixel left: 0   top: 34   size: 790 x 665   new: 0
char left: 0   top: 1   size: 87 x 35   new: 0
normal: 1.0 x 1.0   new: 0
body pixel: 756 x 646   char: 84 x 34
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 18  divider: 0
height header-line: 0  mode-line: 19  divider: 0

#<window 4 on  *Minibuf-0*>   parent: nil
pixel left: 0   top: 699   size: 790 x 19   new: 0
char left: 0   top: 36   size: 790 x 1   new: 0
normal: 1.0 x 1.0   new: 0
body pixel: 756 x 19   char: 84 x 1
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 18  divider: 0
height header-line: 0  mode-line: 0  divider: 0


[-- Attachment #5: Type: text/plain, Size: 1271 bytes --]


>> To repeat, in order to reproduce this I run emacs -Q, check its size,
>> then type `C-x C-c' and do it again until I see this happening.  This is
>> also happening to me at work on an older system (Gnome 2 instead of
>> Gnome 3), with a slightly older (but still recent) build of master.
>
> Please do the same there and post the results as well.  Does/did it
> happen with Emacs 24.4 too or do you see it only on Emacs 25?

I am unable to test this on the other system this week.  I made a build
from the emacs-24 branch on this machine (the one referenced below), and
I was unable to trigger this bug there.

>> In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit)
>>   of 2014-11-27 on maru2
>> Repository revision: 1e3e8ae1d6da51606bf099e5cf02d6ab1f0c27ec
>> Windowing system distributor `The X.Org Foundation', version 11.0.11602901
>> System Description:	Debian GNU/Linux 8.0 (jessie)
>>
>> Configured using:
>>   `configure --without-toolkit-scroll-bars --with-x-toolkit=lucid
>
> It should be related to the combination of these options.  But maybe it
> happens to other users as well and they simply ignore it.
>
>>   'CFLAGS=-Og -ggdb -g3' --with-wide-int'
>
> Thanks, martin

Thanks for looking into this.

-- 
Michael Welsh Duggan
(md5i@md5i.com)

  reply	other threads:[~2014-12-30 22:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-22  3:01 bug#19428: 25.0.50; Frame is wider (in chars) than normal non-deterministically Michael Welsh Duggan
2014-12-25 23:26 ` Michael Welsh Duggan
2014-12-30 16:01 ` martin rudalics
2014-12-30 22:47   ` Michael Welsh Duggan [this message]
2015-01-03 17:17   ` martin rudalics
2015-01-05  3:31     ` Michael Duggan
2015-01-05  7:08       ` martin rudalics
2015-01-05  7:53         ` martin rudalics
2015-01-03 20:22 ` bug#19428: 25.0.50; X frame size inconsistent at start-up Paul Eggert
2015-01-04  8:55   ` martin rudalics
2015-01-04  9:13     ` Paul Eggert

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3vgah5t.fsf@maru2.md5i.com \
    --to=mwd@md5i.com \
    --cc=19428@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).