Re: Meld source view is not repainting properly, causing broken UI



I can confirm that the issue also happens with gedit (which uses gtksourceview, I believe). So it seems to be an interaction with gtksourceview and the default lubuntu widget theme. https://imgur.com/a/2JuYX is the gedit behavior.


On Fri, May 5, 2017 at 6:11 PM, Krishnaswami Iyer <r k iyer 2001 gmail com> wrote:
Your hunch was dead on, Kai. Changing the theme fixes the bug. My theme was not custom, though, it was the default lubuntu theme. The bug repros with themes "lubuntu" and "lubuntu-dark-panel" but not with "industrial" or "redmond" or any others. For "lubuntu" and "lubuntu-default", there are a few logs on stdin which I've uploaded to https://paste.ubuntu.com/24520462/ and https://paste.ubuntu.com/24520461/ respectively.

1/ Do you think it is worth filing a bug against lubuntu 17.04?
2/ If you know of any other app that uses gtksourceview (I have 3.0-1 installed), I can test that app to see if it repros with all gtksourceview controls or if it is specific to meld's use of gtksourceview.

Thanks a bunch!




On Fri, May 5, 2017 at 1:37 PM, Kai Willadsen <kai willadsen gmail com> wrote:
On 5 May 2017 at 14:22, Krishnaswami Iyer <r k iyer 2001 gmail com> wrote:
> Hello,
>
>       Using Meld to compare two simple files (two lines of "Abcd") leads to
> this UI - https://imgur.com/a/wyKFh. This is on an updated Lubuntu 17.04
> (kernel 4.10.0-20, gcc v6.3.0 64bit). It can be reproduced with the latest
> meld from git trunk.
>
>        It seems that the sourceview control is not repainting portions of
> the UI leading to the previous window contents showing up there.
>
>        Any suggestions on how I can debug this? I am able to see what seem
> like refresh events firing in filediff.py (am not familiar with gtk) and on
> focus events fire correctly. Is it simply an issue with gtksourceview? I am
> happy to supply any additional data/screenshots etc.

I haven't seen this before, so slightly hard to tell.

I notice you're using a custom theme. Could you check whether changing
to Adwaita fixes this, just in case? Otherwise, if you could post your
GTK+ and GtkSourceView versions, that may help.

cheers,
Kai




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]