Bug 142109 - TVT3.2:TCT502: AR: GMF: Tool Tips from the Popup Bar disappears.
Summary: TVT3.2:TCT502: AR: GMF: Tool Tips from the Popup Bar disappears.
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux-GTK
: P2 major
Target Milestone: 1.0   Edit
Assignee: Tom Macdougall CLA
QA Contact:
URL: 502
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-05-16 18:30 EDT by CDE Administration CLA
Modified: 2010-07-19 12:28 EDT (History)
4 users (show)

See Also:


Attachments
GMF.JPG (25.32 KB, image/jpeg)
2006-05-16 18:30 EDT, CDE Administration CLA
no flags Details
patch for PopupBarEditPolicy (1.57 KB, patch)
2006-06-05 16:32 EDT, Tom Macdougall CLA
no flags Details | Diff
new patch for PopupBarEditPolicy (1.38 KB, patch)
2006-06-06 15:56 EDT, Tom Macdougall CLA
no flags Details | Diff
patch for DiagramPopupBarEditPolicy (3.13 KB, patch)
2006-06-12 14:10 EDT, Tom Macdougall CLA
no flags Details | Diff
patch for DiagramPopupBarEditPolicy (4.30 KB, patch)
2006-06-14 13:38 EDT, Tom Macdougall CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CDE Administration CLA 2006-05-16 18:30:02 EDT
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''.
Comment 1 CDE Administration CLA 2006-05-16 18:30:10 EDT
Created attachment 41670 [details]
GMF.JPG
Comment 2 CDE Administration CLA 2006-05-16 18:30:13 EDT
<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>
Comment 3 Steven R. Shaw CLA 2006-05-18 08:27:14 EDT
targetting for RC4
Comment 4 Steven R. Shaw CLA 2006-05-19 16:45:48 EDT
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?
Comment 5 Tom Macdougall CLA 2006-05-25 10:01:16 EDT
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. 
Comment 6 Steven R. Shaw CLA 2006-06-01 10:48:32 EDT
RC5 candidate
Comment 7 Tom Macdougall CLA 2006-06-05 16:32:16 EDT
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.
Comment 8 Steven R. Shaw CLA 2006-06-06 08:52:20 EDT
Mohammed - you can commit this...
Comment 9 Tom Macdougall CLA 2006-06-06 15:56:56 EDT
Created attachment 43638 [details]
new patch for PopupBarEditPolicy

Dynamic check for RTL
Comment 10 Mohammed Mostafa CLA 2006-06-08 11:13:32 EDT
One concern about the fix; 
aclling getParent().getParent().repaint means we are calling repaint on the diagram. this could be an issue
Comment 11 Tom Macdougall CLA 2006-06-12 14:10:10 EDT
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.
Comment 12 Tom Macdougall CLA 2006-06-14 13:38:21 EDT
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.
Comment 13 Tom Macdougall CLA 2006-06-14 14:21:28 EDT
Code has been committed.
Comment 14 CDE Administration CLA 2006-06-14 15:40:48 EDT
Checked with Build 0613, and the problem is still there.
Comment 15 Tom Macdougall CLA 2006-06-14 15:53:37 EDT
It was delivered today and has not been built yet.
Comment 16 Richard Gronback CLA 2008-08-13 13:05:44 EDT
[target cleanup] 1.0 RC5 was the original target milestone for this bug
Comment 17 Eclipse Webmaster CLA 2010-07-19 12:28:31 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug