Scite Scintilla window updates bad on gtk3

246 views
Skip to first unread message

zetah

unread,
Apr 30, 2012, 12:09:58 PM4/30/12
to scite-i...@googlegroups.com
When scrolling with mouse (either fast or slow, it doesn't matter) editor window blinks for relatively long periods. It flickers too much.
Is there any workaround for this behaviour.

BTW, FYI (gtk-vector-screenshot) https://launchpad.net/ubuntu/quantal/+package/gtk-vector-screenshot doesn't work with SciTE (gtk3) even more it freezes the app. I tried it with other applications without issue so far

Also I'd like to know if status of gtk3 can be described as experimental and preferred way of compiling SciTE would be without using gtk3 switch?

zetah

unread,
Apr 30, 2012, 6:39:23 PM4/30/12
to scite-i...@googlegroups.com
OK, I changed GTK3 theme and now it blinks less, for some reason

Neil Hodgson

unread,
Apr 30, 2012, 7:11:49 PM4/30/12
to scite-i...@googlegroups.com
zetah:

> When scrolling with mouse (either fast or slow, it doesn't matter) editor window blinks for relatively long periods. It flickers too much.
> Is there any workaround for this behaviour.

Video performance is going to depend on your video drivers and versions of various components including GTK+. My Xubuntu 12.04 installation performs similarly to the previous Xubuntu.

> BTW, FYI (gtk-vector-screenshot) https://launchpad.net/ubuntu/quantal/+package/gtk-vector-screenshot doesn't work with SciTE (gtk3) even more it freezes the app. I tried it with other applications without issue so far

I won't be working on this.

> Also I'd like to know if status of gtk3 can be described as experimental and preferred way of compiling SciTE would be without using gtk3 switch?

No, GTK+ 3 has been working quite well. I do not anticipate Linux or GTK+ releases by building with pre-release versions so there will be some lag between a new release of GTK+ and a supporting release of Scintilla. There would be some benefit to building and testing against GTK+ pre-releases but I don't have the time to do this.

I'm particularly displeased by GTK+ sending smooth scroll events to Scintilla when it hasn't been asked for them by setting the GDK_SMOOTH_SCROLL_MASK.

Neil

zetah

unread,
Apr 30, 2012, 7:56:52 PM4/30/12
to scite-i...@googlegroups.com
On Tuesday, May 1, 2012 1:11:49 AM UTC+2, Neil Hodgson wrote:
> When scrolling with mouse (either fast or slow, it doesn't matter) editor window blinks for relatively long periods. It flickers too much.
> Is there any workaround for this behaviour.

   Video performance is going to depend on your video drivers and versions of various components including GTK+. My Xubuntu 12.04 installation performs similarly to the previous Xubuntu.

Well, I compared it with GEdit, which scrolls really slick (also others like Nautilus or other non-editor applications, where blinking can be expected), but as we know where it comes from we can't expect SciTE to do same. I use default Ubuntu version with default WM and everything by default, so I suspect many Ubuntus do the same, although less will urge for SciTE source like me :)



> Also I'd like to know if status of gtk3 can be described as experimental and preferred way of compiling SciTE would be without using gtk3 switch?

   No, GTK+ 3 has been working quite well. I do not anticipate Linux or GTK+ releases by building with pre-release versions so there will be some lag between a new release of GTK+ and a supporting release of Scintilla. There would be some benefit to building and testing against GTK+ pre-releases but I don't have the time to do this.

   I'm particularly displeased by GTK+ sending smooth scroll events to Scintilla when it hasn't been asked for them by setting the GDK_SMOOTH_SCROLL_MASK.

Thanks for your reply, much appreciated, as I wondered about this from the start

Cheers
 
Reply all
Reply to author
Forward
0 new messages