Re: Bug with Restart button using a background image
Re: Bug with Restart button using a background image
- Subject: Re: Bug with Restart button using a background image
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 3 Dec 2004 22:11:25 +0100
On vendredi, décembre 3, 2004, at 03:22 PM, Matt DeFoor wrote:
I'm wondering if anyone is having the same problem or if they can
reproduce
what I'm seeing with regard to background images and the restart
button in
an installer created with PackageMager. See the following URL for
example of
what is happening:
http://skewd.org/software/software.jpg
Essentially, it looks like the restart button isn't transparent around
the
edges like the other buttons. The restart button appears to be the only
button that behaves this way.
I created this package and set that blue rectangle as its background.
It
behaves the same if you use different image formats. It also does the
same
regardless of placement and scaling.
I used the following link to set this up:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
SoftwareDistribution/Concepts/sd_modify_install_ui.html#//apple_ref/
doc/uid/20001766
If this is indeed a bug, I'll file one. I just want to know if anyone
else
can reproduce this.
IMHO, it's 50% a bug in Installer.app and 50% a known bug/limitation in
Cocoa.
The problem is coming from the fact that the Restart button (NSButton)
is not within the Background Image (IFBackgroundImage) but over it.
Since Cocoa does not handle view overlapping correctly in some cases
(for optimization reasons), the NSButton can't render the background
correctly.
One solution could be to embed the Restart button within the Background
Image view.
My $0.02
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden