[issue27058] Tkinter's canvas' dashed lines have incorrect segment lengths

2016-05-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: "Not our fault. Try reporting this to the Tcl team" ;-) In any case thank you for your report Kevin. -- resolution: not a bug -> third party stage: -> resolved ___ Python tracker

[issue27058] Tkinter's canvas' dashed lines have incorrect segment lengths

2016-05-19 Thread Kevin
Kevin added the comment: This problem appears to go deeper than Python. On the TK bug tracker, under the issue "-dashofset option doesnt work on ms windows build" (https://core.tcl.tk/tk/tktview?name=1055974fff), a commenter mentions: > On Windows, only certain dash patterns and no dash offse

[issue27058] Tkinter's canvas' dashed lines have incorrect segment lengths

2016-05-19 Thread Kevin
Kevin added the comment: Ok, I've tried testing Serhiy's `canvas_dash.tcl` file, by running: import Tkinter root = Tkinter.Tk() root.tk.eval("source canvas_dash.tcl") root.mainloop() (I'm not sure if this counts as "pure" Tcl/Tk. I don't have any experience in using Tcl/Tk outs

[issue27058] Tkinter's canvas' dashed lines have incorrect segment lengths

2016-05-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please test pure Tcl/Tk example? -- nosy: +serhiy.storchaka Added file: http://bugs.python.org/file42902/canvas_dash.tcl ___ Python tracker

[issue27058] Tkinter's canvas' dashed lines have incorrect segment lengths

2016-05-19 Thread Kevin
New submission from Kevin: When creating a dashed line using `Canvas.create_line`. Minimal reproducing example: from Tkinter import * root = Tk() canvas = Canvas(root, width=100, height=30, bg="black") canvas.pack() canvas.create_line((0,10,100,10), dash=(20,), fill="red")