ClosestStorm / macvim

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

Foreground color truns to black when scrolling by touchpad #455

Open GoogleCodeExporter opened 9 years ago

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

:set background=dark

open a help file.
:help todo

Scroll by two finger scrolling on touchpad

Foreground color turns to black automatically. So it becomes very hard to read.

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

Foreground color remains same white color after two finger scrolling on 
touchpad.

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")?

Compiled with github.com/b4winckler/macvim.git
commit: 027c6878628b3827608e2c0648e778f20913de56

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 22 2013 08:05:45)
MacOS X (unix) version
Included patches: 1-1223

Mac OSX 10.8.4

Original issue reported on code.google.com by h.shiros...@gmail.com on 22 Jun 2013 at 12:39

GoogleCodeExporter commented 9 years ago
After make clean and rebuild macvim, the issue was fixed.
Previous build may affect something.

Original comment by h.shiros...@gmail.com on 22 Jun 2013 at 3:28

GoogleCodeExporter commented 9 years ago
:version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 27 2013 18:25:16)
MacOS X (unix) version
Included patches: 1-1233

same problems, any ideas ?

Original comment by sheme...@gmail.com on 27 Jun 2013 at 3:28

GoogleCodeExporter commented 9 years ago
It seems that some source files are not recompiled after `git pull --rebase` 
because dependencies are missing.

I added the following files' dependencies from `make depend` result.
MacVim/MMBackend.m MacVim/MacVim.m MacVim/gui_macvim.m

https://gist.github.com/shirosaki/5878629

diff --git a/src/Makefile b/src/Makefile
index 2d4dd10..dc6cedc 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1501,7 +1501,8 @@ TAGS_SRC = *.c *.cpp if_perl.xs

 EXTRA_SRC = hangulin.c if_lua.c if_mzsch.c auto/if_perl.c if_perlsfio.c \
        if_python.c if_python3.c if_tcl.c if_ruby.c if_sniff.c \
-       gui_beval.c workshop.c wsdebug.c integration.c netbeans.c
+       gui_beval.c workshop.c wsdebug.c integration.c netbeans.c \
+       MacVim/MMBackend.m MacVim/MacVim.m MacVim/gui_macvim.m

 # Unittest files
 MEMFILE_TEST_SRC = memfile_test.c
@@ -3189,3 +3190,12 @@ objects/netbeans.o: netbeans.c vim.h auto/config.h 
feature.h os_unix.h \
  auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
  regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
  globals.h farsi.h arabic.h version.h
+objects/MMBackend.o: MacVim/MMBackend.m MacVim/MMBackend.h MacVim/MacVim.h 
vim.h \
+ auto/config.h feature.h os_unix.h os_mac.h ascii.h keymap.h term.h \
+ macros.h option.h structs.h regexp.h gui.h gui_beval.h \
+ proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
+objects/MacVim.o: MacVim/MacVim.m MacVim/MacVim.h
+objects/gui_macvim.o: MacVim/gui_macvim.m MacVim/MMBackend.h MacVim/MacVim.h \
+ vim.h auto/config.h feature.h os_unix.h os_mac.h ascii.h keymap.h \
+ term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
+ proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h

Original comment by h.shiros...@gmail.com on 27 Jun 2013 at 5:49