Description of problem:
Can not enable "Save" button when input simplify Chinese/traditional Chinese in Firefox 3.6.18
Steps to Reproduce:
1.Go to http://hudson.englabe.bne.redhat.com
2.Select any project
3.Select zh-Hans in any version
4.Select one document
5.Click target cell and enable target cell editor
6.Enable simplify/traditional Chinese input method
7.input simplify/traditional Chinese character
After input Chinese character, the "Save" button still not be enabled.
After input Chinese character, the "Save" button will be enabled and user can click it to save.
This error doesn't happens on Chrome browser, it doesn't affect Firefox 5 on Fedora 15, it only affect Firefox 3.6.13 on RHEL 5.6 and Firefox 3.6.18 on Fedora 14.
In the source code, i enable the "Save" button based on keyup event, it seems FireFox 3.6 doesn't receive any key event through input method (keyup, keydown, and keypress event), but it do receive key event through keyboard.
I also try valueChangeEvent, but Firefox only fire valueChangeEvent when editor lose focus.
I cannot reproduce your bug with
RHEL 5: firefox-3.6.17, scim-1.4.4-41, scim-chewing-0.3.1-11
RHEL 6: firefox-3.6.17, ibus-1.3.4-5, ibus-chewing-1.3.10-1, ibus-pinyin-1.3.8-1
Fedora 14: firefox-3.6.18-1, ibus-1.3.9-4, ibus-chewing-188.8.131.52
Is your locale a Chinese one?
James, what is the status of this one?
The save button is set to enabled when editor is activated now. So we don't need to detect the change of content to enable the save button now. I once try to use polling to detect the change of the content, but it is not efficient.
Sean, do we still need that save button only enabled when content is changed? if we want, i think i still have to use polling method, i didn't find a better solution yet.
(Ding did test after i added polling, so maybe not correct)
Alright. Since save is always enabled now, this particular bug no longer applies.
At some point we should revisit the problem of efficiently enabling Save only when something has changed.
This bug is no longer valid, as we changed the UI and make Save buttons always activated.
I have filed Bug 730177 regarding activate/deactivate save icons according whether there are changes.