http://bugs.async.com.br/show_bug.cgi?id=3766
Summary: set_invalid() blocks some input methods
Product: Kiwi
Version: 1.9.22
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: (unset)
Component: Widgets
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
Estimated Hours: 0.0
When I use set_invalid() method on some ProxyEntry or return some
ValidationErrors in on_somewidget__validate() handles, it works but when I want
do some modify in the widget, I cannot input anything until I change the input
method to Default in the entry's right click menu.
I've read the source code and it seems the reason is in the kiwi/ui/icon.py.
In the very last in that file, there're:
# Hack: This triggers a .recompute() which is private
visibility = self._entry.get_visibility()
self._entry.set_visibility(not visibility)
self._entry.set_visibility(visibility)
It seems set_visibility(False) will block some advanced input method and
set_visibility(True) will not recover such support.
My default input method on linux is 'SCIM' and on win32 is 'Windows IME'.
--
Configure bugmail: http://bugs.async.com.br/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Kiwi mailing list
[email protected]
http://www.async.com.br/mailman/listinfo/kiwi