[kepler-dev] [Bug 3801] - open dialog, common places pane has white box instead of text

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Jun 15 16:15:11 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3801


cxh at eecs.berkeley.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
   Target Milestone|1.1.0                       |2.0.0




------- Comment #6 from cxh at eecs.berkeley.edu  2009-06-15 16:15 -------
I'm reopening this bug, there are problems with the code under:
* Windows Server 2003 via Windows Remote Desktop.  Java 1.6.0_04 and 1.6.0_14
  $PTII/bin/vergil, then File -> Open, then Cancel: HTML window scrambled,
  the links on the right of the welcome window are superimposed on the image
  on the left.

* Mac OS X, Java 1.5.0_16
  $PTII/bin/vergil, then File -> Open.
  Move the File Dialog and see that the links on the right are super imposed
  on the image on the left.

It appears that calling styleSheet.addRule("body {background: #939393;}");
is what is causing the problem.  The reality is that adding any rule
causes the problem on the mac

http://www.gamedev.net/community/forums/topic.asp?topic_id=325758

Brian Hudson writes:
This happens for me as well, even when I actually open a model.

I also get the following exceptions:

Problem setting background color
java.lang.NullPointerException
    at ptolemy.actor.gui.HTMLViewer._open(HTMLViewer.java:474)
    at ptolemy.gui.Top$FileMenuListener.actionPerformed(Top.java:1139)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.NullPointerException
Problem restoring background color.
    at ptolemy.actor.gui.HTMLViewer._open(HTMLViewer.java:488)
    at ptolemy.gui.Top$FileMenuListener.actionPerformed(Top.java:1139)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Charles Shelton writes:
Shelton Charles (CR/RTC3-NA) wrote:
>
> >> Hi Eveyone,
> >>
> >> I'm getting some weird behavior with the Ptolemy Intro Window.  When I
> >> launch Ptolemy from Eclipse, the Ptolemy Intro Window appears with the
> >> Ptolemy Logo on the left and some useful links on the right, as normal.
> >>
> >>
> >> But when I click File -> Open to open a model, sometimes after I open a
> >> model, or if I just click Cancel from the file dialog, the Ptolemy Intro
> >> Window redraws itself so that the text with the links is now overlayed
> >> on top of the the Ptolemy logo, and is virtually unreadable.  The right
> >> side of the window where the text is supposed to be is empty.  This
> >> appears to happened sporadically and is not always repeatable, but I
> >> have been able to reproduce this reliably by launching Ptolemy with no
> >> command line arguments, clicking File -> Open, then clicking Canel in
> >> the file dialog.  After the file dialog disappears, the Ptolemy intro
> >> window is redrawn incorectly.  This has started happening fairly
> >> recently, so I think this bug is relatively new.  Sorry I don't have
> >> more information to go on.
> >>
> >> By the way, I'm running the latest JDK 1.6.0_14 and using an older
> >> vesion of Eclipse 3.4.0


More information about the Kepler-dev mailing list