-
Notifications
You must be signed in to change notification settings - Fork 152
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
Text editor doesn't update #59
Comments
What do you mean by "text will not update"? Does this mean that new characters aren't drawn as you type them? |
That's correct. Nothing changes in the text area until the code becomes valid, or the viewport is moved. |
Yikes! Obviously, I don't see this issue on my home machine, so you'll have to do most of the debugging legwork. Is there a sampling profiler (like Instruments on Mac) that you could run to see where the code is spending its time? |
I just tried a couple, and I got no useful information from gProf, and valgrind runs out of memory or gives a segfault. Not really sure what to do here. |
Can you try out some of the Qt examples, e.g. the notepad? |
Sure, I'll give that a go. The output from valgrind might actually be useful so here it is:
|
I just ran the tests with build 48f58c5 and I'm seeing one fail, here's the output. I'm not sure if this has to do with this issue, but perhaps it's symptomatic of a problem with my configuration?
|
Nope, that's an unrelated bug that fails on Linux for unknown reasons – I'm intending to check it out, but it's far from the text editor / GUI experience. Since this is a graphics-ish issue, have you tried using your vendor's binary GPU drivers? |
I'm using the latest nvidia-384 proprietary drivers. I've been poking through the code trying to figure it out, without any real success. |
Hi, I'm having the same issue on Ubuntu 17.10. I worked around this problem by switching back to Xorg as display server. Everything seems to work fine now and I can no longer experience one of the described bugs. |
Fix confirmed. |
If the code in the editor window contains any errors, the text will not update until the viewport is moved. In addition, the entire window will not update if resized until the viewport is moved. If the code is valid, it will update with significant delay, and the blinking cursor is not displayed in any situations. Tumbling the viewport continuously reveals the location of the cursor. I'm on Ubuntu 17.10 using Qt 5.9.2, eigen 3.3.4-3, and Guile 2.2.2. This issue is present with all files, including the tutorial files, empty files, and any files I've written myself.
The text was updated successfully, but these errors were encountered: