[1.6.9.2 / Opera 12.17] Bug: Editor is flickering when selecting text by mouse
Very strange problem.
When editing big script (5-8 screens), after some large mouse selection was made and cancelled, any further mouse selections cause serious flickering (editor turns white for a moment). Very often it even causes the mouse to not leave "button pressed" state when real button is released. It's actually almost unusable for me when it's like this.
I have a copy of 1.6.8 and I've compared both versions - there is absolutely no such bug in 1.6.8. Also the editor feels much more responsive there.
I've tried to swap updated files with their old versions from 1.6.8 but ultimately failed to find which one exactly is causing this condition.
I'm not using hardware acceleration in Opera.
Sorry but I cannot reappear the problem. Does the script have very long lines? Or can you provide an example script that causes the problem?
Does the script have very long lines?
That too, but I was able to reproduce it even without long lines.
Example that should let you see the issue: https://greasyfork.org/scripts/5727-google-translator-tooltip-expanded-fork/code
I have installed the latest Violentmonkey 1.6.9.2 and installed the script above, and tried large mouse selection (from the top to the bottom of script), and clicking around, but nothing strange happened...
BTW I think, if any of the files are to be blamed, they must be under src/lib/CodeMirror.
Just in case: clicking does not produce problems. Selecting does. I've recorded the process (on XP): http://i.imgur.com/J047jsa.gif
Btw, I've noticed that if Opera window is not maximized and using around 50% or less screen space, flickering does not happen (on XP at least). I'm using 1920x1080 resolution in 8.1 machine and 1680x1050 on XP machine. Opera is maximized in most cases.
BTW I think, if any of the files are to be blamed, they must be under src/lib/CodeMirror .
I'll try that later, thanks.
I have noticed this also for some time now. I don’t really use the integrated editor but when I need to, it’s flickering also when I scroll. I’m also on XP and my PC is not powerful. It would be cool if a new version of the editor (https://github.com/codemirror/CodeMirror) would fix that, I don’t know if we are using the latest version…
I'm now using Opera 12.18 x64 and latest Violentmonkey 1.7.2.1. The issue is still here.
I think it happens when many tabs are open in the browser. I have more than 500 at all times. Still don't have time to check differences with older versions...
I have Opera 12.18 on XP. I have 26 open tabs (I can’t really close them to test without them).
It is not only flickering when selecting text, it is always flickering when scrolling (keyboard page up/down or mouse).
In fact the code disappears (window goes white) and then it is reloaded and displayed back at new position.
Maybe my PC is not powerful enough… Intel Core 2 6300 1.86GHz and 2.74GB RAM.
Maybe my PC is not powerful enough
Shouldn't be that... I have 12 cores on dev station. While tweaking a script about a week ago specific to a parsing issue in Presto it was flickering (redrawing/rerendering) constantly.
codeMirror seems so to have often issued flickering related fixes, so maybe if we updated version it would be OK. I don’t know which version we currently have.