Open chrstphrchvz opened 3 years ago
https://rt.cpan.org/Ticket/Display.html?id=127772#txn-1890228
There is a documented limitation in the behavior of
grab
on Tk Aqua where only the grab window can be focused and receive mouse and key events.A Tcl script that exhibits the limitation (careful when running this on X11):
pack [ttk::button .b -text {Popup overlay}] toplevel .t -background green wm overrideredirect .t 1 wm withdraw .t .b configure -command { wm deiconify .t wm geometry .t [wm geometry .] raise .t # On Aqua, this raises . and # doesn't allow interacting with .t grab -global . }
Maybe BrowseEntry can be revised to act more like ttk::combobox, which uses slightly different approaches for each platform (see combobox.tcl in Tk).
Maybe BrowseEntry can be revised to act more like ttk::combobox, which uses slightly different approaches for each platform (see combobox.tcl in Tk).
So far I have not been successful at adapting the approach in combobox.tcl. And because of the platform inconsistencies evident in combobox.tcl, I'm not sure I could convince upstream Tcl/Tk that there is an inconsistency they can or should address that would resolve this issue.
https://rt.cpan.org/Ticket/Display.html?id=127772#txn-1821064