Menu

CTRL-F in Netbeans 7.2beta pulls up Find

Mike Crowe
2012-05-27
2013-02-21
  • Mike Crowe

    Mike Crowe - 2012-05-27

    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

     
  • Ernie Rael

    Ernie Rael - 2012-05-27

    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?

     
  • Mike Crowe

    Mike Crowe - 2012-05-27

    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

     
  • Ernie Rael

    Ernie Rael - 2012-05-27

    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.

     
  • Mike Crowe

    Mike Crowe - 2012-05-27

    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

     
  • Mike Crowe

    Mike Crowe - 2012-05-27

    (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.

     
  • Ernie Rael

    Ernie Rael - 2012-05-28

    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.

     
  • Mike Crowe

    Mike Crowe - 2012-05-28

    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

     
  • Mike Crowe

    Mike Crowe - 2012-05-28

    Weird, when I deleted my .netbeans/nebeans-7.2beta directory, it started to work. 

    Thanks, Ernie

     
  • Ernie Rael

    Ernie Rael - 2012-05-28

    Oh crap. Well, glad things are working OK now.

     

Log in to post a comment.

MongoDB Logo MongoDB