Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 548736 - [Cocoa]setImage(null) on Label overrides text
Summary: [Cocoa]setImage(null) on Label overrides text
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 4.13 M1   Edit
Assignee: Lakshmi P Shanmugam CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 205199
Blocks:
  Show dependency tree
 
Reported: 2019-06-28 03:24 EDT by Lakshmi P Shanmugam CLA
Modified: 2019-07-09 07:54 EDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi P Shanmugam CLA 2019-06-28 03:24:47 EDT
+++ This bug was initially created as a clone of Bug #205199 +++

Build ID: 3.3

Steps To Reproduce:
1. create a Label on Windows and a Button event for setting a picture on it using setImage. A second klick would set a Text and use setImage(null).
2. the text doesn't appear, only when you do setImage(null) first and _then_ set the text.

More information:

Bug #205199 fixes the issue on Windows. This bug tracks the issue on Cocoa.
Comment 1 Eclipse Genie CLA 2019-06-28 05:55:48 EDT
New Gerrit change created: https://git.eclipse.org/r/145094
Comment 3 Lakshmi P Shanmugam CLA 2019-07-09 07:54:04 EDT
Verified on I20190708-1800