#397 Autocomplete function in phenote+ is misbehaving

closed
7
2008-06-20
2008-06-04
Jolene
No

This bug has appeared recently and is quite consistent.
When I open up phenote+ and try using the autocomplete function in any field, it takes about the 15-20 seconds for the autocomplete to work. This problem occurs only during the first time autocomplete is used.

The bug does not persist during subsequent uses of the autocomplete function and is unique to phenote+.

Here is output I get:

[java] 2008-06-04 12:04:35,131 [AWT-EventQueue-0] DEBUG field.TermCompList - tab or ret hit
[java] 2008-06-04 12:04:35,131 [AWT-EventQueue-0] DEBUG field.TermCompList - update model
[java] rows= 0
[java] 2008-06-04 12:04:55,879 [AWT-EventQueue-0] DEBUG field.TermCompList - Setting model: Jolene Fernandes
[java] 2008-06-04 12:04:55,879 [AWT-EventQueue-0] DEBUG field.TermCompList - Action performed: comboBoxEdited
[java] 2008-06-04 12:04:55,879 [AWT-EventQueue-0] DEBUG field.TermCompList - Action updating model: java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=comboBoxEdited,when=1212606275131,modifiers=] on javax.swing.JComboBox[,130,93,341x25,invalid,layout=com.sun.java.swing.plaf.windows.WindowsComboBoxUI$3,alignmentX=0.0,alignmentY=0.0,border=com.sun.java.swing.plaf.windows.XPStyle$XPFillBorder@b8dc72,flags=20971848,maximumSize=,minimumSize=,preferredSize=,isEditable=true,lightWeightPopupEnabled=true,maximumRowCount=8,selectedItemReminder=]
[java] 2008-06-04 12:04:55,879 [AWT-EventQueue-0] DEBUG field.TermCompList - update model
[java] 2008-06-04 12:05:01,090 [AWT-EventQueue-0] DEBUG field.TermCompList - Action performed: comboBoxEdited
[java] 2008-06-04 12:05:01,090 [AWT-EventQueue-0] DEBUG field.TermCompList - Action updating model: java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=comboBoxEdited,when=1212606301090,modifiers=] on javax.swing.JComboBox[,130,93,341x25,layout=com.sun.java.swing.plaf.windows.WindowsComboBoxUI$3,alignmentX=0.0,alignmentY=0.0,border=com.sun.java.swing.plaf.windows.XPStyle$XPFillBorder@b8dc72,flags=20971848,maximumSize=,minimumSize=,preferredSize=,isEditable=true,lightWeightPopupEnabled=true,maximumRowCount=8,selectedItemReminder=]
[java] 2008-06-04 12:05:01,090 [AWT-EventQueue-0] DEBUG field.TermCompList - update model
[java] 2008-06-04 12:05:01,090 [AWT-EventQueue-0] DEBUG field.TermCompList - Action performed: comboBoxEdited
[java] 2008-06-04 12:05:01,090 [AWT-EventQueue-0] DEBUG field.TermCompList - Action updating model: java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=comboBoxEdited,when=1212606301090,modifiers=] on javax.swing.JComboBox[,130,93,341x25,invalid,layout=com.sun.java.swing.plaf.windows.WindowsComboBoxUI$3,alignmentX=0.0,alignmentY=0.0,border=com.sun.java.swing.plaf.windows.XPStyle$XPFillBorder@b8dc72,flags=20971848,maximumSize=,minimumSize=,preferredSize=,isEditable=true,lightWeightPopupEnabled=true,maximumRowCount=8,selectedItemReminder=]
[java] 2008-06-04 12:05:01,090 [AWT-EventQueue-0] DEBUG field.TermCompList - update model
[java] 2008-06-04 12:05:09,592 [AWT-EventQueue-0] DEBUG field.TermCompList - tab or ret hit
[java] 2008-06-04 12:05:09,592 [AWT-EventQueue-0] DEBUG field.TermCompList - update model
[java] rows= 0
[java] 2008-06-04 12:05:09,592 [AWT-EventQueue-0] DEBUG field.TermCompList - Setting model: Allele
[java] 2008-06-04 12:05:09,607 [AWT-EventQueue-0] DEBUG field.TermCompList - Action performed: comboBoxEdited
[java] 2008-06-04 12:05:09,607 [AWT-EventQueue-0] DEBUG field.TermCompList - Action updating model: java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=comboBoxEdited,when=1212606309592,modifiers=] on javax.swing.JComboBox[,130,122,341x25,invalid,layout=com.sun.java.swing.plaf.windows.WindowsComboBoxUI$3,alignmentX=0.0,alignmentY=0.0,border=com.sun.java.swing.plaf.windows.XPStyle$XPFillBorder@b8dc72,flags=20971848,maximumSize=,minimumSize=,preferredSize=,isEditable=true,lightWeightPopupEnabled=true,maximumRowCount=8,selectedItemReminder=]
[java] 2008-06-04 12:05:09,607 [AWT-EventQueue-0] DEBUG field.TermCompList - update model

Discussion

  • Jolene

    Jolene - 2008-06-04
    • priority: 5 --> 8
    • assigned_to: nobody --> mgibson
     
  • Jolene

    Jolene - 2008-06-04
    • priority: 8 --> 5
     
  • Jolene

    Jolene - 2008-06-04

    Logged In: YES
    user_id=2032724
    Originator: YES

    Mark I just found sonething else out. Apparently this bug is specific to the layout I use. This bug does not occur with the classic layout. But it will occur with my customized layout in which the Paths to Root Tree View is visible. Thanks!

     
  • Mark Gibson

    Mark Gibson - 2008-06-04

    Logged In: YES
    user_id=422804
    Originator: NO

    interesting - so this is your own layout - not alt2 or alt3 right?
    could you send your specific layout file
    it should be in ~/.phenote/perspectives
    with a .idw suffix like joleneslayout.idw
    i suspect theres some wacky stuff in the perspectives as seems to happen sometimes - though that bug was suppose to be fixed - how long ago did you make this layout?

    i tried repeating this bug by adding the paths to root tree view to the classic layout and it didnt happen
    does it happen to you if you add tree view to classic?

     
  • Jolene

    Jolene - 2008-06-04

    Logged In: YES
    user_id=2032724
    Originator: YES

    Actually, disregard the layout comment (as I switched from the customized to classic layout during one session).
    When I tried reopening phenote plus with the classic layout and I still get the autocomplete bug at the beginning.

     
  • Jolene

    Jolene - 2008-06-04
    • labels: 1065677 --> annotation editor
    • priority: 5 --> 7
     
  • Mark Gibson

    Mark Gibson - 2008-06-04

    Logged In: YES
    user_id=422804
    Originator: NO

    on which fields - all of them - i cant repeat this
    can you give a specific example
    and it happens with classic layout too - hmmmm
    is anyone else getting this - karen?

     
  • Jolene

    Jolene - 2008-06-20
    • status: open --> closed
     

Log in to post a comment.