[Lazarus] Just curious: Source Editor's caption changes at runtime (Linux/GTK2/KDE)

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Oct 24 09:01:58 CEST 2011



On Mon, 24 Oct 2011, Martin wrote:

> On 24/10/2011 00:11, Bart wrote:
>> Hi,
>> 
>> Some time ago I noticed that my source editor's caption changed form
>> "Source Editor" to "Source Editor<2>", and then it would change back
>> again.
> angel brackets <> ? Not round ones () ?
>
>> (I think it is a feature of my WM to add<2>  to the caption of the
>> window, if another window with the same caption already exists. I use
>> KDE and have Lazarus built for GTK2)
>> 
>> However, I never saw 2 instances of the source editor.
>> 
>> Then some time later, Lazarus caused some floating point error, and I
>> was offered the choice to exit or continue. I chose continue, and to
>> my surprise I now really had 2 source editors!
> That is odd. Because the new one is only created, after the first one is 
> hidden. So you should not have 2 at that time.
>
> Maybe you have a project, or project default or something that wants 2 
> Source-Editors? So that would cause it to be named "SourceEditor (2)" round 
> brackets.
>
> Lazarus supports multiply open editor windows.

I have noticed the same behaviour at times, but can assure you that I never
open multiple editor windows.

It's not a real problem, just a freakish feature :-)

Michael.




More information about the Lazarus mailing list