Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main window corrupt on Windows with Overview active #346

Open
Cilyan opened this issue Jan 27, 2016 · 2 comments
Open

Main window corrupt on Windows with Overview active #346

Cilyan opened this issue Jan 27, 2016 · 2 comments
Assignees

Comments

@Cilyan
Copy link

Cilyan commented Jan 27, 2016

Hi guys,
at home, on Linux, I activated the Overview and I quite liked the feature. So I enabled it also at work, on Windows 7. However, when I do this, the source code window (the main one, not the overview) becomes "graphically laggy". Scrolling isn't smooth, but worse, the display of the code is often corrupt. See the screenshot below, this is visible also in the line count, though it doesn't even match (e.g. the comment is on line 187 and follows a function declaration).

Geany with corrupt code

No real idea what is causing this, it just reminds me of a behaviour I had in a GtkTreeView once due to update done from the wrong thread (GtkTreeView methods called from a GstPipeline thread).

I tested 1.25 and 1.26. I do not remember having had this problem in 1.24 (but not sure).

Best regards

@codebrainz
Copy link
Member

Can you try it with a fresh config by running Geany from command prompt like C:\Program Files (x86)\Geany\bin\Geany.exe -c someNewDirToUse -v and see if it still happens with the default settings and no other plugins loaded? Also please paste any output from the console that it opens, or from Help->Debug messages. Thanks.

@Cilyan
Copy link
Author

Cilyan commented Jan 27, 2016

Just tried. Unfortunately, yes, it behaves the same. The scrolling is definitely immediately more laggy, even for not so long documents. But usually at the end of scrolling, there would be a refresh that cleans everything so getting corrupted code again was not easy. But I found what the best conditions for reproducing the problem are: just scroll slowly up and down, like you were looking for a piece of code you know is around. Then you get the displacement on lines and code, which is only corrected when you place the cursor on a line or select some code. This would redraw the line selected plus, I'd say the 1 above and 1 below lines.

Geany: Using alternate configuration directory
Geany: Creating configuration directory
Geany: Geany 1.26, German_Germany.1252
Geany: GTK 2.24.10, GLib 2.28.8
Geany: System data dir: C:\Program Files (x86)\Geany\data
Geany: User config dir: D:\test
Geany: System plugin path: C:\Program Files (x86)\Geany\lib\geany
Geany: No user config file found, trying to use global configuration.
Geany: Added filetype Clojure (61).
Geany: Added filetype CUDA (62).
Geany: Added filetype Cython (63).
Geany: Added filetype Genie (64).
Geany: Added filetype Graphviz (65).
Geany: Added filetype JSON (66).
Geany: Added filetype Scala (67).
Geany: unknown : None (UTF-8)
Geany: Detected encoding by regex search: utf-8
Geany: ************************.py : Python (UTF-8)
Geany: Loaded C:\Program Files (x86)\Geany\data\python.tags (Python), 5965 tag(s).
Geany: Added 40 plugin(s) in 'C:\Program Files (x86)\Geany\lib\geany'.
Geany: Loaded:   C:\Program Files (x86)\Geany\lib\geany\overview.dll (Overview)

If I can find time tomorrow, to do some more testings. (Actually, I first thought it would reproduce if I had some other applications eating a little memory and CPU, so I opened some. That would be interesting to check if it happens with a fresh booted session. And maybe trying more versions.)

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants