[Lazarus] Lazarus Second Release Candidate, 1.2RC2

Kostas Michalopoulos badsectoracula at gmail.com
Sat Jan 25 19:26:03 CET 2014

I noticed that the behavior of separatators and dividers in TToolbar
changed so that it now draws two lines for separators while previously
it only left some space... i do not think this is a good thing -
actually i initially i thought it was a bug and tried to dig in the
code to see why it happens, which is how i saw the comment about it
actually being intentional.

IMO the two lines look bad visually (i noticed them in the SVN version
and thought they were just a temporary bug that someone certainly will
notice and fix so i didn't mentioned them here) since in many themes
the divider's style is already made of two lines forming a relief. I
think that if something has to be shown there, it should be a single
centered line with bigger padding, which is at least visually distinct
from the separator. But in addition to that, changing this behavior
loses the previous ability for adding empty space between the buttons
(it can be "hacked" by adding a disabled button without label or
icon... but imo it is an ugly hack), so an extra style for empty space
should be added.

Alternatively restoring the previous behavior with an option in the
TToolbar to show separators in flat styled toolbar could be added
(although i'd suggest to avoid the double separators, they really look
ugly in my opinion :-P).

On Sat, Jan 18, 2014 at 10:15 PM, William Oliveira Ferreira
<bdexterholland at gmail.com> wrote:
> as I said, I'm just a user of the feature, I don't really know what
> implications can came with this change. Today, if you change debug profile
> to another that doesn't generate that file, the compiler doesn't ignore it?
> Here, I tested (Lazarus 1.0.14 r43446 FPC 2.6.2 i386-win32-win32/win64) with
> an old project that have 2 build modes and one of them doesn't generate any
> debug symbols. Lazarus has just ignored my break points. Lazarus doesn't
> removed my debug file. Could this be a hint that external debug symbols
> could be used without issues?
> 2014/1/18 Reinier Olislagers <reinierolislagers at gmail.com>
>> On 18/01/2014 14:18, William Oliveira Ferreira wrote:
>> > 2014/1/16 Martin <lazarus at mfriebe.de <mailto:lazarus at mfriebe.de>>
>> >
>> >     What happens, if you have an external info file, and rebuild the exe
>> >     (but without creating new debug info)? Will the wrong info be
>> >     applied? Or will it be ignored?
>> >
>> >
>> >
>> >
>> >
>> > well, i think this issue affects expecially the IDE users and I
>> > wondering that lazarus always make their way to rebuild that file
>> I don't quite understand your answer.
>> AFAIU, Martin is describing this scenario:
>> 1. You build a project with external gdb info file
>> 2. You change the settings (or choose a different build mode) so it does
>> not generate an external gdb info file, but do not remove the existing
>> gdb info file
>> 3. You change the code and recompile, generating a new executable (and
>> now the gdb info file and executable are out of sync)
>> Are you saying the gdb info file will be ignored? If so, that is good to
>> know.
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> --
> ________________________________
> William de Oliveira Ferreira
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

More information about the Lazarus mailing list