#1015 Slow typing and screen updates


Hi, I'm experiencing extremely slow typing and screen updates
on Debian wheezy (Xfce4 Desktop with "Redmond" theme). Sometimes
geany can barely keep up with normal typing speed.

My impression is that Geany emits an excessive number of X server requests,
even for trivial editing actions like moving the cursor. Using

xtrace --relative-timestamps /usr/bin/geany

I observed that moving the cursor (by a single line or column) or typing
a single character often emits several hundred Render requests. Now I'm no
expert on the X protocol, but my feeling is that Geany redraws large parts
of the edit window unnecessarily.

The problem exists with simple text files and syntax-highlighted files.
It seems to get worse with long editing sessions.

Note: maybe related to #778



  • Anonymous - 2013-12-22

    You could try turning off all plugins (run geany -pv from the command line, report any suspicion output too), also you could try the latest version of Geany (or even development version from Git if you like) which has newer Scintilla editing widget, another idea is to try using different graphics driver to see if the problem goes away.

  • Lex Trotman

    Lex Trotman - 2013-12-23

    Scite also uses the same editing component that Geany uses, you could see if it is as slow and report it to the Scintilla project (www.scintilla.org) which provides that component.

  • Martin Spacek

    Martin Spacek - 2014-05-01

    I was recently having the same problem, running off of git from around Oct 2013. I updated and recompiled, problem remained. Then I realized that I may have changed my Xubuntu 12.10 window manager theme. I use Numix as my window manager theme (and Blackbird as my appearances theme), and I think I may have switched to NumixDaily (from the Numix PPA). After messing around a bit, it seems that switching to NumixDarkRedux fixed the problem:


    So, in summary, the window manager theme seems to have been the culprit for me. Try changing yours. After doing so, a reboot is probably in order.

    Last edit: Martin Spacek 2014-05-01
  • Martin Spacek

    Martin Spacek - 2014-07-02

    After a fresh install of Xubuntu 14.04 and a fresh build of geany from the latest git, I've found I still need to change my window manager theme from Numix to Numix Dark Redux to fix random slow scrolling in geany.

  • Lex Trotman

    Lex Trotman - 2014-07-03

    Guess you are saying we add Numix to Oxygen on the list of culprit themes.

  • Martin Spacek

    Martin Spacek - 2014-07-03

    @Lex, I've notified the author/maintainer of Numix. Any idea what it is about particular themes that might cause the problem? I guess that would require delving into the xtrace messages. What's tricky is that the slowdown is somewhat random. I think I found that minimizing and then maximizing Geany seemed to make it go away, at least for a while.

  • Lex Trotman

    Lex Trotman - 2014-07-03

    AFAIK nobody has (or is going to) delve into what causes the themes to consume huge amounts of cpu or other slowdowns. To date the main culprit was oxygen-gtk which has problem reports from many applications, so we are fairly sure its not (just) Geany.

    I'm sure the theme devs would appreciate any input you provide them.

  • Colomban Wendling

    • status: open --> pending-invalid
  • Yanpas

    Yanpas - 2015-05-28

    The same problem XFCE. Changing theme doesn't help. Met similar in mousepad


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks