Bugs item #529102, was opened at 2002-03-12 12:35
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=107940&aid=529102&group_id=7940

Category: Mac Toolbox (Mac:: modules)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mac::Window cannot focus first item

Initial Comment:
MacPerl 5.6.1r1

The Mac::Windows module will not allow the first pane 
in a window if that pane calls the has_focus routine 
in its redraw or focus handler (in my case a listbox).

This is due to a change (from 5.2.0r4) in 
Mac::Windows has_focus routine only returning if 
$window->{focus} is true, which it is not for the 
first focusable pane ($window->{focus} is an array 
index into zero-based $window->{focusable} array).

The bug prevents the first pane from focusing on the 
inital window redraw.

See Mac::Windows line 565 from the 5.6.1.r1 release.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=107940&aid=529102&group_id=7940

Reply via email to