Community
Participate
Working Groups
Reproduce problem (with snippet atachment): 1. Write something to Text2 and click to button 2. Text1 have right tooltip alogn Text2. 3. Write something else to Text2 and clisk to button. 4. Text1 have same tooltip as in point 2. (not update)
Created attachment 145533 [details] Snippet fro reproduce problem
There seems to be problem with ToolTip singleton. I try rewrite WidgetManager.js. Append explicit call method _applyBoundToWidget and it's work for me, but I dont know about ToolTip in detail a maybe this fix is wrong: .... setToolTip : function( widget, toolTipText ) { if( toolTipText != null && toolTipText != "" ) { widget.setUserData( "toolTipText", toolTipText ); var tp = org.eclipse.rwt.widgets.ToolTip.getInstance(); tp._applyBoundToWidget(widget, toolTipText); widget.setToolTip( tp ); } else { this._removeToolTipPopup( widget ); } }, ...
Created attachment 145695 [details] a solution The ToolTip doesn't update its content as long as it is bound to the same widget, i.e. no other widgets with ToolTips are hovered. It is solved in this patch by manually updating the content if needed.
Comment on attachment 145695 [details] a solution The fix does not work in qooxdoo debug-mode.
Created attachment 145924 [details] a better solution works better by checking the ToolTips parent first. Tests included.
Applied patch to CVS HEAD
Should you fix it in RAP 1.2.1 too ?
(In reply to comment #7) > Should you fix it in RAP 1.2.1 too ? RAP 1.2.1 is already built and this fix does not justify the effort of a re-build. We will schedule it for 1.2.2 (see bug 288924).
Applied patch in v12_Maintenance.