[haiku-development] Re: Has the shutdown process changed recently?

  • From: "Humdinger" <dmarc-noreply@xxxxxxxxxxxxx> ("humdingerb")
  • To: Development Haiku ML <haiku-development@xxxxxxxxxxxxx>
  • Date: Tue, 01 Nov 2022 14:57:31 +0100

On Tue, 01 Nov 2022 10:23:01 +0100 I wrote:

I just noticed that Clipdinger [1] doesn't save its clip history when 
shutting down Haiku. It does work when 
'manually' quitting the app with ALT+Q. I'm quite sure it used to work on 
shutdown, too...
Has the shutdown process changed recently?

I found out what has changed that Clipdinger doesn't save its history any more:
To avoid an entry in Deskbar's running apps list, and since Clipdinger is a 
sort of invisible system service, it 
has set its "Background app" flag with the last update.
Removing that flag will have Clipdinger save its history once more.

So the question changes to: How differs the shutdown messaging for background 
applications?
How to make sure Clipdinger's QuitRequested() functions are called on shutdown?

Regards,
Humdinger

--
Help translating 3rd party Haiku applications
Go to Polyglot at https://i18n.kacperkasper.pl

Other related posts: