Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 136729

Summary: [StyledText] printing makes embedded images disappear
Product: [Eclipse Project] Platform Reporter: Carolyn MacLeod <carolynmacleod4>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Felipe Heidrich <eclipse.felipe>
Severity: normal    
Priority: P3 Keywords: triaged
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Carolyn MacLeod CLA 2006-04-13 15:19:16 EDT
3.2 M6

1) Edit Snippet212.java. At the very last line of the "Add Image" button's selection listener, add the following line of code:
   styledText.print();

2) Run the snippet.

3) Click "Add Image" and find a nice little image file to add to the StyledText. Click Open.

Bug: the StyledText being displayed gets "messed up". Now if you cause a repaint, the images all disappear.
Comment 1 Felipe Heidrich CLA 2009-08-20 09:42:06 EDT
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.
Comment 2 Leo Ufimtsev CLA 2017-08-03 12:26:41 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 3 Eclipse Genie CLA 2020-05-15 13:11:18 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.