Tk Source Code

Artifact [d16d5e40]
Login

Artifact d16d5e40e735c67f2e8655b8151294111298933e:

Ticket change [d16d5e40] - New ticket [a53a902a] overrideredirect on linux/mac prevents certain binds from working. by anonymous 2016-08-25 18:02:52.
D 2016-08-25T18:02:52.520
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Keypress\sand\sother\sbindings\sdo\snot\swork\sin\sa\swindow\swith\soverrideredirect\son\smac\sand\slinux.\r\n\r\nSee:\r\n\r\nhttp://stackoverflow.com/questions/34582637/tkinters-overrideredirect-prevents-certain-events-in-mac-and-linux\r\n\r\nIf\sI\scomment\sout\sthe\soverrideredirect\sin\sthe\scode\sbelow,\sand\suse\sthe\sfollowing\r\nconfiguration\swith\sthe\sdevilspie\sprogram\sto\screate\san\sundecorated\swindow,\sthen\sthe\skeypress\sbindings\swork:\r\nI\shave\sonly\stested\son\sLinux.\r\n\r\n(if\s(is\s(application_name)\s"t.tcl")\r\n\s\s\s(begin\s(undecorate)(below)(geometry\s"+100+100")))\r\n\r\n#!/usr/bin/env\swish\r\nwm\stitle\s.\st.tcl\r\nwm\soverrideredirect\s.\sTrue\r\nwm\sgeometry\s.\s"399x25+100+300"\r\nbind\s.\s<KeyPress>\s{+puts\s"<KeyPress\s%K>"}\r\nbind\s.\s<Button-1>\s{puts\s"<Button-1>"}\r\nbind\s.\s<Enter>\s{puts\s"<Enter>"}\r\nbind\s.\s<Leave>\s{puts\s"<Leave>"}\r\nbind\s.\s<FocusIn>\s{puts\s"<FocusIn>"}\r\nbind\s.\s<FocusOut>\s{puts\s"<FocusOut>"}
J foundin 8.6.1,\s8.6.6
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact e755306c9ef019bc4ca35d69adcf001dece786ff
J resolution None
J severity Minor
J status Open
J submitter anonymous
J subsystem 01.\sBindings
J title overrideredirect\son\slinux/mac\sprevents\scertain\sbinds\sfrom\sworking
J type Bug
K a53a902ac6e179ab41a650f8d97c5124f99f37db
U anonymous
Z 4085a76185a88575a4df912349051507