Tk Source Code

Artifact [63ee03df]
Login

Artifact 63ee03df5253175641fdd7ce8ae52042346a5066:

Ticket change [63ee03df] - Ticket [cda289a8] Revised [text]: text disappears when widget is out of focus status still Open with 3 other changes by gcramer 2017-05-26 14:54:42.
D 2017-05-26T14:54:42.719
J icomment The\sold\shandling/implementation\sof\sthe\sselection\soptions\sis\stohubohu,\sso\sI\sused\sthe\sopportunity\sto\soverwork\sit:\r\n\r\n1.\sI\sadded\sthe\stag\soptions\s-inactivebackground\sand\s-inactiveforegound,\sand\sthese\soptions\sare\stied\sto\swidget\soptions\s-inactiveselectbackground\sand\s-inactiveselectforeground.\r\n\r\n2.\sFor\ssymmetry\sreasons\sI\sadded\sthe\stag\soptions\s-inactiveselectbackground\sand\s-inactiveselectforeground,\sthese\soptions\swill\soverrule\sthe\soptions\s-inactivebackground\sand\s-inactivebackgound\sof\sthe\s"sel"\stag,\sprovided\sthat\sthe\sactual\stag\shas\sa\shigher\spriority.\r\n\r\n3.\sThe\smanual\shas\sbeen\supdated\swith\snew\soptions.\sFurthermore\ssection\s"THE\sSELECTION"\shas\sbeen\srefined.\r\n\r\n4.\sIn\slegacy\swidget\stag\soption\s-selectbackground\sis\stied\sto\swidget\soption\s-selectbackground\sif\sthe\stag\soption\s-selectbackground\sis\snot\snull,\sotherwise\sthe\swidget\soption\sis\stied\sto\stag\soption\s"-background",\sthis\sis\svery\sconfusing,\sand\snot\sconform\sto\sdocumentation,\sthis\sbinding\shas\sbeen\schanged.\sNow\sthe\swidget\soption\s-selectbackground\sis\stied\swith\stag\soption\s"-background"\s(of\sthe\s"sel"\stag),\sthis\sis\sconform\sto\s(revised\sand\slegacy)\sdocumentation,\sit\sis\sa\sclear\sbehavior,\sand\sallows\smore\sfreedom\sin\sconfiguration.\sThe\stag\soptions\s"-selectbackground"\sand\s"-selectforeground"\snow\swill\soverrule\sthe\soptions\s"-background"\sand\s"-foreground"\sof\sthe\s"sel"\stag,\sprovided\sthat\sthe\sactual\stag\shas\sa\shigher\spriority.\r\n\r\n5.\sI\schanged\stest\scase\stextTag-5.23\saccording\sto\s(3).\sMoreover\sthis\stest\scase\shas\sbeen\sextended\sfor\stesting\sall\sbindings.\sBTW:\sTest\scase\stext-5.24\shas\sbeen\sremoved,\sit\swas\sa\sduplicate\sof\sprior\stextTag-5.23.\r\n\r\n6.\sComplete\srework\sof\sfunction\sMakeStyle(),\sthe\s"sel"\stag\snow\swill\sbe\shandled\sseparately,\safter\sall\sother\stags\shave\sbeen\sprocessed,\sthis\smakes\sit\seasier\sto\sfollow\sthe\sflow.\r\n\r\n7.\sThe\sold\simplementation\shas\san\serroneous\sresource\smanagement\swith\sthe\sshared\s(tied)\soptions\sof\sthe\s"sel"\stag\sand\sthe\sselection\soptions\sof\sthe\swidget.\sThis\shas\sbeen\sreplaced\swith\sa\sproper\simplementation.\sUnfortunately\sthe\snew\simplementation\sfor\sresource\smanagement\sof\sshared\soptions\sis\sa\sbit\stricky,\sbecause\sthe\soption\stable\sdoes\snot\ssupport\sshared\soptions.\r\n\r\n8.\sDEF_TEXT_INACTIVE_SELECT_BG_COLOR\shas\sbeen\sset\sto\sNULL\sfor\sWindows,\sthis\sshould\sfinally\sfix\sthe\sissue\sof\sthis\sbug\sreport.\r\n\r\nThese\schanges\shas\sbeen\scommitted\swith\s[b2f64dc3].
J login gcramer
J mimetype text/plain
K cda289a8ea8d5ac64d245cd67266cd619638bc89
U gcramer
Z 0bd0407ab2af4df03bb3a6fe2eb9c877