| Summary: | Support Text widget on shell with Aero glass | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Lukasz Milewski <lukasz.milewski> | ||||
| Component: | SWT | Assignee: | 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
Lukasz Milewski
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.
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;
}
closing it, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=325795#c139 |