Bug with QCView, Spaces and transparent windows on Leopard. How do I report it to Apple?

  • 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?
  • Il giorno 17/dic/07, alle ore 15:15, Matteo Manferdini ha scritto:

    > How do I report this to Apple?

    Log onto http://bugreport.apple.com/ with your Apple ID.

      - ∞
previous month december 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Go to today