#154 Auto-fill to leave values when not dictionary match is found

v1.0.0
closed-wont-fix
kaya
None
5
2014-08-11
2013-06-11
No

When Auto-fill (in Add an entry to a category) is turned on, but does not find a match in the current dictionary, and then the user attempts to fill in the missing information, then at the moment the user adds the simplified or the traditional and jumps to the next field, the Auto-fill function clears all the other fields (supposedly because it did not find any other entries).

Feature request: Auto-fill will only do a dictionary look-up when only one field is filled in. E.g.
1. CTRL-N. 'Add an entry to a category' opens.
2. Type '好' in field 'Simplified'. The Auto-fill kicks immediately in as soon as one character is finished. In my case (v1.0.1 ADSO dictionary) the entry is not found. The other fields are not filled. Which is correct behavior in case the dict has no entry.
3. While '好' is still present in the field 'Simplified', type '好' in the field 'Traditional'. As soon as the character is finished, Auto-fill clears the 'Simplified field (and the Pinyin and Definition field are also cleared if any information present. The feature request requests NOT to clear the fields.

PS: the on-going autofill is a useful function. For example: if we type '非常', automatically the meaning ('extremely') and pinyin ('fei1chang2') will be added. Then when the user continues typing and types '好', then the all the information changes for the full '非常好'.

Discussion

  • kaya
    kaya
    2013-06-11

    Thanks Michael for clarifying this. It's a big help for me to trace down and fix the bug!

     
    • assigned_to: Michael van den Berg --> kaya
     
  • kaya
    kaya
    2014-05-02

    I just posted a comment which seems to be dissappeared. So this is a test if posting works.

     
  • kaya
    kaya
    2014-05-02

    WTF, my post wasn't posted again! I'll try it line by line:

    1) Why not simply untick the autofill checkbox when it clears fields which you want to fill manually?

     
  • kaya
    kaya
    2014-05-02

    Line 1 worked! So second line:
    2) If one implmented the feature request, your case (adding '好' to '非常') would NOT update the Definition from "extremly" to "extremly good" since more then one field is filled which is the condition to supress a dictionary lookup according to your feature request.

     
  • kaya
    kaya
    2014-05-02

    And the last line:
    3) So I think it's better to leave it as it works right now. Do you agree or can you convince me not to do so?

     
  • kaya
    kaya
    2014-05-02

    All three lines together won't be posted. Just try:
    Why not simply untick the autofill checkbox when it clears fields which you want to fill manually?
    If one implmented the feature request, your case (adding '好' to '非常') would NOT update the Definition from "extremly" to "extremly good" since more then one field is filled which is the condition to supress a dictionary lookup according to your feature request.
    So I think it's better to leave it as it works right now. Do you agree or can you convince me not to do so?

     
  • kaya
    kaya
    2014-05-02

    Now it works. What a shitty buggy forum!

     
  • kaya
    kaya
    2014-05-02

    Posting seems to work but my previous comment dissapeared! So once again:

    Why not simply untick the autofill checkbox when it clears fields which you want to fill manually?
    If one implmented the feature request, your case (adding '好' to '非常') would NOT update the Definition from "extremly" to "extremly good" since more then one field is filled which is the condition to supress a dictionary lookup according to your feature request.
    So I think it's better to leave it as it works right now. Do you agree or can you convince me not to do so?

     
  • kaya
    kaya
    2014-05-02

    The same comment that I posted and which dissappeared some minutes before seems to be posted well right now (see previous post). Sourceforge might have fixed their website in seconds ;)

     
  • kaya
    kaya
    2014-05-04

    Works as designed. If the issue(s) is/are misinterpreted, please open one new bug report for each issue.

     
  • kaya
    kaya
    2014-05-04

    • status: open --> closed-wont-fix