Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 98806 - Emacs scrollbar behavior change under X in Red Hat 9.0 with GNOME
Emacs scrollbar behavior change under X in Red Hat 9.0 with GNOME
Product: Red Hat Linux
Classification: Retired
Component: emacs (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jens Petersen
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2003-07-08 19:20 EDT by wdc
Modified: 2007-04-18 12:55 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-01-14 21:01:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description wdc 2003-07-08 19:20:49 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030613

Description of problem:
We just went to Red Hat 9.0, and I noticed that the behavior of scrollbars changed.

The old (and documented within emacs) behavior is:

Left mouse click: scroll the line next to the scroll bar mouse position to the top
of the window.

Right mouse click: scroll the top line down to the location of the scroll bar
mouse click.

The new behavior is:

Right mouse click: ignored.

Left moust click: scroll up if mouse is above the elevator, scroll down if the
mouse is below the elevator.

I suspect this properly is a bug report for version 7.0 of libXaw3d, but I'm not
sure if that's really the source.

Further complicating reproducibility: Apparently people who do not run gnome do
not experience this problem.

I am REALLY disheartened that somehow Emacs would end up becoming infected by
the bad Microsoft-style scrollbar behavior.  Ideally, I'd be able to tell ALL my
scrollbars to behave the way the Emacs scrollbars USED to.  CMU got this right
in 1986, but apparently the value of this style has been lost, (along with the
fine art of keeping buttons that kill things FAR AWAY from buttons that are
commonly pressed.)

Does anyone else see this?
Does anyone know how to fix this?


Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Start emacs under X
2.Read in a file bigger than a screen full.
3.See how the scroll bar ignores right mouse button, and no longer behaves
properly with the left mouse button.

Additional info:
Comment 1 Jens Petersen 2003-07-09 01:50:08 EDT
When I run emacs in GNOME, the right mouse button isn't ignored for me
(it acts just like the left button though).

Which version of Red Hat Linux did you upgrade from btw?  
Comment 2 wdc 2003-07-09 10:36:06 EDT
As I think of it, I may have been careless, and not clicked the right mouse button out of the

We updated in an orderly progression from 7.3 to 8.0 to 9.0.

I think you ARE seeing the same behavior as I am seeing if your buttons do not do the "move line 
to here" behavior.

Comment 3 wdc 2003-07-11 15:38:10 EDT
Now that I have the relevant system in front of me I confirm that the original
description of right mouse behavior was incorrect.  You and I ARE seeing the
same behavior.  The revised right mouse button behavior is:

Right mouse click: Same as Left mouse click.

I hope you can find the source of this problem and produce a rememdy.
Emacs was the last, most important place, for me to have acceptable scrollbar
behavior.  Losing it is a real shock.
Comment 4 Jens Petersen 2003-07-26 03:54:32 EDT
Hmmm, maybe you want the "--without-toolkit-scroll-bars" build configure option?
Comment 5 Jens Petersen 2004-01-14 21:01:16 EST
While I sympathize, I don't want to change the default scrollbar
now used by Emacs.  If you really want this changed, then I suggest
you take this up with the Emacs Developers (eg on the emacs-devel
mailing-list).  However you may like to know that the next version of 
Emacs should support the Gtk toolkit, and also seems to behave in
the same way as Xaw3d scrollbars, except Button-3 is ignored

[Btw I'm surprised by the dependence of the behaviour the desktop

Note You need to log in before you can comment on or make changes to this bug.