summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2024-05-01 14:46:59 (GMT)
committerfvogel <fvogelnew1@free.fr>2024-05-01 14:46:59 (GMT)
commit0070f556d6a16f0e0712ef853d79fe310fc67bbc (patch)
tree99651c62754a29d5bcb34b96580980f82f129d06 /tests
parent07290679b626a091bd19a007106a28f5447a56d0 (diff)
downloadtk-0070f556d6a16f0e0712ef853d79fe310fc67bbc.zip
tk-0070f556d6a16f0e0712ef853d79fe310fc67bbc.tar.gz
tk-0070f556d6a16f0e0712ef853d79fe310fc67bbc.tar.bz2
Fix [3c2a3a988f]: ttk entry-2.1.1 fails on Ubuntu 22.04.
Diffstat (limited to 'tests')
-rw-r--r--tests/ttk/entry.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ttk/entry.test b/tests/ttk/entry.test
index c3dd885..8a4fb7e 100644
--- a/tests/ttk/entry.test
+++ b/tests/ttk/entry.test
@@ -84,6 +84,7 @@ test entry-2.1.1 "Create entry before scrollbar - scrollbar catches up" -constra
.te insert end [string repeat "abc" 50]
catch {update} ; # error triggers because the -xscrollcommand callback
# errors out: invalid command name ".tsb"
+ focus .te ; # needed on some systems such as Ubuntu (see ticket [3c2a3a988f])
pack [ttk::scrollbar .tsb -orient horizontal -command [list .te xview]] \
-expand false -fill x
update ; # no error