Recent

Author Topic: Cocoa panel.bringtofront not working  (Read 2397 times)

josh

  • Hero Member
  • *****
  • Posts: 754
Cocoa panel.bringtofront not working
« on: November 17, 2017, 02:17:49 am »
Hii

Just updated lazarus trunk to latest, and done a quick test on TPanel.

When targeting cocoa 64 the tpanel.bringtofront does not work.

Samme app run on Carbon, Windows etc work as expected.

Sample app attached, if you click a panel the label changes to tell you the panel and brings the panel to front; but not on cooca.

Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

ChrisR

  • Jr. Member
  • **
  • Posts: 83
Re: Cocoa panel.bringtofront not working
« Reply #1 on: November 28, 2017, 12:16:45 am »
Well spotted. Thanks for the elegant demonstration program. I tested this and the issue still exists with the latest SVN 56511. I took the liberty of filing a bug report for you:
   https://bugs.freepascal.org/view.php?id=32741

By the way, your signature says you use Lazarus 1.3 - I assume you have simply not updated your signature as 1.3 was a long time ago.