Open deepika-u opened 2 months ago
Setting foreground and background colour on Tabfolder works fine on MacOS.
This is how it is in Mac :
Could someone verify the behavior on Linux?
Here how TabFolder looks like on RHEL 9.2:
Here CTabFolder used in your snippet:
Obviously they differ, but the one is created by native widget toolkit, other one is "faked".
I believe this could be difficult to get consistent behavior on all platforms without breaking existing code. But if you want consistency, please provide patches...
When checked further on windows apis, i am not able to find anything specifically to set foreground or background on tabfolder on windows from below api list like tabctrl_set.... => https://learn.microsoft.com/en-us/windows/win32/api/commctrl/nf-commctrl-tabctrl_setcurfocus
So as of now this issue can be closed as an windows limitation. Can someone add labels as limitation, windows and close this issue please.
On TabFolder, when trying to change Foreground and Background colors, they are not getting applied.
To Reproduce I am able to see the same problem via the below snippet, via ControlExample or via SWT Controls.
Snippet to reproduce the behavior
Expected behavior Like how CTabFolder, color changes should be applied even on TabFolder.
Environment:
Seeing the problem on below environment: Eclipse SDK Version: 2024-09 (4.33) Build id: I20240805-1800 OS: Windows 11, v.10.0, x86_64 / win32 Java vendor: Eclipse Adoptium Java runtime version: 21.0.1+12-LTS Java version: 21.0.1