Hello,
I've been developing my library for scim, and so far it works great. However, there is one small glitch: I can't seem to show an empty lookup table. If I have:
MyLookupTable lookup;
update_lookup_table(lookup);
show_lookup_table();
...Then the lookup table bar appears, with no options in it (as expected). If I then select something:
doSomethingThatChanges(lookup);
update_lookup_table(lookup);
show_lookup_table();
..the change appears, also as expected. But if I then do:
lookup.clear();
update_lookup_table(lookup);
show_lookup_table();
...then the old entry remains. I have some evidence that this is a glitch in SCIM, not in my code: Instead of lookup.clear(), I do the following:
update_lookup_table(blank_lookup);
show_lookup_table();
...where "blank_lookup" is just another new instance of "MyLookupTable". I am guessing that SCIM simply doesn't re-render if there are no lookup options.
I already have a workaround(add a default entry with just one space) but I thought I'd let you all know. Is this a bug in SCIM, or am I doing something wrong in my code? I'd appreciate your input.
Thanks,
-->Seth
PS: I'm running SCIM on Ubuntu hardy heron, installed from the package binary, and invoked normally. I have tested this on several systems and confirmed its behavior on all of them.
Ticket moved from /p/scim/bugs/147/