unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrew Schein <andrew@andrewschein.com>
To: 9186@debbugs.gnu.org
Subject: bug#9186: drag copy buffer blown away by slight mouse movements on emacs 23.3.1 with GTK
Date: Wed, 27 Jul 2011 21:56:54 -0700	[thread overview]
Message-ID: <CAE49FEcjNwzdpTBnqS27g8G_2Jcd1YCJ1+B=rFarYkfrqc6WBA@mail.gmail.com> (raw)


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

This bug concerns the X11 style drag copy (and middle mouse button paste) on
GNU emacs 23.  I noticed this problem on systems employing GTK, and haven't
had the opportunity to try other systems.

I have attached a ogv formatted video showing the problem.

Since I didn't have a working mic, here is a narration.

I open emacs using -q.  You can see the message:
This is GNU Emacs 23.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1).
The system is Ubuntu 10.04.

I then proceed to drag over some text in the buffer.

I then left click a character moving the mouse _slightly_ downward.  The
message "Mark set" appears at the bottom of the buffer.

The last action is to move the mouse pointer elsewhere in the buffer and
middle click.  To my surprise the text is no-longer available.

Discussion:  some sequence of calls either leading to or because of the
mark-setting is blowing away the drag copy buffer.  The "mark set" message
does not seem like adequate warning or explanation for this.  Note that the
mouse movement was not sufficient to replace the drag-copy buffer with any
new text. Instead what was there is forgotten.  When I try to reproduce
emacs-like sensitivity in firefox (used as a gmail client) the text only
seems to be blown away when I moved the mouse enough to place some new text
there.  Furthermore, in firefox, if I accidently slip and move the mouse
while clicking the left button my drag copy buffer is not blown away as long
as I move the pointer back to its original position before releasing.

Cheers,

Andy

-- 
Andrew I. Schein
www.andrewschein.com

[-- Attachment #1.2: Type: text/html, Size: 1744 bytes --]

[-- Attachment #2: emacs_bug.ogv --]
[-- Type: video/ogg, Size: 1572579 bytes --]

             reply	other threads:[~2011-07-28  4:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-28  4:56 Andrew Schein [this message]
2011-08-17 16:13 ` bug#9186: patch for buggy drag behavior affecting emacs >=23 Andrew Schein
2011-08-19 16:00   ` Andrew Schein
2012-11-03 17:36 ` bug#9186: drag copy buffer blown away by slight mouse movements on emacs 23.3.1 with GTK Chong Yidong

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='CAE49FEcjNwzdpTBnqS27g8G_2Jcd1YCJ1+B=rFarYkfrqc6WBA@mail.gmail.com' \
    --to=andrew@andrewschein.com \
    --cc=9186@debbugs.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).