emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toolbar redraw causes unwanted selection


From: Richard Stallman
Subject: Re: Toolbar redraw causes unwanted selection
Date: Thu, 14 Dec 2006 12:47:43 -0500

    - Open two files in two windows split vertically in a single frame.

    - In the bottom window, M-x gdb [Ret]

    - Resize the frame horizontally so that the GDB toolbar icons just fit
      in a single row.

    - Switch to the top window in the frame by clicking on it with the
      mouse, without dragging.

    Since the normal editing toolbar now occupies *two* rows, the text is
    shifted down as the toolbar is redrawn, and several lines of text are
    selected, even though no drag was performed.

This is clearly a bug.  The question is, what is the right approach
for fixing it.  We could fix it at the narrow level by making the
mouse tracking code note that the mouse didn't actually move, and not
treat this as a drag.  But maybe the right fix is not to change the
height of the toolbar.  Maybe once the tool bar gets bigger it should
keep its new size until the user does something to let it shrink again.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]