Summary: | TVT3.2:TCT502: AR: GMF: Tool Tips from the Popup Bar disappears. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Modeling] GMF-Runtime | Reporter: | CDE Administration <cdeadmin> | ||||||||||||
Component: | General | Assignee: | Tom Macdougall <tmacdoug> | ||||||||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||||||||
Severity: | major | ||||||||||||||
Priority: | P2 | CC: | camle, kitlo, mmostafa, steveshaw | ||||||||||||
Version: | 1.0 | Keywords: | contributed | ||||||||||||
Target Milestone: | 1.0 | ||||||||||||||
Hardware: | PC | ||||||||||||||
OS: | Linux-GTK | ||||||||||||||
URL: | 502 | ||||||||||||||
Whiteboard: | |||||||||||||||
Attachments: |
|
Description
CDE Administration
2006-05-16 18:30:02 EDT
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 |