How can I make text in meld readable?

Sparhawk

A few months ago, meld started behaving oddly. Common lines are almost unreadable, and shown as dark grey text on a black background.

meld fails

Oddly enough, running it as root is fine (with kdesudo meld), although the theme is less pretty.

root meld works

How can I specify the text's colour options for meld?

I'm using:

  • Arch Linux
  • KDE 4.14.3 (also seen in 4.14.2)
  • meld 3.12.2 (also seen in 3.12.1)
  • gtk3 3.14.6 (also seen in 3.14.5)

Troubleshooting

KDE system settings

meld uses GTK3, so I fiddled with System Settings > Common Appearance and Behaviour > Application Appearance > GTK > Select a GTK3 Theme. This change was reflected in meld, but none of the three options I selected changed the text. (The available options were Default, Emacs, and oxygen-gtk; the latter is used in the screenshot above.)

Manually modifying config files

I looked in ~ for files with gtk in their name.

~/.gtkrc-2.0
~/.gtkrc-2.0-kde4
~/.config/gtk-2.0
~/.config/gtk-3.0
~/.kde4/share/config/gtkrc
~/.kde4/share/config/gtkrc-2.0

Interestingly, there is nothing with gtk in its name in /root. Hence, I tried deleting some of the ~ files, to see if I could get the same effect for my user. I presume all the gtkrc-2.0 files are irrelevant to meld.

Firstly, I deleted ~/.config/gtk-3.0, but this had no effect, and was recreated when I opened meld.

The only other option appeared to be ~/.kde4/share/config/gtkrc, so deleted this and started meld, which was unaffected. However, the file was not recreated, and it contains some possibly pertinent lines (e.g. text[ACTIVE] = { 1.000, 1.000, 1.000 }). I'm unsure if the (missing) file was loaded at all. I tried kbuildsycoca4 ; kquitapp plasma-desktop ; sleep 2 ; kstart plasma-desktop, but this had no effect. Do I need to manually reload the gtkrc? And why is this file not being affected/rewritten by the system settings?

(Also, FWIW, I removed ~/.gtkrc-2.0-kde4, which was actually a symlink to ~/.gtkrc-2.0, and I also removed the target itself, but that didn't help. Again, I didn't reload gtk (I'm not sure if this is necessary, or possible), and the files weren't re-created when I tried running meld again.)

Possibly pertinent environment variables

$ export | grep -i gtk
declare -x GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/sparhawk/.gtkrc-2.0:/home/sparhawk/.kde4/share/config/gtkrc-2.0"
declare -x GTK_IM_MODULE="xim"
declare -x GTK_MODULES="canberra-gtk-module"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/sparhawk/.gtkrc:/home/sparhawk/.kde4/share/config/gtkrc"

(Disclosure: I've previously asked this question on the KDE forums, but didn't come to a solution.)

Sparhawk

It looks like it was a regression introduced in Meld 3.12.1. I downloaded previous versions from the meld website.

Meld 3.12.0 works fine. 3.12.0

Meld 3.12.1 does not. enter image description here

I contacted the devs and they told me that it was indeed a regression introduced in the gtk+ 3 port. They suggested trying the just-released 3.12.3, which now works. (However, it still doesn't fully explain why meld in a new account would work.)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I make text in meld readable?

From Dev

How can I make difftool Meld insert spaces instead of tabs on editing?

From Dev

CSS - How can I make a font readable over any color?

From Dev

How can I make DNSMASQ bindings in human readable format?

From Dev

CSS - How can I make a font readable over any color?

From Dev

How can I make my articles readable on smartphones reader?

From Dev

How can I make a Readable stream from a Writable stream? (Node.js)

From Dev

How can I make my code more readable and DRYer when working with XML namespaces in Python?

From Dev

How can I make multi-line AutoHotKey scripts more readable?

From Dev

How can I make my JavaScript code un-readable in the developer console?

From Dev

How can I make a symlink to a directory owned by root that's readable by anything?

From Dev

How can I make text bold in Python?

From Dev

How can I make flashing text in bash?

From Dev

How can I apply a gradual blur to a background image (so that a text overlay is easily readable)?

From Dev

How can I translate non printable ascii chars to readable text with Perl

From Dev

How can I translate non printable ascii chars to readable text with Perl

From Dev

How can I list out bracketed text in Linux CLI in a readable format? Apache Geode node names & info

From Dev

How can i generate snort log file in a text human readable format?

From Dev

How Can I Place A Label Onto An Image And Ensure That The Text Is Always Readable?

From Dev

How can I rewrite this query to be more readable?

From Dev

How can I display an array in a readable format?

From Dev

How can I convert timstamp to a readable time?

From Dev

how can i make text best fit based on text length?

From Dev

make overflowing text readable with css

From Dev

Activemq: How do I make the transportConnector uri more readable?

From Dev

How do I convert a Windows-1251 text to something readable?

From Dev

How do I convert a Windows-1251 text to something readable?

From Dev

How can I make my app appear in UIActivityViewController for text?

From Dev

How can I make the text of a button change in AngularJS?

Related Related

  1. 1

    How can I make text in meld readable?

  2. 2

    How can I make difftool Meld insert spaces instead of tabs on editing?

  3. 3

    CSS - How can I make a font readable over any color?

  4. 4

    How can I make DNSMASQ bindings in human readable format?

  5. 5

    CSS - How can I make a font readable over any color?

  6. 6

    How can I make my articles readable on smartphones reader?

  7. 7

    How can I make a Readable stream from a Writable stream? (Node.js)

  8. 8

    How can I make my code more readable and DRYer when working with XML namespaces in Python?

  9. 9

    How can I make multi-line AutoHotKey scripts more readable?

  10. 10

    How can I make my JavaScript code un-readable in the developer console?

  11. 11

    How can I make a symlink to a directory owned by root that's readable by anything?

  12. 12

    How can I make text bold in Python?

  13. 13

    How can I make flashing text in bash?

  14. 14

    How can I apply a gradual blur to a background image (so that a text overlay is easily readable)?

  15. 15

    How can I translate non printable ascii chars to readable text with Perl

  16. 16

    How can I translate non printable ascii chars to readable text with Perl

  17. 17

    How can I list out bracketed text in Linux CLI in a readable format? Apache Geode node names & info

  18. 18

    How can i generate snort log file in a text human readable format?

  19. 19

    How Can I Place A Label Onto An Image And Ensure That The Text Is Always Readable?

  20. 20

    How can I rewrite this query to be more readable?

  21. 21

    How can I display an array in a readable format?

  22. 22

    How can I convert timstamp to a readable time?

  23. 23

    how can i make text best fit based on text length?

  24. 24

    make overflowing text readable with css

  25. 25

    Activemq: How do I make the transportConnector uri more readable?

  26. 26

    How do I convert a Windows-1251 text to something readable?

  27. 27

    How do I convert a Windows-1251 text to something readable?

  28. 28

    How can I make my app appear in UIActivityViewController for text?

  29. 29

    How can I make the text of a button change in AngularJS?

HotTag

Archive