News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

wxWidgets 2.6.3 and C::B, menu problems and STILL the images-not-changing-state

Started by Conan Kudo, May 07, 2006, 05:18:54 PM

Previous topic - Next topic

sethjackson

Quote from: PChris on May 08, 2006, 02:38:47 PM
@ Devs:We can cut support for 16x16 Icons. They are buggy and useless anyway...

Noooo..... Fixing the problem is a better solution......

kkez

QuoteI'll tell you right now that it doesn't help to do a full rebuild! Unfortunately, there is no clue to why this happens, what is causing it, and how to fix it...
It's just a matter of images and how they are grayed... if you resize the 22x22 version of filesave.png to 16x16 and replace it inside the "16x16" folder of resources.zip (share/CodeBlocks), then restart C::B, you can see that this image is still grayed correctly.
So, we can replace the icons images or find a better graying algorithm.

PChris

Quote from: kkez on May 08, 2006, 06:23:57 PM
QuoteI'll tell you right now that it doesn't help to do a full rebuild! Unfortunately, there is no clue to why this happens, what is causing it, and how to fix it...
It's just a matter of images and how they are grayed... if you resize the 22x22 version of filesave.png to 16x16 and replace it inside the resources.zip inside the "16x16" folder (share/CodeBlocks), then restart C::B, you can see that image is still grayed correctly.
So, we can replace the icons images or find a better graying algorithm.
You might be right, but we were talking about the issue described here: http://forums.next.codeblocks.org/index.php?topic=3051.msg24216#msg24216
I don't think it has anything to do with the graying algorithm.

kkez

Quote from: PChris on May 08, 2006, 06:27:20 PM
Quote from: kkez on May 08, 2006, 06:23:57 PM
QuoteI'll tell you right now that it doesn't help to do a full rebuild! Unfortunately, there is no clue to why this happens, what is causing it, and how to fix it...
It's just a matter of images and how they are grayed... if you resize the 22x22 version of filesave.png to 16x16 and replace it inside the resources.zip inside the "16x16" folder (share/CodeBlocks), then restart C::B, you can see that image is still grayed correctly.
So, we can replace the icons images or find a better graying algorithm.
You might be right, but we were talking about the issue described here: http://forums.next.codeblocks.org/index.php?topic=3051.msg24216#msg24216
I don't think it has anything to do with the graying algorithm.
Well, you said "disable 16x16 images [cut]", but how are 16x16 images connected to the problem you said you were talking about? I'm talking about that too...

Anyway, talking about your problem: i can't reproduce it. Can you please post all the steps you did to reproduce it? I already have wx version 2.6.3, last nbuild

PChris

I did a clean build of wx 2.6.3 patch2 (which might be important), then I did a clean build of C::B (the latest svn).
Then I started C::B, set the icon size to 16x16, and I closed it.
I fired up C::B again, but before it finished loading, I immediately focused Firefox. After C::B fully loaded itself (in the background) I switched to C::B, and there was, what I saw.

PChris

Quote from: kkez on May 08, 2006, 06:42:05 PM
Well, you said "disable 16x16 images [cut]", but how are 16x16 images connected to the problem you said you were talking about? I'm talking about that too...

Maybe I expressed myself in a bad way, sorry for it, my mother language is not english ;)