Hi.
We're running into an issue with tooltips not displaying properly. We have controls with tooltips in a repeat. Everything works fine when the page first loads (hover over control, tooltip appears; stop hovering, tooltip disappears), but if you remove and then re-add the control in question it results in the tooltip no longer appearing when you hover over the control. Removing the control again will make the tooltip appear without a hover event and stay on the page forever (until you refresh or otherwise navigate away). I did some googling to see if this has affected anyone else, and found this bug report that seems to be the exact same issue: http://forge.ow2.org/tracker/index.php?func=detail&aid=314441&group_id=168&atid=350207 That issue is listed as resolved in Orbeon Forms 3.8: http://wiki.orbeon.com/forms/doc/developer-guide/release-notes/38/complete-changes Thing is, we're currently seeing this behavior in Orbeon Forms 3.9, and the bug report seems to have been closed in the same instant it was created. Was any work actually done on that ticket? Should it be reopened? Or are we just doing something wrong and this is all just a red herring? Thanks. |
Administrator
|
Hi Fredrik,
We often have bugs closed "the instant they are opened", because we find an issue, fix it, and then add and close a bug, so information about what was done and when can be found in the bug base. (And with newer issues created on GitHub, the issue is often also automatically linked to a commit.) So this isn't a sign that "no work was done" :). Would you be able to create a simple test case that we can use to reproduce this? For instance some XForms that would run in the XForms sandbox? Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Gotcha, that makes sense. Sorry if I sounded snarky, I was just confused by the lack of comments or linked changesets.
We put together this test case to illustrate the issue. The tooltip appears on the Add Person button. To reproduce, just add a person, remove a person, then add a person. One of the Add Person buttons should now be missing its tooltip. Quick note - it might not happen 100% of the time, so try adding and removing a couple of rows if you don't get the same behavior the first time. In case it helps, we're running Orbeon Forms 3.9.0.201105152046 CE. Thanks! <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"> <head> <title>XForms Tooltip Test Case</title> <xforms:model> <xforms:instance id="phonebook-instance"> <phonebook xmlns=""> <person> <name/> <phone/> </person> </phonebook> </xforms:instance> <xforms:instance id="person-template"> <person xmlns=""> <name/> <phone/> </person> </xforms:instance> <xforms:bind ref="/phonebook/person"> <xforms:bind nodeset="name" required="true()"/> <xforms:bind nodeset="phone" required="true()"/> </xforms:bind> </xforms:model> </head> <body> <xforms:trigger> <xforms:label>Add Person</xforms:label> <xforms:hint>Add Person</xforms:hint> <xforms:insert ev:event="DOMActivate" context="instance('phonebook-instance')" nodeset="person" at="1" position="after" origin="instance('person-template')"/> </xforms:trigger> <table> <tr> <th>Name</th> <th>Phone</th> </tr> <xforms:repeat nodeset="/phonebook/person" id="person-repeat"> <tr> <td> <xforms:input ref="name"> <xforms:label>Name:</xforms:label> </xforms:input> </td> <td> <xforms:input ref="phone"> <xforms:label>Phone:</xforms:label> </xforms:input> </td> <td> <xforms:trigger> <xforms:label>Remove</xforms:label> <xforms:hint>Remove Person</xforms:hint> <xforms:delete ev:event="DOMActivate" context="instance('phonebook-instance')" nodeset="person" at="index('person-repeat')"/> </xforms:trigger> </td> </tr> </xforms:repeat> </table> </body> </html> |
Administrator
|
Hi Fredrik, Got it. The issue was happening if you mouse over the button to show the tooltip, then remove the iteration, and add it again. It is now fixed, and the fix will be in the next nightly build as well as the next 4.0 milestone (M16).
Alex On Wed, Oct 31, 2012 at 12:53 PM, Fredrik Lidstrom <[hidden email]> wrote:
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Glad to hear it. Many thanks! :)
|
Free forum by Nabble | Edit this page |