Discussion:
Flickering cursor on Win 8
Mike Lischke
2013-08-27 13:50:49 UTC
Permalink
Hi,

I while ago I have seen that the mouse cursor was heavily flickering (switching between different cursors) on Windows when moving the mouse along (over) the gutter. This problem seemed to have disappeared at some point in time. But now I got an issue report for my app for Windows 8. And in fact the cursor still flickers, even though by far not so heavy as it did before (but still noticable). Can anybody else reproduce this? It's probably a bug I should report against scintilla?

Mike
--
www.soft-gems.net
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Neil Hodgson
2013-08-28 23:23:13 UTC
Permalink
Post by Mike Lischke
I while ago I have seen that the mouse cursor was heavily flickering (switching between different cursors) on Windows when moving the mouse along (over) the gutter.
I've not seen this. You should check if other applications that use Scintilla show the same problem.

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Mike Lischke
2013-10-18 06:47:43 UTC
Permalink
It's been a while until I was able to get back to this problem. I did not see this flickering in other applications that use Scintilla and now that I looked closer I saw that also Win7 was still affected. It turned out that Scintilla (which manages the cursor on its own) was fighting with the underlying (.NET) control that is used to host it. By simply not formwarding WM_SETCURSOR to this control the flickering disappeard. You can do this by overriding WndProc.

This as a follow-up for those that are looking for a solution of this or similar problems.
Post by Neil Hodgson
Post by Mike Lischke
I while ago I have seen that the mouse cursor was heavily flickering (switching between different cursors) on Windows when moving the mouse along (over) the gutter.
I've not seen this. You should check if other applications that use Scintilla show the same problem.
Mike
--
www.soft-gems.net
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...