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 107297 - Palette window stays open when the navigator shows a REST file even if its editor has been closed
Summary: Palette window stays open when the navigator shows a REST file even if its ed...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Palette (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks: 106178
  Show dependency tree
 
Reported: 2007-06-19 18:10 UTC by Ayub Khan
Modified: 2008-12-22 14:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ayub Khan 2007-06-19 18:10:36 UTC
Background: To fix issue#106178 we are using a back-door approach to associating palette to a dataobject. This causes
following side-effect.

Description: when palette window stays open when the navigator shows a REST file even if its editor has been closed

Solution: Fix PaletteSwitch.java, so that the palette will simply listen to editor windows only and then it should close
when REST editor is closed. 

Risks: there's a slight chance that this fix will cause problems for other people who may depend on this behavior but we
are not aware of any such module.
Comment 1 David Simonek 2007-06-21 15:25:06 UTC
integrated in main trunk:

Checking in PaletteSwitch.java;
/cvs/core/palette/src/org/netbeans/spi/palette/PaletteSwitch.java,v  <--  PaletteSwitch.java
new revision: 1.5; previous revision: 1.4
done

And just btw, I lowered this to P2, P1 is reserved to data loss or crash. I know that this issue is important, but it's
not good to abuse priority.