Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329292 - Support Text widget on shell with Aero glass
Summary: Support Text widget on shell with Aero glass
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 325795
  Show dependency tree
 
Reported: 2010-11-02 14:58 EDT by Lukasz Milewski CLA
Modified: 2012-01-25 11:07 EST (History)
4 users (show)

See Also:


Attachments
Text widget patch (2.68 KB, patch)
2010-11-08 16:19 EST, Lukasz Milewski CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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