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

Bug 510172

Summary: [Cocoa] MeasureItem-event sent 3 times, sometimes with wrong event.details
Product: [Eclipse Project] Platform Reporter: Thomas Singer <eclipse>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, lshanmug, niraj.modi, sravankumarl
Version: 4.7Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard: stalebug
Attachments:
Description Flags
Sample to reproduce none

Description Thomas Singer CLA 2017-01-10 05:20:43 EST
Please run following snippet on OS X (and for comparison on Windows). The snippet is derived from Snippet220, but should only show the image at the right if selected. On OS X each MeasureItem-event is sent 3 times (on Windows 1 time), followed by one PaintItem-event. Unfortunately, only the 1st MeasureItem-event has the correct event.details, especially the SWT.SELECTED flag set. This causes problems with caching data on OS X.
Comment 1 Thomas Singer CLA 2017-01-10 05:21:30 EST
Created attachment 266204 [details]
Sample to reproduce
Comment 2 Lakshmi P Shanmugam CLA 2017-05-23 05:39:00 EDT
Will investigate post 4.7.
Comment 3 Niraj Modi CLA 2018-05-14 05:45:28 EDT
Moving to 4.9, please re-target as required.
Comment 4 Lakshmi P Shanmugam CLA 2018-08-28 04:28:33 EDT
Retargetting.
Comment 5 Eclipse Genie CLA 2020-12-11 00:08:13 EST
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.
Comment 6 Thomas Singer CLA 2020-12-11 04:33:39 EST
Can't reproduce any more with 4_18_maintenance.