unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: martin rudalics <rudalics@gmx.at>
Cc: 16647@debbugs.gnu.org, esabof@gmail.com
Subject: bug#16647: Imprecisions with window-resizing cursors
Date: Sun, 23 Feb 2014 22:01:50 -0400	[thread overview]
Message-ID: <87txbp2rqp.fsf@moondust.localdomain> (raw)
In-Reply-To: <5309D33E.1020005@gmx.at> (martin rudalics's message of "Sun, 23 Feb 2014 11:53:50 +0100")

At 06:53 -0400 on Sunday 2014-02-23, martin rudalics wrote:

>> Moving the mouse from the left, towards the right window, the mouse
>> cursor changes to the <=> immediately I cross the left edge of the
>> vertical line. The right window is selected immediately the mouse cursor
>> crosses the right edge of the the vertical line. _However_, the mouse
>> cursor stays as a <=> for a few pixels more movement to the right, and
>> it is at this time that, if it is clicked, it doesn't do anything, as
>> per Evgeni's original bug.
>
> Hmmm...  It's the most concrete description of the problem I read so far
> but it still doesn't help me explaining it :-(
>
> How does this behave when you do
>
> (set-frame-parameter nil 'bottom-divider-width 10)
>
> and move from an upper to the lower window and vice-versa?
>
> martin

Badly.

First impressions: Before splitting the window horizontally (with the
backwardsly-named split-window-vertically), I notice that I get the
changed mouse cursor indicating that I can resize the window whenever I
cross the mode line / bottom divider, but, in fact, I am only able to
use it (to increase the size of the minibuffer) when the minibuffer is
active. When the minibuffer is inactive, I can't resize it, yet the
mouse cursor still changes indicating that I can. Presumably this is a
bug.

Okay, continuing:

    emacs -Q
    M-: (set-frame-parameter nil 'bottom-divider-width 10) RET
    M-: (setq mouse-autoselect-window t)
    M-x split-window-vertically

Moving the mouse cursor upwards from the bottom window towards the top
window, as soon as I reach the bottom of the bottom divider the focus
changes to the upper window and the resizing mouse cursor appear. The
resizing cursor continues to be displayed until I cross the top of the
mode line into the top window. (Reasonable behaviour.)

Moving the mouse cursor downwards from the top window to the bottom
window, when I am about half way down the mode line the resizing cursor
appears and continues to be displayed until I cross the bottom of the
bottom divider into the bottom window, when the focus changes to the
lower window and the mouse cursor resumes its normal form. (Reasonable
behaviour.)

But:

    emacs -Q
    M-: (set-frame-parameter nil 'bottom-divider-width 10) RET
    M-: (setq mouse-autoselect-window t)
    Drag the window divider up a few pixels (but less than one line)

Moving the mouse cursor upwards is as before. 

Moving the mouse cursor downwards is as before except that when it
crosses the bottom of the bottom divider into the bottom window, the
focus changes to the bottom window, _but_ the resizing mouse cursor
continues to be displayed well in to the bottom window, but will not
resize the window if clicked on there -- indeed clicking on it, I can
select text in the bottom window while it is still displayed as a
resizing cursor!

At 19:29 -0400 on Sunday 2014-02-23, E. Sabof wrote:

> To me it looks like some code expects a full "character" movement, before it registers a change in location.

I get a similar impression. Noticing that split-window-below is
documented to take only an argument that is an integral number of lines
(it does something when passed a decimal fraction but I can't figure out
what it is -- I thought it might then treat the argument as pixels but
that's not it), I wondered if the code assumes that the split can only
be an integral number of lines below the top of the window above, or
something, and fails to take into account a fractional position?

Regards,
N.





  reply	other threads:[~2014-02-24  2:01 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05  6:05 bug#16647: Imprecisions with window-resizing cursors E Sabof
2014-02-05 10:48 ` martin rudalics
2014-02-06  9:21   ` Evgkeni Sampelnikof
2014-02-06 10:26     ` martin rudalics
2014-02-07 17:32       ` E Sabof
2014-02-07 19:14         ` martin rudalics
2014-02-13  9:46           ` E Sabof
2014-02-14 11:39             ` martin rudalics
2014-02-14 16:13               ` N. Jackson
2014-02-14 18:25                 ` martin rudalics
2014-02-14 22:53                   ` N. Jackson
2014-02-16 10:32                     ` martin rudalics
2014-02-16 18:17                       ` N. Jackson
2014-02-20  4:32                         ` N. Jackson
2014-02-21 18:53                           ` martin rudalics
2014-02-21 23:33                             ` N. Jackson
2014-02-22  9:17                               ` martin rudalics
2014-02-22 18:06                                 ` N. Jackson
2014-02-22 18:33                                   ` E Sabof
2014-02-22 18:52                                     ` martin rudalics
2014-02-22 19:07                                       ` E Sabof
2014-02-23  0:27                                         ` N. Jackson
2014-02-23 10:53                                           ` martin rudalics
2014-02-24  2:01                                             ` N. Jackson [this message]
2014-02-24  7:40                                               ` martin rudalics
2014-02-24 15:30                                                 ` N. Jackson
2014-02-24 18:12                                                   ` martin rudalics
2014-02-24 18:39                                                     ` N. Jackson
2014-02-24 18:58                                                       ` martin rudalics
2014-02-27 19:59                                               ` martin rudalics
2014-02-28  0:49                                                 ` N. Jackson
2014-02-28  6:47                                                   ` Eli Zaretskii
2014-02-28 17:30                                                     ` bug#16647: OT: window-resizing cursor for minibuffer (Imprecisions with window-resizing cursors) N. Jackson
2014-03-01  7:18                                                       ` Eli Zaretskii
2014-02-28 10:59                                                   ` bug#16647: Imprecisions with window-resizing cursors martin rudalics
2014-02-28 17:25                                                     ` bug#16647: OT: window-resizing cursor for minibuffer (Imprecisions with window-resizing cursors) N. Jackson
2014-02-28 18:24                                                       ` martin rudalics
2014-02-28 21:19                                                         ` bug#16647: Imprecisions with window-resizing cursors N. Jackson
2014-09-19  8:18                                                           ` martin rudalics
2014-02-23 10:53                                         ` martin rudalics
2014-02-23 23:29                                           ` E Sabof
2014-02-24  7:39                                             ` martin rudalics
2014-02-24 13:00                                               ` E Sabof
2014-02-24 18:12                                                 ` martin rudalics
2014-02-24 23:06                                                   ` E Sabof
2014-02-26 10:17                                                     ` martin rudalics
2014-02-26 16:45                                                       ` Eli Zaretskii
2014-02-27 20:00                                                         ` martin rudalics
2014-02-27 20:38                                                           ` Eli Zaretskii
2014-02-28 11:00                                                             ` martin rudalics
2014-02-28 11:32                                                               ` Eli Zaretskii
2014-02-28 12:47                                                                 ` martin rudalics
2014-02-28 14:29                                                                   ` Eli Zaretskii
2014-02-28 18:23                                                                     ` martin rudalics
2014-03-01  7:43                                                                       ` Eli Zaretskii
2014-02-27 19:59                                                     ` martin rudalics
2014-02-27 19:59                                             ` martin rudalics
2014-02-22 18:44                                   ` martin rudalics
2014-02-22 23:33                                     ` N. Jackson
2014-02-27 19:58                         ` martin rudalics
2014-02-28  0:39                           ` N. Jackson
2014-02-27 19:58                 ` martin rudalics
2014-02-28  0:38                   ` N. Jackson
2014-02-14 23:13               ` Drew Adams
2014-02-06 10:32     ` Eli Zaretskii
2014-02-06 13:34     ` Stefan Monnier
2014-02-07 19:14       ` martin rudalics
2014-02-27 19:58 ` martin rudalics
2014-02-27 20:33   ` Eli Zaretskii
2014-02-28 11:00     ` martin rudalics
2014-02-28 11:28       ` Eli Zaretskii
2014-02-28 12:47         ` martin rudalics

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=87txbp2rqp.fsf@moondust.localdomain \
    --to=nljlistbox2@gmail.com \
    --cc=16647@debbugs.gnu.org \
    --cc=esabof@gmail.com \
    --cc=rudalics@gmx.at \
    /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).