| Ticket UUID: | 220869 | |||
| Title: | iconwindow disables button events | |||
| Type: | Bug | Version: | obsolete: 8.2b3 | |
| Submitter: | welch | Created on: | 2000-11-01 01:30:23 | |
| Subsystem: | 67. Unix Window Operations | Assigned To: | jenglish | |
| Priority: | 4 | Severity: | ||
| Status: | Closed | Last Modified: | 2003-12-04 09:17:48 | |
| Resolution: | Invalid | Closed By: | jenglish | |
| Closed on: | 2003-12-04 02:17:48 | |||
| Description: |
OriginalBugID: 2821 Bug
Version: 8.2b3
SubmitDate: '1999-09-17'
LastModified: '1999-10-22'
Severity: MED
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
OS: SunOS
Machine: Sparc
Name:
Glenn Burkhardt
ReproducibleScript:
Using 'iconwindow' to create and manage an icon results (by design,
according to the code) in the
button events being disabled. Therefore, when a user clicks on the icon
to map the application, the
button event is handled by the window manager, as if the icon isn't
there.
This results in un-uniform behavior for the icon. Every other icon on
the desktop will map when
clicked, except for the tk application using 'iconwindow'. In fact, if
the 'twm' window manager is used,
the application cannot be mapped without the use of 'twm's iconmanager.
In the file tkUnixWm.c, there's this comment:
* Remove the icon window relationship. In principle we
* should also re-enable button events for the window, but
* this doesn't work in general because the window manager
* is probably selecting on them (we'll get an error if
* we try to re-enable the events). So, just leave the
* icon window event-challenged; the user will have to
* recreate it if they want button events.
DesiredBehavior:
All icons should handle button events in the same way, regardless of
whether the iconwindow function
is used or not. Uniform behavior of the desktop should be the design
requirement.
| |||
| User Comments: |
jenglish added on 2003-12-04 09:17:48:
Logged In: YES user_id=68433 This appears to be a bug in twm, not Tk. Only one client at a time can select for ButtonPress events; Tk _deselects_ ButtonPressMask on icon windows so that the window manager can select them. twm apparently fails to do so. dkf added on 2000-12-01 03:20:24: Icon windows are a very little used part of X, and consequently are little tested in the various window managers too. Alas. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki