Recent

Author Topic: Lazarus restart problem with firefox  (Read 24533 times)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Lazarus restart problem with firefox
« Reply #15 on: June 06, 2009, 01:43:52 pm »
has removed startlazarus.app (from lazarus dir).
launched lazarus, restarted.
still no problems with switching between Lazarus and FF.

how is restart working? by launching startlazarus?

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Lazarus restart problem with firefox
« Reply #16 on: June 06, 2009, 01:46:10 pm »
Yes, with the code we changed in main.pp.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Lazarus restart problem with firefox
« Reply #17 on: June 06, 2009, 01:49:32 pm »
It can't effect application switching.

IndianaJones, could you launch the IDE by the following line:
(from lazarus dir)

./lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS/startlazarus

thanks

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Lazarus restart problem with firefox
« Reply #18 on: June 06, 2009, 01:54:38 pm »
IndianaJones, do you build lazarus from the command line (using make), so that startlazarus is built too, or from the IDE, so that startlazarus may not be up to date?

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: Lazarus restart problem with firefox
« Reply #19 on: June 06, 2009, 02:10:07 pm »

So I deleted and get the svn revision number 20470, compiled as follows:

make clean all

Here is the output of svn information

macosx:~/lazarus [06\06\2009] $ svn st
?      startlazarus
?      lazarus
?      lazbuild
?      components/printers/lib/i386-darwin
?      components/fpweb/lib
?      components/h2pas/lib
?      tools/svn2revisioninc
?      ide/revision.inc

macosx:~/lazarus [06\06\2009] $ svn info
Path: .
URL: http://svn.freepascal.org/svn/lazarus/trunk
Repository Root: http://svn.freepascal.org/svn/lazarus
Repository UUID: 4005530d-fff6-0310-9dd1-cebe43e6787f
Revision: 20470
Node Kind: directory
Schedule: normal
Last Changed Author: mattias
Last Changed Rev: 20470
Last Changed Date: 2009-06-06 14:11:28 +0300 (Sat, 06 Jun 2009)


Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Lazarus restart problem with firefox
« Reply #20 on: June 06, 2009, 02:12:35 pm »
IndianaJones, that looks very clean. :)

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: Lazarus restart problem with firefox
« Reply #21 on: June 06, 2009, 02:18:19 pm »

But very strange, I can switch to other applications but not Firefox.  %)

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: Lazarus restart problem with firefox
« Reply #22 on: June 06, 2009, 02:21:59 pm »

But just one point, when I execute and do not restart, works perfect.
After restarting makes FF or Lazarus dizy.  %)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Lazarus restart problem with firefox
« Reply #23 on: June 06, 2009, 02:25:25 pm »
could you startlazarus from Terminal?

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: Lazarus restart problem with firefox
« Reply #24 on: June 06, 2009, 02:36:39 pm »

I execute startlazarus from Terminal and here is the output.
In this situation, I cant switch to FF again but switch to others. (not doing restart)

macosx:~/lazarus [06\06\2009] $ ./startlazarus
TLazarusManager.Run starting /Users/macintoshmacbook/lazarus/lazarus.app/Contents/MacOS/lazarus ...
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/Users/macintoshmacbook/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
TCarbonMenu.SetCaption Error: ChangeMenuItemAttributes  failed with result -50
TCarbonMenu.SetCaption Error: SetMenuItemTextWithCFString  failed with result -50
TCarbonMenu.Update Error: SetMenuItemHierarchicalMenu  failed with result -50
TCarbonMenu.SetBitmap Error: SetMenuItemIconHandle  failed with result -50
TCarbonMenu.SetVisible Error: ChangeMenuItemAttributes show failed with result -50
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject A
TCustomFormEditor.CreateComponent Form1:TForm1 True
TMainIDE.DoNewEditorFile END unit1.pas
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585
TIDEHelpManager.GetHintForSourcePosition not found
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585
TCarbonTabsControl.SetFocus Error: SetKeyboardFocus  failed with result -30585
TIDEHelpManager.GetHintForSourcePosition not found
^C

IndianaJones

  • Hero Member
  • *****
  • Posts: 509
Re: Lazarus restart problem with firefox [SOLVED]
« Reply #25 on: July 23, 2009, 10:02:42 pm »

So I upgrade to 3.5.1 and now I can switch to Lazarus.
Thanks.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Lazarus restart problem with firefox
« Reply #26 on: July 24, 2009, 09:41:57 am »
Some times i can't make Opera to get the focus from System Preferences (or other Mac apps). I have Opera window maximized, but still i've got System Preference application focused (main menu bar shows SysPref name).
The only way for me to switch the front application is to click on Opera's icon in the Dock.

I wonder if it's common browsers decease to have poor focus switching?! :)

Without proper reproducable test, it's impossible to say, if LCL requires changes.

 

TinyPortal © 2005-2018