| Ticket UUID: | 456877 | |||
| Title: | App name/send/multiple display problem | |||
| Type: | RFE | Version: | None | |
| Submitter: | dkf | Created on: | 2001-08-30 14:37:31 | |
| Subsystem: | 58. [send] | Assigned To: | patthoyts | |
| Priority: | 1 Zero | Severity: | ||
| Status: | Open | Last Modified: | 2026-09-28 14:44:03 | |
| Resolution: | None | Closed By: | ||
| Closed on: | ||||
| Description: |
To exercise this bug/problem, you need two X displays. Start a wish shell on each and make sure (by using [tk appname]) that they have the same name (which is no problem because they are on different displays, of course.) Now get one wish (A) to open a new toplevel on the display of the other wish (B). At this point, A can [send] to B (and get a reply) by using the right -displayof option, but B cannot [send] to A... I suspect that any fix for this will involve adding a -displayof option to [tk appname], and I'm not sure what additional problems exist when using [send] with multiple displays, at least in part because this fault makes testing harder. :^( | |||
| User Comments: |
serhiy.storchaka added on 2026-09-28 14:44:03:
Still the same in 9.1, but this is not about the same names: an application is registered for send only on the display of its main window. A toplevel on other display does not register it there, so applications on that display cannot send to it with any name, and it is not listed by winfo interps there. It can only be reached with send -displayof from a window on its own display. Supporting this would be a new feature (e.g. tk appname -displayof, or registering the application on every display where it has windows), so I changed it to RFE. hobbs added on 2001-09-06 06:30:27: Logged In: YES user_id=72656 Lowering the prio on this because this is an easily reworkable solution (where the two apps don't choose the same name - they can even introspect to avoid this). Tk itself avoids this situation. I'd actually be inclined to close this or change it to feature request. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki