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

Bug 329292

Summary: Support Text widget on shell with Aero glass
Product: [Eclipse Project] Platform Reporter: Lukasz Milewski <lukasz.milewski>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipse.felipe, mik.kersten, remy.suen, shawn.minto
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 325795    
Attachments:
Description Flags
Text widget patch none

Description Lukasz Milewski CLA 2010-11-02 14:58:45 EDT
Each widget needs to be adjusted to be placed on Aero glass on Windows 7. This bug report is to accommodate Text widget.
Comment 1 Lukasz Milewski CLA 2010-11-08 16:19:43 EST
Created attachment 182665 [details]
Text widget patch

isGlass() method is at the moment temporary, it just checks if Glass is enabled on Shell, not if widget is placed on a part of the Shell that contains glass effect.
Comment 2 Lukasz Milewski CLA 2010-11-08 16:24:09 EST
Additional comment, Text widget has an issue with WM_PAINT not being triggered when text change is not happening, but cursor is moved or text is scrolled. This has been working correctly with SWT 3.5. Any thoughts would be welcome, at the moment I have a resolution for that, but it's not pretty...

in callWindowProc() method I've added this

case 642:
case 135:
case OS.WM_KEYDOWN: {
OS.InvalidateRect(handle, null, true);
	break;
}
Comment 3 Felipe Heidrich CLA 2012-01-25 11:07:23 EST
closing it, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=325795#c139