[issue30791] tkinter.Tk() adds suffix to window class name when launching multiple instances

2017-06-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Terry. This is not a Tkinter issue, this is a Tk issue. Ask help on Tcl/Tk resources. If this is considered a bug open a ticket on the Tk tracker: https://core.tcl.tk/tk/tktnew . -- resolution: -> third party stage: -> resolved

[issue30791] tkinter.Tk() adds suffix to window class name when launching multiple instances

2017-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: > tkinter has added a #2 I think you yourself proved otherwise. Additional evidence is that ' #2' is not added on Windows. I have 3 windows titled 'myApp' stacked behind my installed python/IDLE icon. root.winfo_class() returns the class name capitalized, but

[issue30791] tkinter.Tk() adds suffix to window class name when launching multiple instances

2017-06-28 Thread Håkon Hægland
New submission from Håkon Hægland: Hello. In order to group several instances of a given application under one icon in the desktop launcher (I am using Ubuntu 17.04) they must have the same appName property of the WM_CLASS string. For example, if I run emacs twice: $ emacs & $ emacs & Both