Share

Tk Toolkit

Tracker: Bugs

7 No unmap event when iconifying, Aqua - ID: 676424
Last Update: Settings changed ( das )

Pressing the iconify button on a toplevel window does not
generate an unmap event in Mac Aqua Tk 8.4.1. The window
disappears and an icon is shown on the Mac OS X Dock but no
unmap event is generated.

The following wish8.4 script demonstrates the problem

bind . <Unmap> {puts unmap}

After invoking this command press the iconify button on the
window frame. The word "unmap" should be printed to the
console but is not. Although the window is iconified the "winfo
ismapped ." command returns true.

winfo ismapped .
1

In the Tk molecular graphics application we develop the unmap
event on the main window is used to unmap other dialogs the
application is showing. It is also used to stop updating the
realtime display so the CPU utilization drops when the application
is iconified.


Nobody/Anonymous ( nobody ) - 2003-01-28 22:56

7

Closed

Fixed

Daniel A. Steffen

66. Aqua Window Operations

obsolete: 8.4.1

Public


Comments ( 4 )

Date: 2005-08-10 01:58
Sender: das

Logged In: YES
user_id=90580

I have now implemented the <Map> event on expand and fixed the
issues with collapsing (window flashing, blanking before collapse, no
unblanking after expand)


Date: 2005-07-29 06:37
Sender: hobbsSourceForge.net SubscriberProject Admin

Logged In: YES
user_id=72656

This has been fixed post-8.4.11 to capture the collapseBox
event and trigger the <Unmap> event. There is still an
issue with reiconification by clicking on the dock (you get
no <Map>).


Date: 2003-09-22 22:41
Sender: nobody

Logged In: NO

Bug still present in 8.4.4. Tom Goddard


Date: 2003-02-05 19:39
Sender: nobody

Logged In: NO

Submitted by Tom Goddard
goddard@cgl.ucsf.edu



Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
close_date - 2005-08-10 01:58 das
status_id Open 2005-08-10 01:58 das
resolution_id None 2005-07-29 06:37 hobbs
summary No unmap event when iconifying, Aqua Tk 8.4.1 2003-10-03 15:13 dgp
priority 5 2003-09-29 09:34 dkf