News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

rev 9137 causes C::B to use common controls 6.0.0

Started by golgepapaz, June 14, 2013, 09:25:06 AM

Previous topic - Next topic

golgepapaz

Manifest files introduced with the change makes C::B use common controls 6.0.0 (probably)
it looks ugly.To be sure I've checked it with the latest nightly build 9156 http://forums.next.codeblocks.org/index.php/topic,18034.0.html

How did this go unnoticed or is it just me?

Screenshots
pre 9137



after 9137




MortenMacFly

...confirmed. I'll look into it. The actual idea was to be natively compatible with Windows 7/8.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MortenMacFly

Quote from: MortenMacFly on June 14, 2013, 10:37:54 AM
...confirmed. I'll look into it. The actual idea was to be natively compatible with Windows 7/8.
Just a quick note: Its not as easy as it seems. Usually this really should work - it works just fine in several other applications. So the manifest/resource file is not the issue. I'm afraid one of our hacks (maybe the one to achieve debugging privileges on Windows) screws it. It was wrong all the time, just it becomes visual now.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Biplab

Following lines are commented in resource.rc file (see line no 65 onwards).
/*
  #if defined(WX_CPU_AMD64)
    wxMANIFEST_ID RT_MANIFEST "amd64.manifest"
  #elif defined(WX_CPU_IA64)
    wxMANIFEST_ID RT_MANIFEST "ia64.manifest"
  #elif defined(WX_CPU_X86)
    wxMANIFEST_ID RT_MANIFEST "x86.manifest"
  #else
    #warning No platform defined! Unable to embed manifest file.
  #endif
*/


As a result no manifest file is being embedded in codeblocks.exe file.
Be a part of the solution, not a part of the problem.

MortenMacFly

Quote from: Biplab on June 16, 2013, 02:47:17 PM
As a result no manifest file is being embedded in codeblocks.exe file.
Yes, I've seen this meanwhile (I wasn't looking at the resource file in the first place, just at the manifest files). It was commented because it was wrong. I've fixed it properly in SVN head now.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]