unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Arkdae via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 69534@debbugs.gnu.org
Subject: bug#69534: Scrolling up causes all text to shift drastically when cursor hits bottom of viewable area.
Date: Thu, 07 Mar 2024 02:13:22 +0000	[thread overview]
Message-ID: <8380ec4ca9563237cbafca4e722fac1824fe656e.camel@lnx.graphics> (raw)
In-Reply-To: <01d3bec7806ad2408dd516faa6386451e2eee078.camel@lnx.graphics>


[-- Attachment #1.1: Type: text/plain, Size: 2103 bytes --]

What I am trying to say is, when the point gets to the bottom of a
window, and you move the scroll bar up the smallest amount you can,
then the point and the text all move to the middle. Then you move the
scroll bar up one more tiny amount and the text shifts back down to
where it should have been for normal line scrolling.

But, really if you don't see it, you don't have the problem. It's
reasonably obvious. It is a good point that you made, and so I tried a
different GTK theme. I believe the default is Adwaita, so I started
Emacs like so:

GTK_THEME=Adiaita emacs -Q

But it still occurs, but maybe not quite as often.

Otherwise, I can't say that I am aware of any customization to Emacs.
I'm rather new to using it. The only extensions I use are slime and
ace-window.

On Mon, 2024-03-04 at 14:15 +0200, Eli Zaretskii wrote:
> > Date: Sun, 03 Mar 2024 15:56:36 +0000
> > From:  Arkdae via "Bug reports for GNU Emacs,
> >  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> > 
> > Start 'emacs -Q'. Open a long document which is longer than can fit
> > in
> > the window all at once. C-x 2 to split into two windows. Drag with
> > the
> > mouse on the information bar with button one to shrink the bottom
> > window a bit. Then grab the scroll bar in the top window and drag
> > up.
> > 
> > The cursor reaches the bottom. Then I slowly scroll one more pixel
> > up
> > and all of the text contents are repositioned with the cursor at
> > the
> > middle. The next pixel scrolled up keeps the cursor in the middle
> > and
> > corrects the text to where it should have been.
> 
> I cannot reproduce this, but then I don't think I understand what you
> mean by "scroll one more pixel up".  AFAIK, scrolling text in Emacs
> works by lines, not by pixels.  Maybe a GTK3 build allows pixelwise
> scrolling via the scroll-bar?  If so, this could be specific to GTK3
> builds or something.
> 
> Are you sure you don't have some local changes wrt stock Emacs 29.2,
> or maybe activated some non-default feature that affects scrolling?


[-- Attachment #1.2: publickey - arkdae@lnx.graphics - 0x8DAEFDB5.asc --]
[-- Type: application/pgp-keys, Size: 701 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

  parent reply	other threads:[~2024-03-07  2:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-03 15:56 bug#69534: Scrolling up causes all text to shift drastically when cursor hits bottom of viewable area Arkdae via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-04 12:15 ` Eli Zaretskii
2024-03-07  2:13 ` Arkdae via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-03-07  6:52   ` Eli Zaretskii

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=8380ec4ca9563237cbafca4e722fac1824fe656e.camel@lnx.graphics \
    --to=bug-gnu-emacs@gnu.org \
    --cc=69534@debbugs.gnu.org \
    --cc=arkdae@lnx.graphics \
    --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 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).