Re: Default button surrounded by black square for Panther, not Jaguar
Re: Default button surrounded by black square for Panther, not Jaguar
- Subject: Re: Default button surrounded by black square for Panther, not Jaguar
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 5 Oct 2004 14:04:35 -0700
Mario,
This problem comes up from time to time, and it's caused when views at
the same level of the view hierarchy overlap. The solution is to
ensure that the button is added as a subview of the view that's behind
it.
-jcr
On Jul 27, 2004, at 10:21 AM, Mario Diana wrote:
Hi,
I originally posted this issue late yesterday, but since I've narrowed
down the problem a bit, I thought I might repost.
The default button on my application's window at launch time is
surrounded by a black square when running under Panther (10.3.4).
Everything is normal under Jaguar (10.2.8). This is repeatable on
other machines.
A screenshot and summary of the problem is here:
http://itms-backup.sf.net/nsview-oddity.html
For the record, I am developing and building this application under
Jaguar.
The NSButton at issue is grouped along with a subclass of NSTextField,
and this group is a subview of an NSBox. The button is set to be the
default from InterfaceBuilder (setting it programmatically made no
difference in the results).
It will be very difficult for me to get hold of Panther or another
machine running Panther to debug this all by myself. Deliberate
debugging of this using a beta tester friend via e-mail is going to be
tedious and protracted. If anyone has any insight that could speed up
my solving this, it would be a great help.
Mario,
This problem comes up from time to time, and it's caused when views at
the same level of the view hierarchy overlap. The solution is to
ensure that the button is added as a subview of the view that's behind
it.
-jcr
On Jul 27, 2004, at 10:21 AM, Mario Diana wrote:
Hi,
I originally posted this issue late yesterday, but since I've narrowed
down the problem a bit, I thought I might repost.
The default button on my application's window at launch time is
surrounded by a black square when running under Panther (10.3.4).
Everything is normal under Jaguar (10.2.8). This is repeatable on other
machines.
A screenshot and summary of the problem is here:
http://itms-backup.sf.net/nsview-oddity.html
For the record, I am developing and building this application under
Jaguar.
The NSButton at issue is grouped along with a subclass of NSTextField,
and this group is a subview of an NSBox. The button is set to be the
default from InterfaceBuilder (setting it programmatically made no
difference in the results).
It will be very difficult for me to get hold of Panther or another
machine running Panther to debug this all by myself. Deliberate
debugging of this using a beta tester friend via e-mail is going to be
tedious and protracted. If anyone has any insight that could speed up
my solving this, it would be a great help.
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden