@mar1n3r0 said in How to contact core developer team when Telegram is inaccessible?:
Just found out the Matrix rooms but it seems the core dev team is not there.
You can try to reach them here maybe, or gitlab ?.
@mar1n3r0 said in How to contact core developer team when Telegram is inaccessible?:
Just found out the Matrix rooms but it seems the core dev team is not there.
You can try to reach them here maybe, or gitlab ?.
@WillemHexspoor
do you have something "not standard" on your phone ?.
I did upgrade to Noble via the setting update, also had the logo stuck ( which i bypass with a hard reboot ), but then no issues afterward.
@shano said in Why is upstart still a dependency in lomiri-ui-toolkit and how do you go around it?:
@lduboeuf How do you build?
the last time i did it was with crossbuilder:
https://github.com/ubports/crossbuilder
Or when changing small QML part i do it directly in the phone
@shano said in Why is upstart still a dependency in lomiri-ui-toolkit and how do you go around it?:
@lduboeuf This is another package with its own dependencies different from lomiri itself.
https://gitlab.com/ubports/development/core/lomiri/-/blob/main/debian/control?ref_type=heads
I am building from https://github.com/ubports/ubports-pdk
ok, never tried from the pdk, but you can remove all that part i guess
@vverve said in Some notifications of apps missing under 24.04-1.0:
Oh , did not know of that feature , oneplus n10 5g 24.04-1.0 daily does not show a ''bubble'' on message app icon ,
if i does understand that it should , or either remember if it did in the past & i use UT for last 3 weeks only .
Just fixed, should be on next devel
@shano Maybe you are building Lomiri from another OS ?. I don't remember having issue with it ,
Here is the debian version, they have just strip it:
https://salsa.debian.org/ubports-team/lomiri/-/blob/master/debian/control
@shano said in Why is upstart still a dependency in lomiri-ui-toolkit and how do you go around it?:
Seems like this is the last culprit for me to start contributing to the development of Lomiri.
The reason I am posting here and not in Telegram is because I prefer to have those clear and sorted for anyone joining after me so that we have some kind of up to date wiki of issues and how to resolve them.
You can bypass that package meanwhile. But weird indeed it keeps upstart, a work is being done to move Toolkit to Qt6, i guess this is removed there
@pparent said in Send notification locally from QT/C++/QML App.:
Ok in this version of whatsweb I have the notifications working without being unconfined, and it gets to the system panel! (Provided the app is not suspended in background)
https://github.com/pparent76/whatsweb/tree/778f2302414f75029b22ea42a136fce3440f7a29
congrats for your perseverance. Now you are in the perfect situation to update or create a documentation
@pparent said in Send notification locally from QT/C++/QML App.:
By the way intersting thing to note, having teleports and dekko installed
This does not do anything (but does not throw any error)
gdbus call --session --dest com.lomiri.Postal --object-path /com/lomiri/Postal/teleports_2eubports --method com.lomiri.Postal.Post teleports.ubports_teleports '{"message": "foobar", "notification":{"card": {"summary": "yes", "body": "hello", "popup": true, "persist": true}}}'
This triggers a notification
gdbus call --session --dest com.lomiri.Postal --object-path /com/lomiri/Postal/dekko2_2edekkoproject --method com.lomiri.Postal.Post dekko2.dekkoproject_dekko '{"message": "foobar", "notification":{"card": {"summary": "yes", "body": "hello", "popup": true, "persist": true}}}'
Why?
dekko is unconfined, teleports not....
@AmauryDBZ said in Battery saver on 24.04:
Hello @lduboeuf , I just installed 24.04 after wiping all data.
When I launch your battery saver it closes right away with this log :[02/10/2025 15:48] library "eglSubDriverAndroid.so" not found [02/10/2025 15:48] Creating a QMirClientScreen now [02/10/2025 15:48] file:///opt/click.ubuntu.com/batterysaver.lduboeuf/1.8.0/qml/Main.qml:25 module "MeeGo.QOfono" is not installed
Thanks for your help
Cool, you are the perfect tester, could you try this version: ( extract archive and open the .click with openstore )
@pparent said in Send notification locally from QT/C++/QML App.:
No but I mean even with good documentation I don't see any reason why you need to create/edit 10 files, with many possibilities to make a mistake, to send a notification.
To my mind it should be as simple as something [NOT WORKING EXAMPLES]
import Lomiri.Notifications 1.0 ..... LomiriNotify("title","body");
or
#include <Lomiri/notifications> ..... LomiriNotify("title","body");
Possibly changing the apparmor profile, to add a notification profile, but nothing more.
Yes, just someone who need to do that ^ ^, but we have also the confinement model which makes it more difficult. Hope you will find something that fit our needs.
Now Qt have made a wrapper for notification, but this doesn't work on our platform yet: https://doc.qt.io/QtApplicationManager/qml-qtapplicationmanager-notification.html#details
I don't understand well also all that stuff, especially https://gitlab.com/ubports/development/core/lomiri-push-service/-/blob/main/docs/highlevel.txt#L51 , why an app would need to receive a notification? We just want as you said to send a notification
https://gitlab.com/ubports/development/core/lomiri-push-service/-/blob/main/docs/lowlevel.txt
@pparent
Maybe you will need a version bump in your manifest.
@pparent said in Send notification locally from QT/C++/QML App.:
Thank's
I've added all the required files:
https://github.com/pparent76/whatsweb/commit/4be3c40fa6e692b2c6331dff771f169a829634f2
It does not work any better.....
Really I don't understand how this can get so insanely complex for something as basic as send a notification... It sure will not help app development on the platform.
Maybe you will write a HowTo and find that was not so complex later
The hard part is gathering informations, find the good doc and examples.
I've quickly looked at your repo, you are missing all the config files needed, even if the example is in QML, it shows the config needed https://docs.ubports.com/en/latest/appdev/guides/pushnotifications.html
Also Teleport App use Postal too:
https://gitlab.com/ubports/development/apps/teleports/
@pparent said in Send notification locally from QT/C++/QML App.:
Thank you but what I don't understand, is the even being unconfined I cannot get it to work by calling Postal via dbus, even when copying dekko code. It only kind of works with libnotify, but does not make its way into the system tray.
I honestly think the notification system should be way easier for app developers, it's a basic feature.
Yes indeed, but popup notification is not the same than indicator messge. the former is based on the freedesktop spec the other is a custom recipe.
I don't know why it would not work by being unconfined, maybe something to do with the appid ?
This CLI method seems to do the job
gdbus call --session --dest com.lomiri.Postal --object-path /com/lomiri/Postal/dekko2_2edekkoproject --method com.lomiri.Postal.Post dekko2.dekkoproject_dekko '"{"message": "foobar", "notification":{"card": {"summary": "yes", "body": "hello", "popup": true, "persist": true}}}"'
I guess that to work, app need some configs via files like in dekko
i'm not sure also how it works for calendar app ( which is confined app) but there is some push-notification configs there: https://gitlab.com/ubports/development/apps/lomiri-calendar-app
But the notificzation is not done by the app itself but from the datetime indicator iirc
https://github.com/AyatanaIndicators/ayatana-indicator-datetime/blob/main/src/notifications.cpp
I'm not sure if you can use the indocator message without being unconfined or without using the Postal, or app armor tuning
Maybe one way to make sure is monitoring dbus (dbus-monitor --session) when a persistant message hppen, it could be a calendar event remnder and see what is happening, which method is called.