Bug with QCView, Spaces and transparent windows on Leopard. How do I report it to Apple?
Bug with QCView, Spaces and transparent windows on Leopard. How do I report it to Apple?
- Subject: Bug with QCView, Spaces and transparent windows on Leopard. How do I report it to Apple?
- From: Matteo Manferdini <email@hidden>
- Date: Mon, 17 Dec 2007 15:15:58 +0100
Hi. I found a bug in Leopard involving QCViews, Spaces and transparent
windows. I wrote an application that creates effects that follow mouse
pointer. To do this, my app has a transparent full screen window with
a QCView that renders the effects. The problem is that if I use spaces
to show all of my desktops (F8 key), the window loses clicks
transparency and I'm not able to click on anything (windows, icons,
and even the dock and the menu bar).
My app is downloadable from here:
http://www.pawn-soft.com/index.php?option=com_content&task=view&id=12&Itemid=26
Here there are the steps to replicate the bug:
1. Create a new Cocoa Application in Xcode
2. Add the Quartz Framework to the project
3. Create a subclass of NSWindow with the following method
- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned
int)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag
{
NSWindow* transparentWindow = [super initWithContentRect:[[NSScreen
mainScreen] frame] styleMask:NSBorderlessWindowMask
backing:NSBackingStoreBuffered defer:NO];
[transparentWindow setBackgroundColor: [NSColor clearColor]];
[transparentWindow setLevel: NSScreenSaverWindowLevel];
[transparentWindow setAlphaValue:1];
[transparentWindow setOpaque:NO];
[transparentWindow setHasShadow:NO];
return transparentWindow;
}
The code makes the window fullscreen and transparent. The level is
NSScreenSaverWindowLevel so the window resides over everything.
4. Open mainmenu.nib
5. In the identity panel of the inspector set the class identity of
the window to the previously created subclass
6. Put a QCView in the window, set it as large as the window and set
the size so that it stretches with the window. The QCView does not
have to have a Quartz Composer composition in it for the bug to "work".
7. Run the app.
How do I report this to Apple?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden