Recent

Author Topic: Lazarus Bug on Mac OSX Sierra  (Read 5761 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Lazarus Bug on Mac OSX Sierra
« on: January 22, 2017, 09:33:39 pm »
Hello guys, I have two problems with Lazarus of sierra that with el capitan did not happen.

1: When I open the TDateEdit calendar and click on a day I did not change the value. So it is impossible to change the days of there.

2: When I open a dialog to choose a file (like when I open a .lpi project file) opens a shaped wheel rainbow and stops me the whole IDE
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

mischi

  • Full Member
  • ***
  • Posts: 170
Re: Lazarus Bug on Mac OSX Sierra
« Reply #1 on: January 22, 2017, 10:55:36 pm »
I do not know about topic 1.

Topic 2 is a known bug. see bugtracker, issue 0029911 (http://bugs.freepascal.org/view.php?id=29911). The file lazarus/lcl/interfaces/carbon/carbonwinapi.inc needs to be patched and lazarus recompiled.

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: Lazarus Bug on Mac OSX Sierra
« Reply #2 on: January 24, 2017, 08:30:27 am »
Thank you for this:

"Topic 2 is a known bug. see bugtracker, issue 0029911 (http://bugs.freepascal.org/view.php?id=29911). The file lazarus/lcl/interfaces/carbon/carbonwinapi.inc needs to be patched and lazarus recompiled."

 ;D
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

DioRich

  • New Member
  • *
  • Posts: 11
Re: Lazarus Bug on Mac OSX Sierra
« Reply #3 on: May 10, 2017, 10:23:55 pm »
Hi I have the same problem with TDateEdit when i click on a date it will not accept the click and remains blank I am using a mac it works fine on my windows machine and on my linux machine just won't work on the mac anyone have any ideas ?

mischi

  • Full Member
  • ***
  • Posts: 170
Re: Lazarus Bug on Mac OSX Sierra
« Reply #4 on: May 27, 2017, 01:09:32 pm »
Check the bug tracker as mentioned above. Patch the file and recompile the lcl. Please report, whether this fixes it or not.

emaijala

  • Newbie
  • Posts: 2
Re: Lazarus Bug on Mac OSX Sierra
« Reply #5 on: June 03, 2018, 08:55:13 pm »
I know, this is about a year late, but here goes for the first issue..

It seems that TCalendarPopupForm.CalendarDblClick used to accept cpNoWhere from Calendar.HitTest, but it's now commented out, so a proper hit is required. TCarbonWSCustomCalendar.HitTest, however, hasn't been implemented and always returns cpNoWhere from the base class. The quick fix is to remove the comment markers {} from TCalendarPopupForm.CalendarDblClick, but there's probably a reason why it was removed..

ozznixon

  • Full Member
  • ***
  • Posts: 119
    • http://www.modernpascal.com/
Re: Lazarus Bug on Mac OSX Sierra
« Reply #6 on: June 03, 2018, 09:20:46 pm »
I can confirm #1 is legit issue.

I build a "What do the components look like on Windows, Linux and Mac"... included everything from Standard, Addition, Common, Misc, and Laz.

TDateEdit, when you click the Calendar Button - the Calendar renders with correct information. Click, DblClick, Enter, nothing will make the popup Calendar close and return the selected date.

Now, TDateTimePicker, when you click on the dropdown to see the Calendar, the Calendar flashes up and closes instantly.

This same project runs on Windows and Linux without issue.
---
Want to kick the tires to a Free Pascal like script engine? http://www.ModernPascal.com/

 

TinyPortal © 2005-2018