| Summary: | In GTK platform, Display.getHighContrast() always return false, even if it is high contrast mode. | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Hui Li <lihuibj> |
| Component: | SWT | Assignee: | Bogdan Gheorghe <gheorghe> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ericwill, snorthov |
| Version: | 3.2 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux-GTK | ||
| Whiteboard: | |||
GTK has not concept of high contrast mode. Instead, the user picks a theme that has high contrast. We WONTFIX this. The only thing I can think of is to query theme names and check for a string match. This won't work when the user has a custom theme that is based on a high contrast one. Bogdan, is this still the case? PW |
Build ID: M20060629-1905 Steps To Reproduce: I want to check if it is highcontrast mode in gtk platform, but Display.getHighContrast() always return false, even if it is high contrast mode. The codes of Display.getHighContrast() in gtk: public boolean getHighContrast() { checkDevice(); return false; } More information: