Ancestors

Written by Guido Günther on 2024-09-18 at 09:18

It's the small things: If you've been bothered with #calls and #chatty seemingly starting up slowly in #phosh (while most other apps startup fast): I've posted MRs to fix this in chatty and calls (which then also prompted a small fix in phosh). Here's a quick demo of calls before and after the change:

=> View attached media | View attached media

=> More informations about this toot | More toots from agx@librem.one

Written by Elias on 2024-09-18 at 09:24

@agx wow! How? Is it something with how Calls and Chatty are processing the long list of conversations or calls before they manage to show the list on screen?

=> More informations about this toot | More toots from eliasr@librem.one

Written by Guido Günther on 2024-09-18 at 10:21

@eliasr Both were running in the background already but the activation token to tell the compositor: hey, I'm here and should get focus (because phosh said so) was lost in the phosh -> spawns calls -> spawned calls instance notifies "calls daemon" that a window should be shown (and then quits) chain of events. By switching to DBus activation we remove the intermediate calls instance, the token gets passed and the compositor knows that calls is up (same for chatty).

=> More informations about this toot | More toots from agx@librem.one

Written by Guido Günther on 2024-09-18 at 10:27

@eliasr as chatty and calls run as daemon on session startup: so should it be slow for large call histories / room lists we can tweak that by preloading those. @devrtz already optimized that in calls a while back by only loading parts of the history. So basically startup was seemingly slow (although the app was already up) because calls/chatty didn't notify the rest of the system with a valid token

=> More informations about this toot | More toots from agx@librem.one

Written by Guido Günther on 2024-09-18 at 10:32

@eliasr @devrtz …and we need the DBus activation in chatty for push notifications too.

=> More informations about this toot | More toots from agx@librem.one

Toot

Written by Elias on 2024-09-18 at 10:56

@agx @devrtz thanks for explaining, and thanks for doing all this awesome work!

This will mean some significant "quality of life" improvement for me 😃

=> More informations about this toot | More toots from eliasr@librem.one

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113158191481663657
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
279.056113 milliseconds
Gemini-to-HTML Time
1.315519 milliseconds

This content has been proxied by September (3851b).