Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: bnilsson on October 22, 2006, 02:51:53 pm

Title: Logfiles
Post by: bnilsson on October 22, 2006, 02:51:53 pm
At CB startup I get a small yellow popup windows saying that there were startup errors.
Lately, Messages does not show anything, while a few revisions ago it logged the startup process such as loading plugins, etc.
How can I turn this on  again?

The popup window says I should "review them in the logs."

Where can I find the logfiles?


I am using CB rev 3125.


Title: Re: Logfiles
Post by: bnilsson on October 22, 2006, 04:12:01 pm
Just found that the Messages tabs are not visible on my platform.
The bug is reported.
My question about logfiles location remains.
Title: Re: Logfiles
Post by: MortenMacFly on October 22, 2006, 04:54:22 pm
Just found that the Messages tabs are not visible on my platform.
Please guys, don't be so fast with reporting "bugs". This is no bug! I bed that you have just missed to scroll the message pane towards the log messages. See in the image I have attached. press the "button" with the arrow to the left and you'll see the log messages.
Please, such obvious "bugs" the devs would surely realise quickly - thus, first report here and ask for help and then (if there is no help offered or this has been agreed to be a bug) report to BerliOS.
With regards, Morten.

[attachment deleted by admin]
Title: Re: Logfiles
Post by: bnilsson on October 22, 2006, 06:28:01 pm
I persist, this is a bug. My Messages do not look like yours. No button.
I would like to show you an image here, but I do not know how.
So try this link:
http://medlem.spray.se/bengtnilsson11/Messages.jpg

Title: Re: Logfiles
Post by: bnilsson on October 22, 2006, 06:43:11 pm
Testing to attach the image below.
I think the reason that this one got unnoticed is that it may be specific to Mac.


[attachment deleted by admin]
Title: Re: Logfiles
Post by: David Perfors on October 22, 2006, 07:17:27 pm
It looks like wxFlatNotebook doesn't support mac very well...
Title: Re: Logfiles
Post by: MortenMacFly on October 22, 2006, 07:58:27 pm
It looks like wxFlatNotebook doesn't support mac very well...
I believe this, too. BTW: The left and right buttons are there... but nearly invisible - agreed on that. ;-) I'd like to ask bnilsson to file a bug report to the author of wxFlatnotebook, too. This would be of help.
With regards, Morten.
Title: Re: Logfiles
Post by: bnilsson on October 22, 2006, 08:34:43 pm
I'd be happy to do that.
By what means, what forum?
Title: Re: Logfiles
Post by: MortenMacFly on October 22, 2006, 09:57:48 pm
By what means, what forum?
It's here: http://sourceforge.net/projects/wxflatnotebook (http://sourceforge.net/projects/wxflatnotebook).
BTW: Eran (the author of this library) is also reader of this forum (usually). Maybe he recognised this thread already...?! Anyway - it's best to report that issue to him - he should have the most inside.
With regards, Morten.
Title: Re: Logfiles
Post by: bnilsson on October 22, 2006, 11:10:33 pm
I was looking inside wxFlatnotebook.cpp and tried this:

#ifdef __WXMAC__
   // On MAC the tabs are should be larger
   tabHeight += 16;
#endif

and actually got a tab to show. See the image. However, tabs are not distributed as they should be, only one shows at a time. But it is possible to toggle between tabs using the arrow buttons.

It is definitely beyond me at this point to fix the problem completely, and I don't believe I should either for that matter. But it is enough for me to get by, for a while at least.

If the author doesn't have a Mac available, maybe I can help him to fix it. But that's another story.


 

[attachment deleted by admin]
Title: Re: Logfiles
Post by: Game_Ender on October 23, 2006, 06:26:13 am
The author does not have a mac available, so he probably needs your help.  It appears some controls report different sizes of Mac vs. GTK or MSW.
Title: Re: Logfiles
Post by: killerbot on October 24, 2006, 11:49:42 pm
tomorrow I will merge in some changes to wxFlatNoteBook from eranif's cvs reposotory, specific to make things look better on Mac. So keep an eye on tomorrow's nightly and please report back on what you will see.
Title: Re: Logfiles
Post by: bnilsson on October 25, 2006, 12:29:39 am
I just informed eranif about the importance of tab height +=18 in Init() for __WXMAC__
Please check if it is there.