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 206517

Summary: Need a way to force restart on plugin reactivation
Product: platform Reporter: venkatramakkineni <venkatramakkineni>
Component: Module SystemAssignee: Jaroslav Tulach <jtulach>
Status: CLOSED DUPLICATE    
Severity: normal    
Priority: P3    
Version: -S1S-   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 206036    

Description venkatramakkineni 2011-12-19 05:23:36 UTC
Hi

   I have come across this issue when I submitted a new plugin for review. This plugin is adds a new LAF. Since it switches the LAF from Synth to Metal, there is no easy way to do it properly without application restart. 

Steps to reproduce:

http://plugins.netbeans.org/plugin/40985/ez-on-da-ice

Install ez-on-da-ice plugin
Restart at the prompt.

Deactivate the plugin from Tools | plugins | installed.
Restart at the prompt.

Activate the plugin again from Tools | Plugins | Installed.
There is no prompt for restart. This the LAF is partially rendered. 

Plugin's uses Maven for building and declares requireRestart to true in the module descriptor. 

After looking through the documentation, I found that there is currently no easy way to enforce this. So, putting forth this request to add the ability to request restart on plugin activation.

Thanks
Sincerely
Venkat Akkineni
Comment 1 venkatramakkineni 2011-12-19 05:26:53 UTC

*** This bug has been marked as a duplicate of bug 206516 ***
Comment 2 Marian Mirilovic 2011-12-19 09:14:42 UTC
v/c