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
Cursor persists on previous line with new OpenGL rendering engine #4390
Comments
|
This has been an issue for me too since at least as far back as mid-Jan (1.2.1239, maybe earlier). I am also using Windows 7 64-bit. |
|
Not to be a downer, but Windows 7 is now nearly a 10 year old operating system, and is less than a year away from end of support from Microsoft. If the issue occurs in Windows 7 but not Windows 10, then it's unlikely that we'll fix it. |
|
Hi @kevinushey, thanks for prompting that. I am able to reproduce the bug on my university machine: The way the bug presents itself on this platform is different. Instead of going to the last position of the cursor, the flashing dot is now stuck on the cursor position of the last typed text. Clicking the cursor to a new position no longer moves the dot, it's now only moved by typing new input. Windows 10 also seems to not activate the OpenGL renderer when it's set to auto-detect? This only happens when the renderer is specifically set to OpenGL. Whether the GPU blacklist and driver bug workarounds options are enabled or disabled makes no difference. |
|
Interesting; thanks. We disable the GPU by default for these integrated Intel graphics cards as a number of users have reported issues with them in the past when enabled. See e.g. rstudio/src/cpp/desktop/DesktopMain.cpp Lines 284 to 323 in b2e28db
Are your graphics card drivers up-to-date? If not, it's possible that updating them would resolve these sorts of issues. |
|
I'm not sure if I have the auth to update them, but I can have a look tomorrow. I used RStudio all day today with the OpenGL renderer enabled and found that the blinking dot is not just limited to one document, but exists on the canvas of the editor or something, because it stays in the same place on the screen when I change to a different document, or even when I look at the data viewer. It would be a shame to miss out on using this renderer because I get a big performance improvement with it on larger RMarkdown files. |
|
I can reproduce the issue on a GTX 1080Ti on Win7 x64 with driver version 419.35 (as of writing this, the most recent one). |
|
Hi. Thanks |
|
Just to confirm the bug with the cursor - RStudio v. 1.2.1335 on Win7 64bit, Radeon 7350. No blinking dot if I switch to software rendering, as well. |
|
As reported in #4822, I have the same problem with RStudio 1.2.1335, Win10 Enterprise 1703 (x64) and an Intel HD 4600 integrated graphics chip using (fairly) recent drivers. The dot only appears when using OpenGL rendering. |
|
Hello guys, this bug has been reported for a while at https://bugreports.qt.io/browse/QTBUG-74492. So if you've got new info/insights that could help Qt developers to narrow it down, please report there. Really annoying and nasty this bug... We've already provided couple of mcves there though. Thanks. |
|
I'm having the same issue on RStudio 1.2.1335, Windows 10 Enterprise 2016 LTSB 10.0.14393 Build 14393 (x64). Graphics card is an NVIDIA Quadro K600, driver version 369.39 (DirectX 12). As described above, the issue does not occur when I select software rendering. |
|
Evidently, this issue will be fixed in the next version of Qt (5.12.5) but it feels frightening to take yet another Qt update in this release cycle. @jmcphers do you think it's worth taking an update for this bug, or deferring for v1.3, or something else? |
|
I don't think we should patch 1.2 for this. Very few people are affected (apologies to those in this thread who are!) and historically Qt 5.12 updates have been very disruptive as they are prone to changing not only functionality but dependencies in their point releases. :-/ We should take a Qt update for 1.3 instead. |
|
I fixed this problem by toggling Rendering Engine to "Software", (Tools -> Global ->General [Advanced tab] per this: https://support.rstudio.com/hc/en-us/articles/360017886674-Troubleshooting-RStudio-Rendering-Errors This was on Windows 7, R 3.6.1, R Studio 1.2.5001 |
|
After a lot of effort we'd fixed this issue a while ago. For more info just check https://bugreports.qt.io/browse/QTBUG-74492 . In case you want a proper fix you'll just need to upgrade this repo to use the proper version of Qt. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions. |
|
Presumedly this issue is fixed already given that we've updated to Qt 5.12.8 on Windows; I'm going to close as fixed but please re-open if you see it again. (I also doubt we'll see it in the Electron port.) |

System details
Steps to reproduce the problem
Describe the problem in detail
Interestingly, my cursor is set to a lilac colour by my RStudio theme but the blinking dot is pure white (#FFFFFF), and I don't use that colour anywhere in my theme. The only place it appears in the theme is in the baked definitions for terminal colours.
Describe the behavior you expected
No part of the cursor should not persist on previous lines.
The text was updated successfully, but these errors were encountered: