Recent

Author Topic: Cocoa Application not working from bundle.  (Read 9467 times)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Cocoa Application not working from bundle.
« Reply #15 on: September 18, 2018, 02:56:02 pm »
try to update to r59059
it should be stable for you.

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: Cocoa Application not working from bundle.
« Reply #16 on: September 18, 2018, 05:27:02 pm »
Hi Just Removed My Installation and created a completely New LAZ, upated to 59063

Problem of menu options appeearing behind other still exists, Project Options appears behind sorce editor.

If I remove your app bundle so I can create a new one, I get confirmation the its created the bundle, clicking ok causes Laz to Exit without error.

Launching the created app bundle, causes an error. launching the executable works. 

The best way to get accurate information on the forum is to post something wrong and wait for corrections.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Cocoa Application not working from bundle.
« Reply #17 on: September 18, 2018, 05:39:58 pm »
Hi Just Removed My Installation and created a completely New LAZ, upated to 59063
no need to be that radical! seriously

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: Cocoa Application not working from bundle.
« Reply #18 on: September 18, 2018, 09:29:22 pm »
Laz rev 59063 and 59064 on Cocoa
OPM not working, crashing out when building.
Manually adding in package, crashes out when building IDE.
Most modal dialog of ide are not brought to the front, which causing problems.
IDE Not useable.

I have used Onyx to clear all caches etc.

Checking every few hrs for any laz updates
« Last Edit: September 18, 2018, 10:28:26 pm by josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: Cocoa Application not working from bundle.
« Reply #19 on: September 19, 2018, 03:03:15 pm »
Update

Now running svn 59081.
this has same issues as starting svn 59053, as though behaviour has been reverted.
Any Modal Stuff, showmessage dialog stuff placed in OnActivate event causes app to not show/crash.
Only work around that is working at present is not to use the OnActivate and Use the OnSHow Event.

Also svn59081 still has the issues of menu options etc not being shown in front; so ar hidden underneath the source or form

The best way to get accurate information on the forum is to post something wrong and wait for corrections.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Cocoa Application not working from bundle.
« Reply #20 on: September 19, 2018, 03:43:14 pm »
Now running svn 59081.
this has same issues as starting svn 59053, as though behaviour has been reverted.
Any Modal Stuff, showmessage dialog stuff placed in OnActivate event causes app to not show/crash.
Only work around that is working at present is not to use the OnActivate and Use the OnSHow Event.
That's expected. The latest revision simply reverts the changes done and restores the original functionality.

Also svn59081 still has the issues of menu options etc not being shown in front; so ar hidden underneath the source or form
This it not expected. The behavior must have been caused by some other changes (maybe not in Cocooa)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Cocoa Application not working from bundle.
« Reply #21 on: September 20, 2018, 06:16:15 am »
Any Modal Stuff, showmessage dialog stuff placed in OnActivate event causes app to not show/crash.
the bitter pill is in place! check out yourself!

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: Cocoa Application not working from bundle.
« Reply #22 on: September 20, 2018, 08:10:14 pm »
rev 59094

ShowMessage Dialog in onactivate still causing exec in bundle to not display or crash.

IDE menu still under other forms, ie run->clean and build  is not on top. Tools->Config Build Laz

ide using Dark Theme, i am getting sporadic crashes of IDE ( spinning wheel, 99% cpu) when resizing ide windows; mainly on object inspector..  Turning off dark theme no such error.



The best way to get accurate information on the forum is to post something wrong and wait for corrections.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Cocoa Application not working from bundle.
« Reply #23 on: September 20, 2018, 09:00:02 pm »
rev 59094

ShowMessage Dialog in onactivate still causing exec in bundle to not display or crash.
What's the error log?
how does "Services" menu look like?

IDE menu still under other forms, ie run->clean and build  is not on top. Tools->Config Build Laz

ide using Dark Theme, i am getting sporadic crashes of IDE ( spinning wheel, 99% cpu) when resizing ide windows; mainly on object inspector..  Turning off dark theme no such error.
No need to mix issues.
« Last Edit: September 20, 2018, 09:01:46 pm by skalogryz »

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Cocoa Application not working from bundle.
« Reply #24 on: September 22, 2018, 07:38:02 pm »
ShowMessage Dialog in onactivate still causing exec in bundle to not display or crash.
please bug-report the issue.
There's no an easy fix (I reverted the hack applied previously)

Without the bug-report the issue could be left forgotten.
I'm planning to stop cocoa development (for the next couple of months or more) starting the next week.

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: Cocoa Application not working from bundle.
« Reply #25 on: September 28, 2018, 03:32:13 pm »
I'm planning to stop cocoa development (for the next couple of months or more) starting the next week.

 :'( Your contributions are greatly appreciated! I hope you will be back soon after the break.
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Cocoa Application not working from bundle.
« Reply #26 on: September 30, 2018, 10:12:08 pm »
:'( Your contributions are greatly appreciated! I hope you will be back soon after the break.
it's not actually a break. it's a second job

MISV

  • Hero Member
  • *****
  • Posts: 783
Re: Cocoa Application not working from bundle.
« Reply #27 on: September 30, 2018, 10:19:30 pm »
You have been an app saver skalogryz (which is a big thing for me) - without you I think many would have been dead-in-water on Mac.

Do you have any blog or similar where one can follow you?

Actually that goes for all core Lazarus members (and larger framework contributors) - you should have a profiles section where all this information is listed  :)







« Last Edit: September 30, 2018, 10:36:24 pm by MISV »

 

TinyPortal © 2005-2018