UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. lduboeuf
    3. Posts
    Online
    • Profile
    • Following 0
    • Followers 3
    • Topics 44
    • Posts 1,122
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How to contact core developer team when Telegram is inaccessible?

      @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 ?.

      posted in General
      lduboeufL
      lduboeuf
    • RE: Upgrade to Noble failed

      @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.

      posted in Google Pixel 3a/3a XL
      lduboeufL
      lduboeuf
    • RE: Why is upstart still a dependency in lomiri-ui-toolkit and how do you go around it?

      @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

      posted in Lomiri (was Unity8)
      lduboeufL
      lduboeuf
    • RE: Why is upstart still a dependency in lomiri-ui-toolkit and how do you go around it?

      @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

      https://gitlab.com/ubports/development/core/lomiri-ui-toolkit/-/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

      posted in Lomiri (was Unity8)
      lduboeufL
      lduboeuf
    • RE: Some notifications of apps missing under 24.04-1.0

      @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

      posted in Support
      lduboeufL
      lduboeuf
    • RE: Why is upstart still a dependency in lomiri-ui-toolkit and how do you go around it?

      @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

      posted in Lomiri (was Unity8)
      lduboeufL
      lduboeuf
    • RE: Why is upstart still a dependency in lomiri-ui-toolkit and how do you go around it?

      @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.

      https://gitlab.com/ubports/development/core/lomiri-ui-toolkit/-/blob/main/debian/control?ref_type=heads#L384

      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

      posted in Lomiri (was Unity8)
      lduboeufL
      lduboeuf
    • RE: Send notification locally from QT/C++/QML App.

      @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 🙂

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: Send notification locally from QT/C++/QML App.

      @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....

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: Some notifications of apps missing under 24.04-1.0

      Could you file a bug ?

      https://gitlab.com/ubports/development/ubuntu-touch/-/issues

      posted in Support
      lduboeufL
      lduboeuf
    • RE: Battery saver on 24.04

      @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 )

      https://gitlab.com/lduboeuf/battery-saver/-/jobs/11526831892/artifacts/file/build/aarch64-linux-gnu/app/batterysaver.lduboeuf_2.0.1_arm64.click

      posted in Support
      lduboeufL
      lduboeuf
    • RE: Send notification locally from QT/C++/QML App.

      @pparent said in Send notification locally from QT/C++/QML App.:

      @lduboeuf

      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

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: Send notification locally from QT/C++/QML App.

      @pparent
      Maybe you will need a version bump in your manifest.

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: Send notification locally from QT/C++/QML App.

      @pparent said in Send notification locally from QT/C++/QML App.:

      @lduboeuf

      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.

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: Send notification locally from QT/C++/QML App.

      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

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: Send notification locally from QT/C++/QML App.

      Also Teleport App use Postal too:
      https://gitlab.com/ubports/development/apps/teleports/

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: Send notification locally from QT/C++/QML App.

      @pparent said in Send notification locally from QT/C++/QML App.:

      @lduboeuf

      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

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: Send notification locally from QT/C++/QML App.

      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

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: Send notification locally from QT/C++/QML App.

      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.

      posted in App Development
      lduboeufL
      lduboeuf
    • RE: How do I get to 24.04-1.0 from testing?

      @lsitongia via the installer ?

      posted in OS
      lduboeufL
      lduboeuf