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 104386 - [multiview] componentDeactivated not called when selected other tab
Summary: [multiview] componentDeactivated not called when selected other tab
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks: 104330
  Show dependency tree
 
Reported: 2007-05-21 08:29 UTC by Peter Zavadsky
Modified: 2008-12-22 13:38 UTC (History)
0 users

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 Peter Zavadsky 2007-05-21 08:29:29 UTC
When there is a one tab in multiview getting selected and active, the
componentActivated is called on its MultiViewElement, but when that tab gets
deselected/deactivated, the way the other tab on the same multiview is
selected/activated, the expected componentDeactivated is not called.

This mostly causes issue #104330, thus adding PERFORMANCE keyword.
Comment 1 _ rkubacki 2007-05-24 14:59:45 UTC
Milos maintains multiview.
Comment 2 Milos Kleint 2007-07-23 08:03:37 UTC
please give steps to reproduce or attach a simple implementation that demonstrates the problem. 
Comment 3 Milos Kleint 2007-07-23 08:05:52 UTC
MultiViewElementTest.testRequestActive() covers this area. The test is passing for me.
Comment 4 Milos Kleint 2007-08-22 07:24:41 UTC
fixed.

IDE: [8/22/07 8:07 AM] Committing started
Checking in src/org/netbeans/core/multiview/MultiViewCloneableTopComponent.java;
/cvs/core/multiview/src/org/netbeans/core/multiview/MultiViewCloneableTopComponent.java,v  <-- 
MultiViewCloneableTopComponent.java
new revision: 1.17; previous revision: 1.16
done
Checking in src/org/netbeans/core/multiview/MultiViewPeer.java;
/cvs/core/multiview/src/org/netbeans/core/multiview/MultiViewPeer.java,v  <--  MultiViewPeer.java
new revision: 1.30; previous revision: 1.29
done
Checking in src/org/netbeans/core/multiview/MultiViewModel.java;
/cvs/core/multiview/src/org/netbeans/core/multiview/MultiViewModel.java,v  <--  MultiViewModel.java
new revision: 1.9; previous revision: 1.8
done
Checking in src/org/netbeans/core/multiview/MultiViewTopComponent.java;
/cvs/core/multiview/src/org/netbeans/core/multiview/MultiViewTopComponent.java,v  <--  MultiViewTopComponent.java
new revision: 1.15; previous revision: 1.14
done
Checking in src/org/netbeans/core/spi/multiview/MultiViewElement.java;
/cvs/core/multiview/src/org/netbeans/core/spi/multiview/MultiViewElement.java,v  <--  MultiViewElement.java
new revision: 1.5; previous revision: 1.4
done
Checking in test/unit/src/org/netbeans/core/multiview/MultiViewElementTest.java;
/cvs/core/multiview/test/unit/src/org/netbeans/core/multiview/MultiViewElementTest.java,v  <--  MultiViewElementTest.java
new revision: 1.6; previous revision: 1.5
done
Checking in test/unit/src/org/netbeans/core/multiview/MultiViewHandlerTest.java;
/cvs/core/multiview/test/unit/src/org/netbeans/core/multiview/MultiViewHandlerTest.java,v  <--  MultiViewHandlerTest.java
new revision: 1.5; previous revision: 1.4
done
IDE: [8/22/07 8:07 AM] Committing finished