Page 1 of 1

missing my App in recent Apps in Dock

Posted: Fri Jul 22, 2022 9:36 pm
by Wolfram
Why are all my Programs not listed as recent app in the Dock, but in the Apple menu ->Recent objects ?

Re: missing my App in recent Apps in Dock

Posted: Sun Jul 24, 2022 10:11 am
by deseven
Seems to be working for me.
Do they all have a unique app ID?

Re: missing my App in recent Apps in Dock

Posted: Sun Jul 24, 2022 1:01 pm
by Wolfram
I don't think it is a problem of the info.plist file.
Just to be sure. Since a few years the macOS Dock keeps the last three Apps stored even if they are not running anymore.
My Apps are shown in the Dock, but only till I quit them.

Can someone finish this simple code to shown as recent App in the Dock please?

Code: Select all

Global Window_0, Button_0


Procedure myWindowEvents(event)
  Select event
    Case #PB_Event_CloseWindow
      ProcedureReturn #False

    Case #PB_Event_Menu
      Select EventMenu()
	Case #PB_Menu_Quit
          ProcedureReturn #False
      EndSelect

    Case #PB_Event_Gadget
      Select EventGadget()
        Case Button_0
          ProcedureReturn #False
      EndSelect
  EndSelect
  ProcedureReturn #True
EndProcedure

  Window_0 = OpenWindow(#PB_Any, 0, 0, 450, 160, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  Button_0 = ButtonGadget(#PB_Any, 160, 50, 130, 25, "quit")

Repeat
  event = WaitWindowEvent()
Until myWindowEvents(event) = #False

Re: missing my App in recent Apps in Dock

Posted: Thu May 29, 2025 5:33 pm
by Wolfram
I'm not sure if we talk about the same behaviour.
In the Dock, on the right side are the tree last recent / suggested apps listed after they quit.
My apps are not in this list after they quit.
Can someone tell me why?