ClosestStorm / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Window sporadically fails to refresh when scrolling with trackpad gestures with Core Text renderer disabled #493

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Disable the Core Text renderer.
2. Open a long text file.
3. Scroll up and down using the two-finger trackpad gesture.

What is the expected output? What do you see instead?

The window should continuously scroll. Sometimes it stops updating and does not 
refresh for a second or more.

What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")?

Snapshot 72, OS X 10.9.1.

Original issue reported on code.google.com by arc...@gmail.com on 3 Jan 2014 at 5:00

GoogleCodeExporter commented 9 years ago
Vim has trouble keeping up with certain files.  For example, files with very 
long lines or certain syntax highlighting scripts can be slow.  To rule out the 
latter, try ":syntax off" and see if that alleviates the problem.

It would help if you could give me access to an example file which exhibits the 
problem.

Original comment by bjorn.winckler@gmail.com on 3 Jan 2014 at 1:48

GoogleCodeExporter commented 9 years ago
I've attached my .vimrc, which exhibits the problem severely. I think this is a 
Mavericks regression—I never had problems in previous versions of OS X. 
Enabling the Core Text renderer also greatly improves scrolling performance.

Original comment by arc...@gmail.com on 3 Jan 2014 at 2:12

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks.

Probably not what you want to hear, but I have absolutely no problems scrolling 
that file over here.  It is also a rather small file so I see no reason why 
there should be any problems with it.

Sorry that I can't be of much help.

Original comment by bjorn.winckler@gmail.com on 3 Jan 2014 at 2:59

GoogleCodeExporter commented 9 years ago
Thanks for looking into it, Bjorn. Could it be affected by my font or color 
scheme choice? Here's my .gvimrc:

set guifont=Monaco:h9
set noantialias
colorscheme slate
set lines=800 columns=80
set guioptions-=L
set guioptions-=l
set guioptions-=R
set guioptions-=r
set sessionoptions+=winpos,resize

Original comment by arc...@gmail.com on 3 Jan 2014 at 4:32

GoogleCodeExporter commented 9 years ago
You should go through the troubleshooting guide to rule out common problems:

https://github.com/b4winckler/macvim/wiki/Troubleshooting

Original comment by bjorn.winckler@gmail.com on 3 Jan 2014 at 6:01