all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "luangruo@yahoo.com" <luangruo@yahoo.com>,
	"66247@debbugs.gnu.org" <66247@debbugs.gnu.org>
Subject: bug#66247: 29.1; Transient frame problems with Emacs 29 on MS Windows
Date: Mon, 9 Oct 2023 19:49:14 +0000	[thread overview]
Message-ID: <SJ0PR10MB5488D05D69955DC2BA573ED0F3CEA@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <83zg0rvd4s.fsf@gnu.org>

> > In addition to the problems described, even when
> > parameter `inhibit-double-buffering' is `t':
> >
> > When applying a set of frame position and size
> > modifications, the transient appearance shows
> > not only the scroll bar in the initial position
> > but the overall frame, even after it's resized,
> > remains in the original position.  The final
> > position and location of the scroll bar are not
> > realized at the same time as the frame is resized.
> >
> > There is a _general_ regression wrt the behavior
> > in all previous Emacs releases (back through 20,
> > at least).  Setting `inhibit-double-buffering' to
> > `t' removes only some of the problems introduced.
> >
> > You may say that the rest of the frame-display
> > implementation, besides the addition of double
> > buffering, wasn't changed for Emacs 29, but that
> > doesn't seem to be the case.  Something has led
> > to a regression wrt frame display - multiple
> > frame parameters.
> 
> Needless to say, I see none of this on my system.  But since you
> didn't post any information regarding how to reproduce this, not even
> which commands and/or functions are used when this happens, it is hard
> to tell whether it simply doesn't happen here or you do something that
> I don't.
> 
> > When a set of parameters are changed with one
> > `modify-frame-parameters' the effect is not to
> > change them all at once - and that's new (a
> > regression).  The frame is resized, and some
> > time later the other frame modifications take
> > effect.
> 
> Frame parameters were always applied one by one in Emacs, not
> together.  This is not a regression, this is how Emacs always worked.
> 
> Bottom line: I find such "bug reports" extremely frustrating, because
> nothing, literally nothing, can be done about them without extra
> details.

Yes, as I said, I'm sorry I don't have the time
needed to dig into this in detail.

Here's a simple recipe from emacs -Q that should at
least enable you to see the lag in display of the
scroll bar.  It's not kept contiguous with the frame
edge as you move that edge out.

emacs -Q

M-x customize-option default-frame-alist

Add an entry for inhibit-double-buffering as t.

Set the option value for the current session.

`C-x 5 2' or in some other way get a new frame,
so `default-frame-alist' kicks in.

Grab the right frame edge with your mouse and
move it to the right.  I see a lag: the scroll
bar stays where it is briefly, then finally
catches up with the new position of the right
frame edge.

The inhibition of double buffering removes
the display of a black background between the
initial position (and lagging display) of the
scroll bar and the new position of the right
frame edge.  But it doesn't remove the lag
in positioning of the scroll bar adjacent to
the right frame edge.  There's still a
transient visible gap; it just no longer has
a black background.

The faster you move your mouse to the new
right-edge position the wider the gap.  IOW,
the correct redisplay seems to occur after
the same time duration, so the greater the
distance between the initial and final right
edge positions the wider the gap you see.

The bug report specifies the Emacs build I'm
using.  Dunno whether the problem is just with
that build.  If it is then maybe you won't see
the problem.

HTH.





  reply	other threads:[~2023-10-09 19:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-28  1:36 bug#66247: 29.1; Transient frame problems with Emacs 29 on MS Windows Drew Adams
2023-09-29  1:21 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-29  2:22   ` Drew Adams
2023-09-29  2:49     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-29 16:17       ` Drew Adams
2023-09-29 16:32         ` Eli Zaretskii
2023-09-29 18:21           ` Drew Adams
2023-09-30 13:42             ` Eli Zaretskii
2023-09-30 15:22               ` Drew Adams
2023-09-30 15:36                 ` Eli Zaretskii
2023-10-09 18:33                 ` Drew Adams
2023-10-09 18:56                   ` Eli Zaretskii
2023-10-09 19:49                     ` Drew Adams [this message]
2023-10-10 12:00                       ` Eli Zaretskii
2023-10-10 15:13                         ` Drew Adams
2023-10-10 15:35                           ` Eli Zaretskii
2023-10-10 15:53                             ` Drew Adams
2023-10-10 18:46                               ` Eli Zaretskii
2023-10-10 21:27                                 ` 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=SJ0PR10MB5488D05D69955DC2BA573ED0F3CEA@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=66247@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    /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.