summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ttk/entry.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ttk/entry.test b/tests/ttk/entry.test
index 34795fe..8b5f490 100644
--- a/tests/ttk/entry.test
+++ b/tests/ttk/entry.test
@@ -312,4 +312,16 @@ test entry-9.1 "Index range invariants" -setup {
destroy .e
}
+test entry-10.1 {Bug [2830360fff] - Don't loose invalid at focus events} -setup {
+ pack [ttk::entry .e]
+ update
+} -body {
+ .e state invalid
+ set res [.e state]
+ event generate .e <FocusOut>
+ lappend res [.e state]
+} -result {invalid invalid} -cleanup {
+ destroy .e
+}
+
tcltest::cleanupTests