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.
Summary: | Incorrect rendering of any HTML content when SwingboxJavahelpViewer plugin is installed | ||
---|---|---|---|
Product: | updatecenters | Reporter: | ent38 <ent38> |
Component: | Pluginportal | Assignee: | František Mantlík <mantlik> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | A view of the Plugins Manager |
Description
ent38
2013-02-15 20:07:20 UTC
Created attachment 131436 [details]
A view of the Plugins Manager
Some NetBeans dialogs are unusable. Since it is designed to be embedded with RCP applications : maybe you could distribute it has a simple library, and do not affect the NetBeans IDE ? Thx. Significantly changing the UI of some NB dialogs Any idea where could the source of the problem come from? The affected dialogs seems to use HTML texts. Does your plugin affects the rendering of every HTML content (in JLabel objects, etc.) ? The plugin modifies help content viewer with the use of JHelp's getContentViewer().setUI(new SwingboxContentViewerUI()). It seems to me, that JHelpContentViewer.setUI() affects not only Javahelp viewer, but all components rendering HTML content. Problem detected in BrowserPane. The registerEditorKit method registered SwingBoxEditorKit for each type handled by BrowserPane. This is incorrect because other JEditorPane components should use default editor kit for HTML content handling. Solution: Instead of registering SwingBoxEditorKit, getEditorKitForContentType method is overridden serving custom SwingBoxEditorKit for supported MIME types. This way, no other components are influenced by the custom editor kit. Fixed upstream http://code.google.com/p/swingbox-javahelp-viewer/issues/detail?id=7. Reported to CSSBox development team: http://sourceforge.net/p/cssbox/bugs/13/ New binary will be uploaded to Plugin Portal for verification. New version works fine. Thx! |