all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 16923@debbugs.gnu.org
Subject: bug#16923: 24.3.50; reression: `set-frame-size' loses mode line
Date: Sun, 2 Mar 2014 12:05:17 -0800 (PST)	[thread overview]
Message-ID: <b3d29ce8-c0cb-442e-9e6d-fda3d349c778@default> (raw)

I've been looking at this regression for a while now. I've tried to
investigate.  I just spent a couple of days on it, without success.

The symptom, with my setup (and it is not clear just which parts of that
setup are minimally required to repro the bug), is this:

When `set-frame-size' is called for the current frame (it doesn't matter
what the WIDTH and HEIGHT args are, and PIXELWISE is nil) in some Info
nodes (I see the problem only in Info nodes, and not most of them), the
mode line disappears altogether.

That is, in place of the mode line I see only blank space with the same
color as the frame background.  The space seems to be there for a mode
line, but none is shown.

Forcing redisplay using C-l or M-: (force-mode-line-update 'all) has no
effect.  But calling `set-frame-size' (e.g., using `M-:') can bring
back the mode line.  It does not do so if I call it with the same width
and height (a no-op in terms of size change):

(set-frame-size nil
                (frame-parameter nil 'width)
                (frame-parameter nil 'height))

But it does do so if I use a width or height that is even slightly
different from the current value, e.g.:

(set-frame-size nil
                (1+ (frame-parameter nil 'width))
                (frame-parameter nil 'height))

I'm guessing that perhaps the Emacs code detects that there is no
size change and so does nothing.  And not that the particular size
where no mode line is shown is somehow problematic.

Support for that guess comes also from the fact that if I thumbify
and then dethumbify the frame, which changes its size and other
parameters and then changing them back to what they were, also restores
the mode line. IOW, the frame is shown with the same width and height
parameters (and other parameters the same also), and with the mode line
present.

I was able to narrow down the time frame when this regression was
introduced: This build, from 2013-12-14 does not have the regression:

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-12-14 on ODIEONE
Bzr revision: 115521 rudalics@gmx.at-20131214110600-euy4wbseyg78zh72
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'

And this build, from 2013-12-16 has the regression (as do all subsequent
builds):

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-12-16 on ODIEONE
Bzr revision: 115543 rudalics@gmx.at-20131216095844-lbjh5yerk6ff0tm7
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'

I am sorry that I cannot provide more info, at least at this point.  I
have spent a *lot* of time trying to debug this already.  At this point
I am hoping that something in the info above will prove helpful.

I do not expect that you will be able to repro this easily, but perhaps
something above will ring a bell for you.  It is lucky, at least, that
the build window here is so short: two days.  I tried looking through
some of the development changes during that 2-day period, but I was not
successful in finding what might be the culprit.


In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2014-02-28 on ODIEONE
Bzr revision: 116606 rudalics@gmx.at-20140228091055-seve9n9l9hg8dn2j
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'





             reply	other threads:[~2014-03-02 20:05 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-02 20:05 Drew Adams [this message]
2014-03-02 20:51 ` bug#16923: 24.3.50; reression: `set-frame-size' loses mode line Eli Zaretskii
2014-03-03  8:29 ` martin rudalics
2014-03-03 14:43   ` Drew Adams
2014-03-03 18:37     ` martin rudalics
2014-03-03 19:17       ` Drew Adams
2014-03-03 19:43         ` martin rudalics
2014-03-03 21:07           ` Drew Adams
2014-03-04  8:08             ` martin rudalics
2014-03-04 18:45               ` Drew Adams
2014-03-05  7:26                 ` martin rudalics
2014-03-05 15:43                   ` Drew Adams
2014-03-05 16:02                     ` Juanma Barranquero
2014-03-05 18:20                     ` martin rudalics
2014-03-05 18:32                       ` Drew Adams
2014-03-05 19:28                         ` martin rudalics
2014-03-05 19:42                           ` Drew Adams
2014-03-05 19:53                             ` martin rudalics
2014-03-05 21:23                               ` Drew Adams
2014-03-06 17:26                                 ` martin rudalics
2014-03-06 18:25                                   ` Drew Adams
2014-03-06 18:54                                     ` martin rudalics
2014-03-06 20:51                                       ` Drew Adams
2014-03-06 21:26                                         ` martin rudalics
2014-03-06 21:51                                           ` Drew Adams
2014-03-07  7:39                                             ` martin rudalics
2014-03-07 16:48                                               ` Drew Adams
2014-03-07 17:48                                                 ` martin rudalics
2014-03-07 18:09                                                   ` Drew Adams
2014-03-07 18:36                                                     ` martin rudalics
2014-03-07 19:13                                                       ` Drew Adams
2014-03-08  9:11                                                         ` martin rudalics
2014-03-08 15:34                                                           ` Drew Adams
2014-03-08 15:48                                                             ` Eli Zaretskii
2014-03-08 18:59                                                               ` martin rudalics
2014-03-08 18:59                                                             ` martin rudalics
2014-03-08 19:12                                                               ` Drew Adams
2014-03-08 19:54                                                                 ` martin rudalics
2014-03-08 22:51                                                                   ` Drew Adams
2014-03-09 13:56                                                                     ` martin rudalics
2014-03-09 16:35                                                                       ` Drew Adams
2014-03-09 18:13                                                                         ` martin rudalics
2014-03-09 19:14                                                                           ` Drew Adams
2014-03-10  9:04                                                                             ` martin rudalics
2014-03-28 15:29                                                                               ` Drew Adams
2014-03-28 19:28                                                                                 ` martin rudalics
2019-08-15  1:08                                                                                   ` Lars Ingebrigtsen
2019-08-15  1:32                                                                                     ` Drew Adams
2014-03-05 20:05                           ` Eli Zaretskii
2014-03-03 15:54   ` Eli Zaretskii
     [not found] <<b3d29ce8-c0cb-442e-9e6d-fda3d349c778@default>
     [not found] ` <<834n3gtjco.fsf@gnu.org>
2014-03-02 21:53   ` Drew Adams
     [not found] ` <<53143D5C.7020000@gmx.at>
     [not found]   ` <<a2349e72-8172-4652-a980-890f813bc623@default>
     [not found]     ` <<5314CBE1.6050905@gmx.at>
     [not found]       ` <<04dda5ae-8b70-42f5-ae09-c1d05ebc9297@default>
     [not found]         ` <<5314DB5D.50709@gmx.at>
     [not found]           ` <<29b76228-778a-4aea-8fe4-5abedb5b6795@default>
     [not found]             ` <<531589F3.1050300@gmx.at>
     [not found]               ` <<70615a8e-3923-40c3-bfbc-af0a305cd6df@default>
     [not found]                 ` <<5316D1B5.8040801@gmx.at>
     [not found]                   ` <<a2e7f767-2129-4d48-97f4-18b8fbfd6af7@default>
     [not found]                     ` <<53176AF2.9010800@gmx.at>
     [not found]                       ` <<edc5b3cb-8cbd-47fa-aa9e-be9372c43863@default>
     [not found]                         ` <<53177AEF.9050106@gmx.at>
     [not found]                           ` <<83d2i0qulk.fsf@gnu.org>
2014-03-05 21:02                             ` Drew Adams
2014-03-06  3:41                               ` Eli Zaretskii
     [not found]                           ` <<3f31643f-2638-4ada-8dc4-b3069f3a82fc@default>
     [not found]                             ` <<531780D7.6070109@gmx.at>
     [not found]                               ` <<291bd9d5-923f-440a-821a-06f585557e67@default>
     [not found]                                 ` <<5318AFD9.4000208@gmx.at>
     [not found]                                   ` <<8be91728-fcea-4e74-afff-db6a55b52985@default>
     [not found]                                     ` <<5318C478.1090007@gmx.at>
     [not found]                                       ` <<0f1c6cae-f9cd-4a2b-a662-bcc4116daafc@default>
     [not found]                                         ` <<5318E810.7000705@gmx.at>
     [not found]                                           ` <<dbc69634-37da-4dcf-a7c6-6c43184b4b6c@default>
     [not found]                                             ` <<531977B2.8030109@gmx.at>
     [not found]                                               ` <<f46ec99a-8a39-44f2-bf49-7845e1461a3e@default>
     [not found]                                                 ` <<531A0655.5040400@gmx.at>
     [not found]                                                   ` <<5e0232ee-58e3-42a3-8102-e12e8e605b2b@default>
     [not found]                                                     ` <<531A11BE.5070300@gmx.at>
     [not found]                                                       ` <<738285f8-0119-49cd-b5b5-7e9607fadff3@default>
     [not found]                                                         ` <<531ADEBC.9030200@gmx.at>
     [not found]                                                           ` <<1cb471a0-5db3-4c77-90ff-ed8aa2c9bd0b@default>
     [not found]                                                             ` <<83lhwkpu87.fsf@gnu.org>
2014-03-08 15:56                                                               ` Drew Adams

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=b3d29ce8-c0cb-442e-9e6d-fda3d349c778@default \
    --to=drew.adams@oracle.com \
    --cc=16923@debbugs.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.