Hi Michal,
It turns out that under Mac OS X 10.7.3, the early access Java 1.7.0_04-ea was the root of the problem I was seeing.

Under Mac OS X 10.7.3 with Java 1.6.0_29, and the Kepler devel trunk, I don't have a problem.

Under Mac OS X 10.7.3 with Java 1.6.0_29 and Kepler-2.3, I can reproduce the problem with:
1) ant run
2) File -> Open, browse to CompositeActor.kar
3) Right click on the Composite Actor, select "Configure Actor"
4) In the Edit Parameters window, click Add, enter "test27", then click OK
5) Repeat until test49.

So yes, the bug appears in Kepler-2.3, but is fixes in the devel trunk. I'm unsure what you mean when you write:
Is it possible to fix this issue inside trunk?
as the problem is already fixed in the trunk. Do you mean that you would like to see Kepler-2.3 patched to fix this problem?

http://chess.eecs.berkeley.edu/ptexternal/nightly/ChangeLog.txt lists the changes for the ptII tree.

Possible changes of interest are:

2012-02-12 03:24  derler

        * [r62948] /trunk/ptolemy/actor/gui/PtolemyQuery.java,
          /trunk/ptolemy/gui/Query.java: fixed problem with text areas in
          dialogues that had minimum row heights after last change


2012-02-08 19:15  derler

        * [r62941] /trunk/ptolemy/gui/ComponentDialog.java,
          /trunk/ptolemy/gui/Query.java: allow for resizing of editing
          dialogues



2012-02-08 17:39  derler

        * [r62938] /trunk/ptolemy/actor/gui/PtolemyQuery.java: Increase
          vertical size of text area for editing parameters from 1 to 2 in
          order to allow for editing parameters where the text length
          exceeds the display area without hiding the text under the
          scrollbar. (There might be a nicer fix to this that dynamically
          changes the size from 1 to 2 when needed)

2012-02-08 19:15  derler

        * [r62941] /trunk/ptolemy/gui/ComponentDialog.java,
          /trunk/ptolemy/gui/Query.java: allow for resizing of editing
          dialogues




I'm not sure if any of the above changes fix the problem present in Kepler-2.3, but it is a starting point.

However, one issue is that the Kepler-2.3 tree does not have the updates to the file chooser that under Mac OS use java.awt.FileDialog instead of java.swing.JFileBrowser. Back porting these changes to the Ptolemy II kepler-2.3 branch would be quite time consuming.

_Christopher

On 3/22/12 8:03 AM, Christopher Brooks wrote:
Hi Michal,
We recently added a way to scroll parameters in the ptII devel tree, but there appears to be a problem.
Let me take a look.

_Christopher

On 3/22/12 5:59 AM, Michal Owsiak wrote:
Hi,

I have an issue when it comes to creating an actor with very long list of parameters.

If I create sufficiently long list it is impossible to add any parameters because panel with buttons disappears (it goes beyond the visible area of the screen) - Kepler_2_3_OSX_Lion.png.

The number of parameters required to reproduce the bug depends on screen size. In my case it is like 26-27 parameters.

In case of Linux it looks like panel inside the window (panel with parameters) gets a scroll bar whenever there are more parameters. To make scroll visible you have to add the number of parameters which will "push" buttons beyond the screen size.

You can find demo workflow attached to the e-mail as well.

Is it possible to fix this issue inside trunk?

Cheers

Michal



_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

--
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841                                (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670


_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

--
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841                                (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670

_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

Reply via email to