This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 39123

Summary: Metal LF - drag textuge is ugly black
Product: platform Reporter: David Simonek <dsimonek>
Component: Window SystemAssignee: _ tboudreau <tboudreau>
Status: VERIFIED FIXED    
Severity: blocker CC: mmirilovic
Priority: P1 Keywords: L&F, UI
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description David Simonek 2004-01-22 11:53:39 UTC
99% regression from your fix of 39039. Please fix
ASAP, it doesn't look good in dev build.
Comment 1 _ tboudreau 2004-01-22 12:38:50 UTC
Ack.  Will fix this afternoon...
Comment 2 _ tboudreau 2004-01-22 12:39:38 UTC
*** Issue 39115 has been marked as a duplicate of this issue. ***
Comment 3 _ tboudreau 2004-01-22 12:41:53 UTC
I think it's a simple problem that didn't cross my mind:  The bitmap
is built by calling GraphicsEnvironment....createCompatibleImage -
which builds an image that is best compatible for fast copying onto
the screen.

It looks like on some platforms, the default image type has alpha, and
some places it doesn't.

My apologies...
Comment 4 _ tboudreau 2004-01-22 13:10:16 UTC
Will disable buffering until I've solved the black background and
tested it on multiple platforms.
Comment 5 _ tboudreau 2004-01-22 13:34:43 UTC
Fixed in trunk.  Bitmap buffer optimization turned off for now.

Checking in
core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/MetalUtils.java;
/cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/MetalUtils.java,v
 <--  MetalUtils.java
new revision: 1.5; previous revision: 1.4
Comment 6 Marian Mirilovic 2004-02-25 16:44:04 UTC
verified in [nb_dev](200402241900)