I'm trying to use jVi in the new 7.2beta netbeans, and everything seems to be working but CTRL-F. It is enabled in the jVi settings, and the Netbeans keymap has no CTRL-F mapped (if I search for F, ctrl, or "search", there is nothing mapped).
What am I missing?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using
Product Version: NetBeans IDE Dev (Build 201205240002)
So this is a few weeks newer than the beta. That may or may not have something to do with this.
What Platform, JVM, WM are you working with? I assume you are using jVi-1.4.5 and that you were using jVi before you got NB-7.2beta. Did you import settings?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Product Version: NetBeans IDE 7.2 Beta (Build 201205031832)
Java: 1.7.0_03; OpenJDK Client VM 22.0-b10
System: Linux version 3.2.0-24-generic-pae running on i386; UTF-8; en_US (nb)
User directory: /home/mcrowe/.netbeans/7.2beta
Cache directory: /home/mcrowe/.cache/netbeans/7.2beta
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're sure Ctrl-F, in Menu>Tools>Options>jViConfig>Ctrl-KeyBindings, is checked?
You can set Menu>Tools>Options>jViConfig>Debug>debugKeyStrokes to FINE and all keystrokes delivered directly to jVi are output, for example
KeyAction: ViCtrl-DKey: 4(4) 2
KeyAction: ViCtrl-FKey: 6(6) 2
That will likely tell us what we already know.
I wonder if this could be some kind of Java1.7 issue? Which Java version were you using before? I'm using WinXP, I just tried it with 1.7.0_02-b13 and it works OK. But who knows with OpenJDK on linux.
Is it easy to try with 1.6? in netbeans.conf (at /a/j/NetBeans Dev 201205240002/etc on my system) a change like
netbeans_jdkhome="C:\a\j\Java\jdk1.6.0_23"
#netbeans_jdkhome="C:\a\j\Java\jdk1.7.0_02"
and restart NB.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So jVi does see the C-F. That's mysterious. This is the same jVi that worked for you in other circumstances. It seems like there's a problem in the event dispatch stuff in the JVM.
Were you using OpenJDK in 7.1? A different JDK might change things.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi folks,
I'm trying to use jVi in the new 7.2beta netbeans, and everything seems to be working but CTRL-F. It is enabled in the jVi settings, and the Netbeans keymap has no CTRL-F mapped (if I search for F, ctrl, or "search", there is nothing mapped).
What am I missing?
Thanks
I can't reproduce this.
I'm using
Product Version: NetBeans IDE Dev (Build 201205240002)
So this is a few weeks newer than the beta. That may or may not have something to do with this.
What Platform, JVM, WM are you working with? I assume you are using jVi-1.4.5 and that you were using jVi before you got NB-7.2beta. Did you import settings?
I did import settings when I installed the beta.
Product Version: NetBeans IDE 7.2 Beta (Build 201205031832)
Java: 1.7.0_03; OpenJDK Client VM 22.0-b10
System: Linux version 3.2.0-24-generic-pae running on i386; UTF-8; en_US (nb)
User directory: /home/mcrowe/.netbeans/7.2beta
Cache directory: /home/mcrowe/.cache/netbeans/7.2beta
You're sure Ctrl-F, in Menu>Tools>Options>jViConfig>Ctrl-KeyBindings, is checked?
You can set Menu>Tools>Options>jViConfig>Debug>debugKeyStrokes to FINE and all keystrokes delivered directly to jVi are output, for example
KeyAction: ViCtrl-DKey: 4(4) 2
KeyAction: ViCtrl-FKey: 6(6) 2
That will likely tell us what we already know.
I wonder if this could be some kind of Java1.7 issue? Which Java version were you using before? I'm using WinXP, I just tried it with 1.7.0_02-b13 and it works OK. But who knows with OpenJDK on linux.
Is it easy to try with 1.6? in netbeans.conf (at /a/j/NetBeans Dev 201205240002/etc on my system) a change like
netbeans_jdkhome="C:\a\j\Java\jdk1.6.0_23"
#netbeans_jdkhome="C:\a\j\Java\jdk1.7.0_02"
and restart NB.
Here's the output:
KeyAction: ViCtrl-FKey: 6(6) 2
WARNING : Cannot switch to silent mode when not running at org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter$1HandleBridge.run(MenuWarmUpTask.java:263)
WARNING : fcsf.getAllFontColors(profile) empty for 'text/x-editor-search (text/x-editor-search)'
KeyAction: ViCtrl-FKey: 6(6) 2
(And yes, Ctrl-F is checked)
Also, above I pressed Ctrl-F 2x (second was in the search box).
I can probably download and install Sun rather than OpenJDK - do you think that might be a factor.
So jVi does see the C-F. That's mysterious. This is the same jVi that worked for you in other circumstances. It seems like there's a problem in the event dispatch stuff in the JVM.
Were you using OpenJDK in 7.1? A different JDK might change things.
Very strange - I see the same issue with Sun:
Java: 1.6.0_30; Java HotSpot(TM) Client VM 20.5-b03
Changing JDK didn't help. Let me try to erase my .netbeans config and see
Weird, when I deleted my .netbeans/nebeans-7.2beta directory, it started to work.
Thanks, Ernie
Oh crap. Well, glad things are working OK now.