|
2023-02-06
| ||
| 21:29 | • Closed ticket [4afc3ecb7e]: text not visible in tk_getOpenFile plus 6 other ... artifact: 88c514d7b7 user: jan.nijtmans | |
|
2023-02-03
| ||
| 15:03 | • Ticket [4afc3ecb7e]: 3 changes artifact: 7d9fdd2900 user: anonymous | |
| 13:23 | • Ticket [4afc3ecb7e]: 4 changes artifact: 96aa4b79a6 user: oehhar | |
| 11:52 | • Add attachment tkgetOpenFile_glitch.PNG to ticket [4afc3ecb7e780cbc|4af... artifact: b821cec172 user: anonymous | |
| 11:50 | • New ticket [4afc3ecb7e] text not visible in tk_getOpenFile. artifact: f0c9076a63 user: anonymous | |
text not visible in tk_getOpenFile
Closed / Works For Me4afc3ecb7e780cbce08ee4b901148ee81398602aCreated 4 years agoUpdated 4 years ago
Descriptionplain2023-02-03 11:50:13
When I invoke tk_getOpenFile in Tk version 8.5 or 8.6 in Linux, the directory and file icons appear, but the text of the file and directory names is not visible. (It's effectively "white" font against the white background.) Once I select and de-select a file or directory icon, the font becomes "black" and it appears as normal. I did not have this issue with 8.4, but it appears with 8.5 or 8.6. The Tk distributions that I'm testing with are from Anaconda Python distributions.
oehharwiki2023-02-03 13:23:32
Great ticket. Unfortunately, it should go to the Tk tracker https://core.tcl-lang.org/tk/timeline.
Here is Tcl.
May it be the case, that you have a dark mode enabled, e.g. that the standard foreground font is white ? I suppose, it would be helpful to:
- Transfer this to a tk ticket
- Give more information on the Window manager and colors there
- Find out the exact version of TCL 8.6 (e.g. 8.6.x with x=10 for example)
- Try a current Tcl/Tk and see, if there is the same issue
You may:
- Start wish
- Type "tk_getOpenFile" and hit enter
- Does the shown dialog has the same issues ?
Take care, Harald
anonymousplain2023-02-03 15:03:37
Thanks. Your suggestion helped me isolate the issue. My use of color #0088cc seems to be causing the problem. If I use a slightly different color, the problem goes away. I'll follow up on the appropriate forum.
jan.nijtmanswiki2023-02-06 21:29:12
So, this ticket can be closed
Log in (anonymous is fine) to add a comment.