On May 18, 2007, at 10:31 AM, Geoff Crawford wrote:
So far, I'm wondering if anyone else has seen the following
issues going from 4.0.0 to 4.0.2:
1. <roundrectbutton> seems to have broken under DHTML. On first
<snip/>
filed as http://jira.openlaszlo.org/jira/browse/LPP-4001
2. Compiling under 4.0.2 seems to be about the same speed,
but the drawing of the screens on initialization has just
slowed down dramatically using DHTML. I'm getting serious
hour glass behavior in DHML but quick behavior in SWF.
Uh-oh! What os and browser? Do you see this with openlaszlo demos?
Which ones?
If you just see it in your own code, can you give us a sample that
demonstrates the slowdown?
3. I usually include in my own app the same Style picker that is
seen in the Component Sampler. When I switch styles,
my <menubar> works for any menus one or two levels deep,
but not three levels. It displays the menu but immediately
hides it after one second. Even if you're quick enough
to navigate to menu three levels deep, it does not respond
to clicking or even highlight before the click. This
occurs only in DHTML, and it also appears only to
happen when I have previously clicked on the menu.
If I have not used the menu, and change styles, there
is no problem. It's only the sequence of Menu Click ->
change style -> Access a menu three levels deep.
I think you're saying that you're seeing a problem with nested menus,
not a problem with styles, right?
4. I have a data grid with a check box in a grid column
and either "Yes" or "No" text to the side of it. Code
was copied from some samples and looks like:
<checkbox datapath="CLEARED/text()" text="Yes" value="true">
<method event="onclick">
if ( this.value == true ){
this.setAttribute("text","Yes");
} else {
this.setAttribute("text","No");
}
</method>
</checkbox>
This seemed to work in 4.0.0 but is giving very strange behavior
in both SWF and DHTML. When ever I click the check box the
text does correctly change from either Yes to No or No to Yes.
However, scrolling through the grid, a second page of items
shows data items that were checked with No beside it.
The wrong box seems to continuously travel down the page
by one item. In other words, if I changed row 2 on page 1
of the items, from Checked/Yes to Unchecked/No and scroll
down one page, row 3 on page 2 shows Checked, but No.
The correct data value in the dataset is Yes for that item.
If I scroll to page 3 of items, then row 4 is Checked but
says No while the item is Yes in the dataset.
That is basically about the text part being wrong -
when I uncheck an item scroll down, but back up
again, the same item is magically back to being
checked again.
I should say I do not believe this happened in
4.0.0, but then again perhaps it did and I
just didn't notice. In any case, with the wrong
text seemingly traveling down the screen one
row at a time, I'm almost thinking somewhere in
the grid code is an off by one error. (but,
well, maybe that's just me) ;-)
A complete code example here would help a lot.
5. This is not an issue, but something I noticed
got cleared up. (and may not have been reported)
DHTML used to have some issues where resizing a
screen worked the first time, but resizing a
second time didn't. The second time the window
began to very annoyingly jump to a smaller size
the minute you clicked on the resize image.
And then when you moved the mouse it would
resize, but not where your mouse was located -
perhaps offset 50 pixels less in each of the
X and Y directions. This behavior is now
gone. Whew, that's a good thing.
Yay!
Thanks for the bug reports, Geoff.
-ben
Benjamin Shine
Software Engineer, Open Laszlo / Laszlo Systems
[EMAIL PROTECTED]