unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22247: 24.4; ghost mouse pointer
@ 2015-12-26 15:34 Pierpaolo Bernardi
  2015-12-26 18:59 ` Eli Zaretskii
  2015-12-27 16:05 ` martin rudalics
  0 siblings, 2 replies; 14+ messages in thread
From: Pierpaolo Bernardi @ 2015-12-26 15:34 UTC (permalink / raw)
  To: 22247

In GNU Emacs 24.4.1 (i686-pc-mingw32)
 of 2014-10-24 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.2.9200
Configured using:
 `configure --prefix=/c/usr'

(But also in older versions both of Emacs and of Windows. This is
present since the first time I used Emacs on windows, around 15 years
ago).

I use this function to move the mouse pointer out of my way:

    (defun move-cursor-out ()
      (interactive)
      (set-mouse-position (window-frame (frame-selected-window))
                          (1+ (frame-width))
                          0))

    (global-set-key [f12] 'move-cursor-out)

This works as intended on Unix/X.

On windows, the mouse pointer is moved in the right place, but a ghost
image of the pointer is left behind in the old position *most of the
times* (not always), thus vanifying the purpose of the code.

Thanks!





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-26 15:34 bug#22247: 24.4; ghost mouse pointer Pierpaolo Bernardi
@ 2015-12-26 18:59 ` Eli Zaretskii
  2015-12-26 21:40   ` Pierpaolo Bernardi
  2015-12-27 16:05 ` martin rudalics
  1 sibling, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2015-12-26 18:59 UTC (permalink / raw)
  To: Pierpaolo Bernardi; +Cc: 22247

> Date: Sat, 26 Dec 2015 16:34:26 +0100
> From: Pierpaolo Bernardi <olopierpa@gmail.com>
> 
> I use this function to move the mouse pointer out of my way:
> 
>     (defun move-cursor-out ()
>       (interactive)
>       (set-mouse-position (window-frame (frame-selected-window))
>                           (1+ (frame-width))
>                           0))
> 
>     (global-set-key [f12] 'move-cursor-out)
> 
> This works as intended on Unix/X.
> 
> On windows, the mouse pointer is moved in the right place, but a ghost
> image of the pointer is left behind in the old position *most of the
> times* (not always), thus vanifying the purpose of the code.

I cannot reproduce this, neither in Emacs 24.4 nor in the current
development version.

Does this happen you in "emacs -Q"?





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-26 18:59 ` Eli Zaretskii
@ 2015-12-26 21:40   ` Pierpaolo Bernardi
  2015-12-27 16:08     ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Pierpaolo Bernardi @ 2015-12-26 21:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 22247

On Sat, Dec 26, 2015 at 7:59 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> I cannot reproduce this, neither in Emacs 24.4 nor in the current
> development version.
>
> Does this happen you in "emacs -Q"?

I tried the following:

- started emacs -Q

- in the *scratch* buffer I pasted and evaluated the code above

- (btw, in emacs -Q the  (global-set-key [f12] 'move-cursor-out)
appears to have no effect, and pressing F12 tells me "<F12> is
undefined". Do you happen to know why?)

- so I did: M-x move-cursor-out (tried several times),  and sometimes
the ghost mouse pointer is left in place, and some other times this
does not happen.

More data that can be useful: the ghost pointer remains on the screen
until I don't move the mouse.  I can do everything with the keyboard
without disturbing the ghost image. The ghost image disappears as soon
as I touch the mouse.

Thanks!





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-26 15:34 bug#22247: 24.4; ghost mouse pointer Pierpaolo Bernardi
  2015-12-26 18:59 ` Eli Zaretskii
@ 2015-12-27 16:05 ` martin rudalics
  1 sibling, 0 replies; 14+ messages in thread
From: martin rudalics @ 2015-12-27 16:05 UTC (permalink / raw)
  To: Pierpaolo Bernardi, 22247

 > On windows, the mouse pointer is moved in the right place, but a ghost
 > image of the pointer is left behind in the old position *most of the
 > times* (not always), thus vanifying the purpose of the code.

Does your Windows show mouse tracks?

martin





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-26 21:40   ` Pierpaolo Bernardi
@ 2015-12-27 16:08     ` Eli Zaretskii
  2015-12-27 16:58       ` Pierpaolo Bernardi
  0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2015-12-27 16:08 UTC (permalink / raw)
  To: Pierpaolo Bernardi; +Cc: 22247

> Date: Sat, 26 Dec 2015 22:40:51 +0100
> From: Pierpaolo Bernardi <olopierpa@gmail.com>
> Cc: 22247@debbugs.gnu.org
> 
> I tried the following:
> 
> - started emacs -Q
> 
> - in the *scratch* buffer I pasted and evaluated the code above
> 
> - (btw, in emacs -Q the  (global-set-key [f12] 'move-cursor-out)
> appears to have no effect, and pressing F12 tells me "<F12> is
> undefined". Do you happen to know why?)

It doesn't happen to me.  (Although using F12 on Windows is not a good
idea anyway, as that key forces break into debugger on some Windows
versions.)

> - so I did: M-x move-cursor-out (tried several times),  and sometimes
> the ghost mouse pointer is left in place, and some other times this
> does not happen.

All I can say that it doesn't happen here, and I've never seen
anything like that in all the years I'm using Emacs on Windows.

Can it be that this has something to do with your display settings
and/or the video acceleration?

> More data that can be useful: the ghost pointer remains on the screen
> until I don't move the mouse.  I can do everything with the keyboard
> without disturbing the ghost image. The ghost image disappears as soon
> as I touch the mouse.

Video acceleration would be my first suspect.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-27 16:08     ` Eli Zaretskii
@ 2015-12-27 16:58       ` Pierpaolo Bernardi
  2015-12-27 17:11         ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Pierpaolo Bernardi @ 2015-12-27 16:58 UTC (permalink / raw)
  To: Eli Zaretskii, rudalics; +Cc: 22247

On Sun, Dec 27, 2015 at 5:05 PM, martin rudalics <rudalics@gmx.at> wrote:

> Does your Windows show mouse tracks?

Yes. Good idea.  I'll do some testing with and without tracks.

==

On Sun, Dec 27, 2015 at 5:08 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> Can it be that this has something to do with your display settings
> and/or the video acceleration?

As I said, this has been happening since the first time I touched a
windows machine about 15 years ago.  I have seen it on all the windows
machines I happened to use, both my own and office ones.  With OSes
ranging from Windows 2000 to Windows 8.

I'll  test with/without mouse tracks and report back shortly.  Since I
always use mouse tracks, and nobody complained about this before, I
think Martin had the right intuition.

Cheers





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-27 16:58       ` Pierpaolo Bernardi
@ 2015-12-27 17:11         ` Eli Zaretskii
  2015-12-27 17:22           ` Pierpaolo Bernardi
  0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2015-12-27 17:11 UTC (permalink / raw)
  To: Pierpaolo Bernardi; +Cc: 22247

> Date: Sun, 27 Dec 2015 17:58:40 +0100
> From: Pierpaolo Bernardi <olopierpa@gmail.com>
> Cc: 22247@debbugs.gnu.org
> 
> I'll  test with/without mouse tracks and report back shortly.  Since I
> always use mouse tracks, and nobody complained about this before, I
> think Martin had the right intuition.

I don't even know what mouse tracks are.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-27 17:11         ` Eli Zaretskii
@ 2015-12-27 17:22           ` Pierpaolo Bernardi
  2015-12-27 17:36             ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Pierpaolo Bernardi @ 2015-12-27 17:22 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 22247

On Sun, Dec 27, 2015 at 6:11 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> I don't even know what mouse tracks are.

Microsoft calls them "trails", actually, sorry.

When on, this feature makes the mouse pointer more apparent by making
it leave a trail behind it when moving.

It's useful for people with less than perfect eyesight  8^)





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-27 17:22           ` Pierpaolo Bernardi
@ 2015-12-27 17:36             ` Eli Zaretskii
  2015-12-27 17:44               ` Pierpaolo Bernardi
  0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2015-12-27 17:36 UTC (permalink / raw)
  To: Pierpaolo Bernardi; +Cc: 22247

> Date: Sun, 27 Dec 2015 18:22:52 +0100
> From: Pierpaolo Bernardi <olopierpa@gmail.com>
> Cc: rudalics@gmx.at, 22247@debbugs.gnu.org
> 
> On Sun, Dec 27, 2015 at 6:11 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
> > I don't even know what mouse tracks are.
> 
> Microsoft calls them "trails", actually, sorry.
> 
> When on, this feature makes the mouse pointer more apparent by making
> it leave a trail behind it when moving.

But then what you see is exactly what you asked for: the mouse trail,
no?





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-27 17:36             ` Eli Zaretskii
@ 2015-12-27 17:44               ` Pierpaolo Bernardi
  2015-12-27 18:18                 ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Pierpaolo Bernardi @ 2015-12-27 17:44 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 22247

On Sun, Dec 27, 2015 at 6:36 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Sun, 27 Dec 2015 18:22:52 +0100
>> From: Pierpaolo Bernardi <olopierpa@gmail.com>
>> Cc: rudalics@gmx.at, 22247@debbugs.gnu.org
>>
>> On Sun, Dec 27, 2015 at 6:11 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> > I don't even know what mouse tracks are.
>>
>> Microsoft calls them "trails", actually, sorry.
>>
>> When on, this feature makes the mouse pointer more apparent by making
>> it leave a trail behind it when moving.
>
> But then what you see is exactly what you asked for: the mouse trail,
> no?

No. Regular trails follow the pointer and fade away in less than a
second. When the mouse is still it shows normally, as if the feature
was off.

(Sorry for the delay, I will be able to do the test later today)





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-27 17:44               ` Pierpaolo Bernardi
@ 2015-12-27 18:18                 ` Eli Zaretskii
  2015-12-27 18:54                   ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2015-12-27 18:18 UTC (permalink / raw)
  To: Pierpaolo Bernardi; +Cc: 22247

> Date: Sun, 27 Dec 2015 18:44:37 +0100
> From: Pierpaolo Bernardi <olopierpa@gmail.com>
> Cc: rudalics@gmx.at, 22247@debbugs.gnu.org
> 
> On Sun, Dec 27, 2015 at 6:36 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> >> Date: Sun, 27 Dec 2015 18:22:52 +0100
> >> From: Pierpaolo Bernardi <olopierpa@gmail.com>
> >> Cc: rudalics@gmx.at, 22247@debbugs.gnu.org
> >>
> >> On Sun, Dec 27, 2015 at 6:11 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> >>
> >> > I don't even know what mouse tracks are.
> >>
> >> Microsoft calls them "trails", actually, sorry.
> >>
> >> When on, this feature makes the mouse pointer more apparent by making
> >> it leave a trail behind it when moving.
> >
> > But then what you see is exactly what you asked for: the mouse trail,
> > no?
> 
> No. Regular trails follow the pointer and fade away in less than a
> second. When the mouse is still it shows normally, as if the feature
> was off.
> 
> (Sorry for the delay, I will be able to do the test later today)

Can you compile your own Emacs?  If so, I might send you a simple
patch to try.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-27 18:18                 ` Eli Zaretskii
@ 2015-12-27 18:54                   ` Eli Zaretskii
  2015-12-28 22:15                     ` Pierpaolo Bernardi
  2016-12-07 20:22                     ` Glenn Morris
  0 siblings, 2 replies; 14+ messages in thread
From: Eli Zaretskii @ 2015-12-27 18:54 UTC (permalink / raw)
  To: olopierpa; +Cc: 22247

> Date: Sun, 27 Dec 2015 20:18:52 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 22247@debbugs.gnu.org
> 
> Can you compile your own Emacs?  If so, I might send you a simple
> patch to try.

Actually, I think I solved this in the emacs-25 branch for the next
release.  If you can download and try a snapshot build of Emacs
25.0.50, please see if the problem went away.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-27 18:54                   ` Eli Zaretskii
@ 2015-12-28 22:15                     ` Pierpaolo Bernardi
  2016-12-07 20:22                     ` Glenn Morris
  1 sibling, 0 replies; 14+ messages in thread
From: Pierpaolo Bernardi @ 2015-12-28 22:15 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 22247

On Sun, Dec 27, 2015 at 7:54 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Sun, 27 Dec 2015 20:18:52 +0200
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: 22247@debbugs.gnu.org
>>
>> Can you compile your own Emacs?  If so, I might send you a simple
>> patch to try.
>
> Actually, I think I solved this in the emacs-25 branch for the next
> release.  If you can download and try a snapshot build of Emacs
> 25.0.50, please see if the problem went away.

Sorry for the delay.

I confirm that with mouse trails turned off the anomaly does not happen.

I cannot compile emacs myself on windows. The binaries that I found
googling are all at least a month old. If there's a place where to get
precompiled 25.0.50 I'll test it.

Thank you!





^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#22247: 24.4; ghost mouse pointer
  2015-12-27 18:54                   ` Eli Zaretskii
  2015-12-28 22:15                     ` Pierpaolo Bernardi
@ 2016-12-07 20:22                     ` Glenn Morris
  1 sibling, 0 replies; 14+ messages in thread
From: Glenn Morris @ 2016-12-07 20:22 UTC (permalink / raw)
  To: 22247-done

Version: 25.1

Eli Zaretskii wrote:

> Actually, I think I solved this in the emacs-25 branch for the next
> release.  If you can download and try a snapshot build of Emacs
> 25.0.50, please see if the problem went away.

Closing presumed fixed.





^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-12-07 20:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-26 15:34 bug#22247: 24.4; ghost mouse pointer Pierpaolo Bernardi
2015-12-26 18:59 ` Eli Zaretskii
2015-12-26 21:40   ` Pierpaolo Bernardi
2015-12-27 16:08     ` Eli Zaretskii
2015-12-27 16:58       ` Pierpaolo Bernardi
2015-12-27 17:11         ` Eli Zaretskii
2015-12-27 17:22           ` Pierpaolo Bernardi
2015-12-27 17:36             ` Eli Zaretskii
2015-12-27 17:44               ` Pierpaolo Bernardi
2015-12-27 18:18                 ` Eli Zaretskii
2015-12-27 18:54                   ` Eli Zaretskii
2015-12-28 22:15                     ` Pierpaolo Bernardi
2016-12-07 20:22                     ` Glenn Morris
2015-12-27 16:05 ` martin rudalics

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).