Sign in Join

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

Mailing lists / lazarus / 2008-09

Problem with tabs (bug more urgent than shown in Mantis)

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

John Stoneham

Bug 0012068 concerns selecting a tab in the IDE editor (Carbon build), and that sometimes the page does not change when selecting the tab for the page. The target version for the bug is => 1.0. However, the bug is more prevalent than just affecting the IDE. Programs created with tabs and tab pages have the same bug (on Carbon), and it's especially pronounced when a tab has sub-tabs and pages. I indicated this in a note attached to the bug on Mantis, but I wanted to draw attention to it on the list, since I believe the target version should be 0.9.28 (if not 0.9.26). Since it affects programs created with Lazarus and not just the IDE, this bug should definitely NOT be delayed until after 1.0.

Here's the link to the bug on Mantis:
http://mantis.freepascal.org/view.php?id=12068

_| ( ) |-| |\| -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080925/bfd2ace5/attachment.html

Reply by email

Tom Gregorovic
to John Stoneham: Bug 0012068 concerns selecting a tab in the IDE editor (Carbon build), and that sometimes…

2008/9/25 John Stoneham :

Show quoted text 14 lines
Bug 0012068 concerns selecting a tab in the IDE editor (Carbon build), and that sometimes the page does not change when selecting the tab for the page. The target version for the bug is => 1.0. However, the bug is more prevalent than just affecting the IDE. Programs created with tabs and tab pages have the same bug (on Carbon), and it's especially pronounced when a tab has sub-tabs and pages. I indicated this in a note attached to the bug on Mantis, but I wanted to draw attention to it on the list, since I believe the target version should be 0.9.28 (if not 0.9.26). Since it affects programs created with Lazarus and not just the IDE, this bug should definitely NOT be delayed until after 1.0. Here's the link to the bug on Mantis: http://mantis.freepascal.org/view.php?id=12068

It is second duplicate of the same issue
http://mantis.freepascal.org/view.php?id=11741 which is targeted 0.9.28 as you can see.
It is really complex and annoying bug, so it is not very funny finding fix for it.

Tom Gregorovic

Reply by email

mitya boyarintsev
to mitya boyarintsev

before applying the patch. the bug can be reproduced in the following way:

procedure TForm1.Button1Click(Sender: TObject);
var
  t : TTabSheet;
begin
  t := TTabSheet.Create(PageControl1);
  t.Caption := 'New Page';
  t.PageControl := PageControl1;
  PageControl1.ActivePage := t;
end;

if you add a page to pagecontrol and set the new page as Active, click back to the previosly selected page is no success.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080926/6e05650e/attachment.html

Reply by email