unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
Cc: Ralf Angeli <angeli@caeruleus.net>, emacs-devel@gnu.org
Subject: Re: Scrollbar bugs in Windows port
Date: Mon, 05 Jun 2006 22:26:57 +0100	[thread overview]
Message-ID: <uk67vcmzi.fsf@jasonrumney.net> (raw)
In-Reply-To: <umzcsbmt0.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Jun 2006 01:03:55 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> I cannot reproduce the last one on my system; maybe it depends on the
> details of the screen resolution.  I will try to look into the other
> two when I have time.

I can reproduce all three, I think they are related - perhaps an
off-by-one or rounding bug somewhere in the calculations that relate
scrollbar position to buffer position and vice-versa. I have looked at
this code several times in the past, but whenever I've made changes to
fix one test case, something else has broken. I had another look now,
and noticed that part of the confusion is caused by workarounds for
obsolete versions of Windows NT that we haven't supported since at
least Emacs 19.34. So I simplified the code for anyone who wants to
look at it (in w32term.c, search for SCROLLINFO). I also noticed that
there are a lot of places in the code that deal with scrolling, so
perhaps the problem in the past is that only some of those got
updated.

  parent reply	other threads:[~2006-06-05 21:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-04 21:10 Scrollbar bugs in Windows port Ralf Angeli
2006-06-04 22:03 ` Eli Zaretskii
2006-06-05  7:58   ` Ralf Angeli
2006-06-05 19:49     ` Eli Zaretskii
2006-06-05 20:52       ` Ralf Angeli
2006-06-05 21:26   ` Jason Rumney [this message]
2006-06-28 19:31     ` Stephan Hennig
2006-06-28 21:30       ` Eli Zaretskii
2006-06-29  9:40         ` Stephan Hennig
2006-06-29 19:07           ` 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=uk67vcmzi.fsf@jasonrumney.net \
    --to=jasonr@gnu.org \
    --cc=angeli@caeruleus.net \
    --cc=emacs-devel@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).