Community
Participate
Working Groups
Created attachment 94559 [details] Screenshot I20080401-0851 Checkboxes in disabled Tree should not keep white background (should be gray).
This WORKSFORME. CAR, can you test it on your machine and attach a working screen shot.
Created attachment 94861 [details] disabledCheckboxTree.png XP SP2, ControlExample Tree with CHECK=true and Enabled=false. This snapshot shows the checkboxes have the correct background color. They are white in the center, but grey around the outside.
Created attachment 94864 [details] disabledCheckboxTree2.PNG Here it is again, but configured exactly the same as your snapshot, with Size=100 x 100 and Node 3 expanded. Color is still good.
I don't know how this could happen. I cannot reproduce today with the same build. I initially saw it in an Eclipse launch configuration on the Plug-ins tab, and then reproduced in the ControlExample. Must have been an asyncExec'd April Fool's bug.
The snapshot proves that you saw it! <g> I wonder if you were running low on resources or something? Have you rebooted your machine since then?
> The snapshot proves that you saw it! <g> I could also have forged the screenshot, but it's nice to hear you trust me ;-) > I wonder if you were running low on resources or something? > Have you rebooted your machine since then? Bingo! Now I remember that I had problems with the Presentation Director [1] on my machine. From time to time, it decides to set the bit depth of my display to 16 bit (which is hard to notice, since I don't play games and the performance degradation in 16 Bit mode is not very big). So, to reproduce, you have to set the Color qualify in Control Panel > Display > Settings to 16 bit. OK to WONTFIX or NOT_ECLIPSE for displays < 32 bit. [1] Presentation Director: A tool that screws up the screen resolution and window bounds when you dock/undock the laptop.
*** Bug 322328 has been marked as a duplicate of this bug. ***
Not sure if bug 322328 is really a dup of this. This bug turned out to be a 16-bit-only problem, which only affects the Tree widget, but not Table. Bug 322328 is about applying the fix for bug 314416 for Tree as well.
(In reply to comment #8) This is the openning description: "Checkboxes in disabled Tree should not keep white background (should be gray)." I see this problem on my machine (32bits). Or where you refering exclusively to the white border around of the check box ?
(In reply to comment #9) > Or were you refering exclusively to the white border around of the check box? Yes, I didn't even know that the background inside the checkbox can also be gray. I don't care too much about this bug (since 16-bit is a rare case), but I don't like the inconsistency between tables and trees in HEAD.
Applying the same fix used in table doesn't work for the Tree. WM_NOTIFY/TVN_GETDISPINFO does not request info about the state image mask on the Tree.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.