From: <tcl...@tc...> - 2013-11-22 13:16:22
|
Repository: http://core.tcl.tk/tk Change Notification For [Ttk::button -takefocus option influences <Button-1>] Ticket http://core.tcl.tk/tk/tktview?name=2046267fffffffffffffffffffffffffffffffff Artifact http://core.tcl.tk/tk/tinfo?name=fb776ff593f7c0d38bdfc254a700d64e59e9c8d5 On 2013-11-22T13:05:34 By oehhar Changed Fields closer: nobody comment: A ttk::button which has -takefocus 1, will get the focus on a <ButtonPress-1> event. This is inconsistent with normal -takefocus behaviour, which only governs keyboard traversal with <Tab>. Even if this is intentional for ttk, it is inconsistent with the ttk documentation which says: -takefocus: Determines whether the window accepts the focus during keyboard traversal. Either 0, 1, a command prefix (to which the widget path is appended, and which should return 0 or 1), or the empty string. See options(n) in the Tk reference manual for the full description. Note that fixing this would also fix [1904322] and [1936220]. See also [http://wiki.tcl.tk/20050]. login: oehhar severity: Minor |