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 173431

Summary: Undocked window looks un-natural
Product: platform Reporter: emi <emi>
Component: Window SystemAssignee: issues@ide <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Example of undocked window on OSX

Description emi 2009-09-30 22:12:24 UTC
Most of the time an undocked window is just an OSX window with no title but with an alternative "title bar" underneath.

Furthermore, that "title bar" has the close button *in the opposite* way compared to the OSX close button.

Naturally I would expect in my screenshot (see attachment) that the "native" window title isn't empty text but "Tasks"
and that fake "title bar" underneath goes away altogether.
Comment 1 emi 2009-09-30 22:12:56 UTC
Created attachment 88631 [details]
Example of undocked window on OSX
Comment 2 _ tboudreau 2009-09-30 23:41:08 UTC
Removing the title bar could be problematic, since dragging the titlebar is what signals to NetBeans that the user might be trying to re-dock the window back 
into the main window.  I could imagine an implementation that didn't have the titlebar and listened on the window for changes in its location, but the results 
could be confusing, as the user might just be dragging the window and happen to overlap the main window and be unpleasantly surprised if NetBeans 
assumes that means they want to re-dock it.  Might be worth prototyping, though.

It definitely would make sense not to show a close button if there is only one tab in the window, and the window has its own close button - that shouldn't be 
terribly hard.