Community
Participate
Working Groups
OS: XP. Must Fix: Yes. Build Date: 0514. Blocking: No. Language: AR. Bitmap Location: \defects\ar Tester Name: Omar Bahy. Scenario: 1- Create a general Project. 2- Open a Geoshape example. 3- Hover the mouse on diagram surface so the Tool Tip Popup bar appears. 4- Move your mouse on the popup bar. Problem: The popup bar items disappear when moving the mouse on them. This article was reassigned from Category:''TVT/Testing''.
Created attachment 41670 [details] GMF.JPG
<cde:tctdetail> Testcase: 22.001040 GMF - GEOSHAPES DIAGRAM EXAMPLE Project: WSW32 Component: CDE - GMF/Runtime Diagram Priority: 2 Subject: AR: GMF: Tool Tips from the Popup Bar disappears. Article ID: 502 Originator: ROUSHDY@EG.IBM.COM </cde:tctdetail>
targetting for RC4
I bet this is a duplicate of 142813... Since this is Linux specific, it's likely the file names in the provider are specified in a non-case sensitive manner?
I reproduced this problem on Windows XP using english and RTL (i.e. -dir rtl). It appears that the problem is specific to the images. Not all images in the popup bar disappear on mouse over. I replaced the other images with one that worked and the error did not occur.
RC5 candidate
Created attachment 43527 [details] patch for PopupBarEditPolicy The attached patch repaints the popup bar in its entirety if the control is mirrored (e.g. RTL) otherwise only the label (icon and enclosing rectangle) is repainted.
Mohammed - you can commit this...
Created attachment 43638 [details] new patch for PopupBarEditPolicy Dynamic check for RTL
One concern about the fix; aclling getParent().getParent().repaint means we are calling repaint on the diagram. this could be an issue
Created attachment 44166 [details] patch for DiagramPopupBarEditPolicy Better performing patch that does not repaint the diagram. If the image is an SWT.ICON type and the control is mirrored then the image is reconstructed and the transparent pixels are replaced with diagram background colored pixels.
Created attachment 44429 [details] patch for DiagramPopupBarEditPolicy The converted images are now added to the imagesToBeDisposed list and are cleaned up when the popup bar is torn down.
Code has been committed.
Checked with Build 0613, and the problem is still there.
It was delivered today and has not been built yet.
[target cleanup] 1.0 RC5 was the original target milestone for this bug
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug