Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-06

Multiple editor windows bug

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

Hi List.

I believe i have found a bug when using multiple editor windows in the most recent svn version. I can confirm this exists in both Win32 and Linux (GTk2), but I would like someone else to confirm this too:

1) Start a new project
2) Open a new/existing source file (could be any, eg. FileUtils) in the same editor window.
3) Right click on current editor windows, select "Move to new Window"
4) Select first editor windows again and open another source file (eg. Forms).
5) Now try to close this file again (using Ctrl+F4, right clicking, using the "X"... )

Now the tab page with the closed file should still be present, and opening any further file, closing then again leaves a long list of "dangling" pages.

It is only possible to close these dangling pages again when editor window #2 is closed again.

Kind regards,
Torsten Bonde Christiansen.

ps. if someone can confirm this I will create a bug report in mantis about this.

Martin
to Torsten Bonde Christiansen
Torsten Bonde Christiansen wrote 27 lines
Hi List. I believe i have found a bug when using multiple editor windows in the most recent svn version. I can confirm this exists in both Win32 and Linux (GTk2), but I would like someone else to confirm this too: 1) Start a new project 2) Open a new/existing source file (could be any, eg. FileUtils) in the same editor window. 3) Right click on current editor windows, select "Move to new Window" 4) Select first editor windows again and open another source file (eg. Forms). 5) Now try to close this file again (using Ctrl+F4, right clicking, using the "X"... ) Now the tab page with the closed file should still be present, and opening any further file, closing then again leaves a long list of "dangling" pages. It is only possible to close these dangling pages again when editor window #2 is closed again. Kind regards, Torsten Bonde Christiansen. ps. if someone can confirm this I will create a bug report in mantis about this.

Yes, seems a bug.

introduced somewhere between rev 26007 and rev 26133

Martin
to Martin

fixed

Martin wrote 20 lines
On 15/06/2010 10:32, Torsten Bonde Christiansen wrote: > Hi List. > > I believe i have found a bug when using multiple editor windows in > the most recent svn version. I can confirm this exists in both Win32 > and Linux (GTk2), but I would like someone else to confirm this too: > > 1) Start a new project > 2) Open a new/existing source file (could be any, eg. FileUtils) in > the same editor window. > 3) Right click on current editor windows, select "Move to new Window" > 4) Select first editor windows again and open another source file > (eg. Forms). > 5) Now try to close this file again (using Ctrl+F4, right clicking, > using the "X"... ) > > Now the tab page with the closed file should still be present, and > opening any further file, closing then again leaves a long list of > "dangling" pages. >