Code::Blocks

User forums => Using Code::Blocks => Topic started by: earlgrey on November 01, 2014, 05:04:36 pm

Title: "Logs & others" window => "Build messages" => "Message" column auto-resizing
Post by: earlgrey on November 01, 2014, 05:04:36 pm
Hello,

Every time I compile, that column auto-resizes itslef so I have to manually re-enlarge it. See the green & red circles on the images below.

BEFORE COMPILATION >>>

(https://i.imgur.com/PQktTiV.png)

AFTER COMPILATION >>>

(https://i.imgur.com/u2U8MeM.png)

Title: Re: "Logs & others" window => "Build messages" => "Message" column auto-resizing
Post by: Bat on November 01, 2014, 07:31:17 pm
If you right clic on a line, there is a popup menu where "auto fit" can be enabled
(http://batcerise.no-ip.com/ro/image4.gif)

Note :
I don't know if lost of colum size is wanted by design or is a bug(my opinion), if autofit is not enabled
Autofit will occur at end of build stage. If you asked for compile+run, run message will not be treated by autofit
Title: Re: "Logs & others" window => "Build messages" => "Message" column auto-resizing
Post by: oBFusCATed on November 01, 2014, 08:00:24 pm
Is definitely a bug... it seems that at the start of the build there is some wrong auto-fit that happens.
Title: Re: "Logs & others" window => "Build messages" => "Message" column auto-resizing
Post by: earlgrey on November 02, 2014, 08:34:21 am
Shame on me that I did not notice the "autofit" feature since years I have been using C::B.
Title: Re: "Logs & others" window => "Build messages" => "Message" column auto-resizing
Post by: Alpha on November 03, 2014, 12:44:03 am
The patch that restricts autofit to maximum once per every three seconds (drastically improving build times when there are lots of compiler messages) is causing this side effect by fitting to the first line of output.  Ideally, the compiler plugin should additionally execute autofit one last time after a build finishes...
Title: Re: "Logs & others" window => "Build messages" => "Message" column auto-resizing
Post by: oBFusCATed on December 07, 2014, 11:05:16 am
This issue should be fixed in the latest SVN HEAD.
Please test and report any problems.
Title: Re: "Logs & others" window => "Build messages" => "Message" column auto-resizing
Post by: Bat on December 15, 2014, 10:31:09 pm
I've used it for a few day. Just to say I haven't noticed any annoyance. So it's better (for me) than before.