Wrong line paint ("trashed") scrolling wx.stc.StyledTextCtrl

In some gtk systems (may affect other), when scroll down a
wx.stc.StyledTextCtrl, new visible lines are not painted correctly
(a gray bar appears sometimes instead of the text line)

linux mint 11 - metacity - compiz - python 2.7 - wx version '2.8.11.0
(gtk2-unicode)'

I currently cannot reproduce it on Ubuntu 11.10, but it was reported
by other users.

More info and screenshot at:

http://code.google.com/p/rad2py/issues/detail?id=12

Anyone has a clue or workaround?

Best regards,

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

There was some changes made recently to deal with something like this, it may be the same issue. Unfortunately the changes were made in the 2.9 series and likely will not be back-ported to 2.8, so it will probably be a while before packages are available in distro repositories that have the fix.

···

On 2/15/12 8:51 PM, Mariano Reingart wrote:

In some gtk systems (may affect other), when scroll down a
wx.stc.StyledTextCtrl, new visible lines are not painted correctly
(a gray bar appears sometimes instead of the text line)

linux mint 11 - metacity - compiz - python 2.7 - wx version '2.8.11.0
(gtk2-unicode)'

I currently cannot reproduce it on Ubuntu 11.10, but it was reported
by other users.

More info and screenshot at:

Google Code Archive - Long-term storage for Google Code Project Hosting.

Anyone has a clue or workaround?

--
Robin Dunn
Software Craftsman

Hi,

In some gtk systems (may affect other), when scroll down a
wx.stc.StyledTextCtrl, new visible lines are not painted correctly
(a gray bar appears sometimes instead of the text line)

linux mint 11 - metacity - compiz - python 2.7 - wx version '2.8.11.0
(gtk2-unicode)'

I currently cannot reproduce it on Ubuntu 11.10, but it was reported
by other users.

More info and screenshot at:

Google Code Archive - Long-term storage for Google Code Project Hosting.

Anyone has a clue or workaround?

There was some changes made recently to deal with something like this, it
may be the same issue. Unfortunately the changes were made in the 2.9
series and likely will not be back-ported to 2.8, so it will probably be a
while before packages are available in distro repositories that have the
fix.

Looks like the issue caused by those (IMHO) annoying new scrollbars in
the unity interface.

Can try setting the LIBOVERLAY_SCROLLBAR environmental variable to 0
before creating your App object to get rid of them and force use of
the old scroll bars.

i.e)
os.environ['LIBOVERLAY_SCROLLBAR'] = '0'

Cody

···

On Thu, Feb 16, 2012 at 11:17 AM, Robin Dunn <robin@alldunn.com> wrote:

On 2/15/12 8:51 PM, Mariano Reingart wrote:

Oh yeah, I forgot about that part of it. Thanks Cody.

···

On 2/16/12 9:27 AM, Cody wrote:

Hi,

On Thu, Feb 16, 2012 at 11:17 AM, Robin Dunn<robin@alldunn.com> wrote:

On 2/15/12 8:51 PM, Mariano Reingart wrote:

In some gtk systems (may affect other), when scroll down a
wx.stc.StyledTextCtrl, new visible lines are not painted correctly
(a gray bar appears sometimes instead of the text line)

linux mint 11 - metacity - compiz - python 2.7 - wx version '2.8.11.0
(gtk2-unicode)'

I currently cannot reproduce it on Ubuntu 11.10, but it was reported
by other users.

More info and screenshot at:

Google Code Archive - Long-term storage for Google Code Project Hosting.

Anyone has a clue or workaround?

There was some changes made recently to deal with something like this, it
may be the same issue. Unfortunately the changes were made in the 2.9
series and likely will not be back-ported to 2.8, so it will probably be a
while before packages are available in distro repositories that have the
fix.

Looks like the issue caused by those (IMHO) annoying new scrollbars in
the unity interface.

Can try setting the LIBOVERLAY_SCROLLBAR environmental variable to 0
before creating your App object to get rid of them and force use of
the old scroll bars.

i.e)
os.environ['LIBOVERLAY_SCROLLBAR'] = '0'

--
Robin Dunn
Software Craftsman

Thanks very much, I'll try that

Best regards

Mariano Reingart
http://www.sistemasagiles.com.ar

···

On Thu, Feb 16, 2012 at 2:36 PM, Robin Dunn <robin@alldunn.com> wrote:

On 2/16/12 9:27 AM, Cody wrote:

Hi,

On Thu, Feb 16, 2012 at 11:17 AM, Robin Dunn<robin@alldunn.com> wrote:

On 2/15/12 8:51 PM, Mariano Reingart wrote:

In some gtk systems (may affect other), when scroll down a
wx.stc.StyledTextCtrl, new visible lines are not painted correctly
(a gray bar appears sometimes instead of the text line)

linux mint 11 - metacity - compiz - python 2.7 - wx version '2.8.11.0
(gtk2-unicode)'

I currently cannot reproduce it on Ubuntu 11.10, but it was reported
by other users.

More info and screenshot at:

Google Code Archive - Long-term storage for Google Code Project Hosting.

Anyone has a clue or workaround?

There was some changes made recently to deal with something like this, it
may be the same issue. Unfortunately the changes were made in the 2.9
series and likely will not be back-ported to 2.8, so it will probably be
a
while before packages are available in distro repositories that have the
fix.

Looks like the issue caused by those (IMHO) annoying new scrollbars in
the unity interface.

Can try setting the LIBOVERLAY_SCROLLBAR environmental variable to 0
before creating your App object to get rid of them and force use of
the old scroll bars.

i.e)
os.environ['LIBOVERLAY_SCROLLBAR'] = '0'

Oh yeah, I forgot about that part of it. Thanks Cody.