Community
Participate
Working Groups
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:
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
As mentioned in comment 1, this is totally OS/theme dependent.