andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

Preview dock: horizontal scroll bar flickering #258

Closed andreikop closed 9 years ago

andreikop commented 9 years ago

Horizontal scroll bar appears for a short time when updating preview. Progress bar also flickers.

bjones1 commented 9 years ago

Hmmm. I'll take a look and see. I would this is should be easy to fix...

andreikop commented 9 years ago

I've disabled horizontal scrollbar

andreikop commented 9 years ago

Bryan:

I have several places (such as tables and images CodeChat generates in the preview window) where having a horizontal scroll bar is a must. This was disabled in #258. With the preview sync scroll fixes, could be re-enable this? I assume the flickering is better, since sync has a tolerance included.

andreikop commented 9 years ago

Scroll bar appears not because of sync, but because of repainting. It seems like at first Qt tries to pain the dock without scroll bar, then understands, that scroll bar is necessary and repaints the dock again.

bjones1 commented 9 years ago

Yuck. What OS are you using? On my Mint 16 x32, everything is fine. Perhaps that's because I'm running it in VirtualBox, so the VM's drivers are different?

andreikop commented 9 years ago

I think it depends more on document layout and dock widget geometry. I restored horizontal scroll bar. Will try to reproduce it again and document conditions.