A couple of hours ago, everything worked fine. I don't know what happened, but now Kate does not show any file content:

enter image description here

I could not find any options to fix this. I uninstalled and reinstalled it. I renamed all files in the subfolders of ~/.kde/share that have "kate" in their names. No change. KWrite works fine.

  • Did you change the [Qt or KDE] theme? The only time I've had this occur was the text was the same color as the background of a program (thus invisible) because I changed a theme... (I don't currently use Qt/KDE so theme may be the incorrect word, if so sorry). Also this is more easily happens if you're not using KDE but another DEsktop which mis-interprets a theme you've selected in my experience.
    – guiverc
    Jul 10 '18 at 10:53
  • I changed the appearance of the text within Kate to something similar to Vim style. This worked fine until this morning, and it still works fine in KWrite. Globally, I did not deliberately make any changes to the options of KDE or whatever, it's pretty much a plain Ubuntu 17.10. Kate is (pre-installed) version 17.04. Jul 10 '18 at 11:10
  • Your Ubuntu is GNOME (GTK+ based), Kate is a Qt (used by KDE) based editor thus you can get glitches like this on rare occasion by changing a theme in one that creates unusual glitches in the other toolkit. Kate (the version you mentioned) does not come with Ubuntu 17.10 (only Kubuntu 17.10) as it doesn't use the default GTK+ libraries, and by installing it you've dragged into your system the parts of KDE/Qt needed to run Kate. I realize you didn't do it (change) on purpose, (it's happened to me & I didn't mean it) but I usually can undo the theme changes I made fixing it...
    – guiverc
    Jul 10 '18 at 11:21
  • Ok, that's an idea. Do you have any suggestions how to undo the theme changes? Thank you very much for your help. Jul 10 '18 at 11:37
  • 1
    I appreciate your help very much. However, my OS also has more and more other malfunctions, so I choose to just re-install the whole thing on a clean partition. Thanks again. Jul 11 '18 at 5:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.