GNOME Bugzilla – Bug 703572
the result windows are grey when comparing two files
Last modified: 2017-12-13 19:05:35 UTC
Created attachment 248344 [details] The GUI of file comparison in my windows When running meld (under 64-bit, windows 7, home premium environment), trying to compare two files, I cannot see the contents of the two files in the result window. The area for showing files are totally grey. (I have attached the snippet showing this). Here is the error info I got in my command line: ...\meld-1.7.3\meld\meldwindow.py:628: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed self.notebook.remove_page(page_num) bin\meld:167: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap or window gtk.main() ...\meld-1.7.3\meld\task.py:114: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed ret = task() By the way, to compare two directories is okay in my environment.
One more comment, I have tried 1.5.4, 1.6.1 and 1.7.3. For 1.6.1, I also tried the exe installer and the zip package. Nothing works for me...
This is a bit weird. My best guess is that you have an old GTK installation that's being used instead of whatever the installer (which isn't actually official, btw) gives you. In particular, an old or broken GtkSourceView + PyGtkSourceView install would do this. If you're comfortable doing so, in meld/util/sourceviewer.py, you can replace the _get_srcviewer() function with: def _get_srcviewer(): for srcv in (gtksourceview210, gtksourceview24): try: raise ImportError except ImportError: pass return nullsourceview() and see whether that helps at all.
Unfortunately, it doesn't solve my problem. And the error information is that same. I have removed all pyc file to make sure it is using the new file... Any other tests that I can do? maybe add some debug code? how can I check my gtk version?
From a Python prompt, you can: import gtk print gtk.ver print gtk.pygtk_version Though I'd be surprised if this was a version problem. How have you installed Meld? You can try using the not-quite-official-but-might-be-soon Windows installer from: https://code.google.com/p/meld-installer/downloads/list I'd suggest trying both 1.6.1 and 1.7.4.
Hi, gkt.ver gives (2,28,0) gtk.pygtk_version gives (2,24,0) I have installed both 1.6.1 and 1.7.4, portable and not portable version. Behavior are still the same. BRs, Lijun Zhang
At least one issue like this one ended up being that we couldn't (for some reason) load the default fonts on Windows. Could you please try changing the font in Meld's preferences and see if that makes a difference?
Hi, It's good to know that you are still looking after the issue. It sonds something that can work, but unfortunately...it doesn't. I even have changed the file to utf8 encoding and type English alphabet only. The format as patch... function shows the difference, but the GUI still cannot show anything...
I'm new to Linux and to Meld, but I noticed that after I changed my Appearance settings, a lot of things showed as black, including Meld file compares. I'm on Ubuntu Studio 16.04 and Meld 3.14.2. Being frustrated with this, I tried selecting text in the file compare window, and I could see it. So I changed the syntax highlighting options in Meld and then it was no longer all black. Apparently it was black on black before.
I'm pretty sure that this last problem is unrelated, and I think it's been fixed in 3.16.something. If updating to latest stable Meld doesn't fix it, please file a new bug report.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/meld/issues/64.