Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. lduboeuf
    • Profile
    • Following 0
    • Followers 1
    • Topics 39
    • Posts 562
    • Best 192
    • Groups 0

    lduboeuf

    @lduboeuf

    290
    Reputation
    527
    Profile views
    562
    Posts
    1
    Followers
    0
    Following
    Joined Last Online
    Location France - Brittany

    lduboeuf Unfollow Follow

    Best posts made by lduboeuf

    • [Guide] Code completion on Qt Creator for Ubuntu.Components

      Hi,
      Just to share my experience for developping Apps with QtCreator:
      ( A rewrite from https://gist.github.com/lduboeuf/dcf22607207d5b7abc8ac966d20942ce )

      To get Ubuntu.Components recognized by QtCreator:

      • If you work on Ubuntu (16.04-18.04) :
      ## Get public Ubports key
      wget -qO - https://repo.ubports.com/pubkey.gpg | sudo apt-key add -
      
      ##add ubports repository
      sudo add-apt-repository "deb https://repo.ubports.com/ [bionic|xenial] main"
      
      ##install Ubuntu.components
      sudo apt install qml-module-ubuntu-components
      
      ##qml components should be installed in "/usr/lib/x86_64-linux-gnu/qt5/qml"
      ##set the environnement variable to profile
      echo "export QML_IMPORT_PATH=/usr/lib/x86_64-linux-gnu/qt5/qml" >> ~/.profile
      
      ##reload env or you might need to logout/login
      source ~/.profile
      
      • A more generic solution using clickable image:
      ##run container clickable
      docker run -i -t --entrypoint /bin/bash clickable/ubuntu-sdk:16.04-amd64
      
      ##in an another terminal, get the container id
      docker ps
      
      ##copy ubuntu components to local folder
      docker cp [container id]:/usr/lib/x86_64-linux-gnu/qt5/qml/ /your/local/directory
      
      ##set the environnement variable to profile
      echo "export QML_IMPORT_PATH=/your/local/directory" >> ~/.profile
      
      ##reload env or you might need to logout/login
      source ~/.profile
      
      ##stop container
      docker stop [container id]
      
      
      • Or running QtCreator in a docker container based from clickable image:

      example here: https://github.com/lduboeuf/ut-qtcreator , use branch "add module" branch for installing also some UT qml modules

      EDIT: Now clickable provide a Qtcreator IDE with clickable ide qtcreator command
      https://docs.ubports.com/en/latest/appdev/index.html#code-editor-integrations

      posted in App Development
      lduboeuf
      lduboeuf
    • RE: Get Started On Your First Ubuntu Touch App

      If anyone interested, this is also one of mine, with surely some mistakes and omissions , sorry : https://m.youtube.com/watch?v=TE-s5522v0Y

      In french: https://m.youtube.com/watch?v=lU6J01XB4pc

      posted in News
      lduboeuf
      lduboeuf
    • Test alternative pin code prompt - system settings integration

      Hi all,

      I've managed to try adding an alternate pin code prompt based on that work: http://guidopallemans.blogspot.com/2013/09/some-time-ago-i-saw-beautiful-lock.html

      As stated here: https://github.com/ubports/ubuntu-touch/issues/1940
      One of the task is to add to security system setting a toggle to select the pin code prompt:

      screenshot20220303_104224212.png

      And a demo "tester" to be familiar with this new way:

      screenshot20220303_104226696.png

      I've pushed an app click demo here: https://open-store.io/app/lockertest.ld
      download:( https://open-store.io/api/v3/apps/lockertest.ld/download/xenial/all )

      Any feedback welcome.

      ( For a demo of this pin code prompt integrated in Lomiri: https://user-images.githubusercontent.com/11663835/154673358-5c7c1cfe-f7ce-4d66-98de-e108cd4fba16.mp4 )

      source code : https://github.com/lduboeuf/utpincodetester

      posted in Design
      lduboeuf
      lduboeuf
    • RE: Ubuntu.components ? ( Developpment guidelines )

      Well, my first native app just landed on Openstore. https://open-store.io/app/ttbn.lduboeuf
      I've only used QQC2 components and imported needed svg icons from suru theme.
      I admit that as a QML beginner, it was sometimes hard to make things work and displayed correctly... color theme is still not that good.

      But i'm happy that i can now build for multi os and still use QtCreator.
      Thanks for all your examples

      posted in App Development
      lduboeuf
      lduboeuf
    • RE: no birthdays on contacts?

      @Mystic-X hello, i'm working on it, will land hopefully soon, at least for having a birthday field on the contact app

      follow-up here: https://github.com/ubports/address-book-app/issues/5

      posted in Support
      lduboeuf
      lduboeuf
    • Cell Broadcast story - UI/UX

      Hello all,

      I've started to have a look on the Cell Broadcast feature.
      The first step we can have is to just display a Notification for Emergency one, but we need to think to implement the full feature.

      there will be several levels of alerts and types.
      Level 1: Critical, the notification should use a "critical" alert sound along with a persistent popup.
      Level 2: Extreme, attention alert sound with persistant popup
      Level 3: Severe, attention alert sound with persistant popup
      Level 4: Public Safety: attention sound with ephemeral popup
      Amber ( child abduction): attention sound with ephemeral popup
      Tests: attention sound with ephemeral popup

      So the question for now is: Which icons to use, security-alert ?
      , and we would need to add specific Alert Sound ( critical + others). Which one could be used ?

      ref: https://forums.ubports.com/topic/7798/the-cell-broadcast-story

      posted in Design
      lduboeuf
      lduboeuf
    • messaging-app: Stickers feature

      hi,

      I've been working in re-enabling the Sticker feature in messaging-app (MMS).
      Here are some screenshots:

      To access it, i've decided to put the "Sticker" icon as part as the attachment panel. Before it was inserted just after the "attachment" icon, but find it a bit annoying to access it.

      screenshot20210113_182527334.png

      To create a new pack, the "+" button is on the right of the tabs

      screenshot20210113_182532145.png

      To import and delete the pack, the buttons are at the bottom-right
      To delete only one sticker, long-press on it

      screenshot20210113_184123731.png

      Any feedbacks ?

      posted in Design
      lduboeuf
      lduboeuf
    • The Cell Broadcast story

      Hi all, trying to work on the Cell-Broadcast feature.
      I'm writing here just as a shared note...

      First step could be to implement only Emergency Alerts.

      That would need a persistent Notification if possible with a specific sound ( see https://forums.ubports.com/topic/7794/cell-broadcast-story-ui/8), a notification in the messaging indicator and a way to read it later.

      We should also have a toggle in settings to enable/disable the feature.
      I know some country are even making the option mandatory.
      Question here: Should that option be in notification category or in cellular related things ?

      As that behaviour is almost like a classic sms, i'm planning to use the current Telepathy Framework by just doing some tweaks ( define a constant sender, MessageType of ChannelTextMessageTypeNotice ).
      Define a fake Contact that have the "warning" as the avatar so that it can be recognized in the messaging-app and popups/notifications.
      We are lucky to have already the phone part, Ofono expose a Dbus interface for CellBroadcast ( not tested yet )

      The work will involve work in telepathy-ofono, telephony-service, history-service (not sure)) , system-settings, gsettings-ubuntu-touch-schemas for the alert sound ).

      telepathy-ofono: Takes inputs from ofono cellbroadcast signals ( https://github.com/ubports/ofono/blob/xenial/doc/cell-broadcast-api.txt ). Currently there are notifications for the ETWS system (EmergencyBroadcast signal) and another for all other channels (IncomingBroadcast).
      My idea here is to merge the 2 signals and send toward Telepathy a TextMessage with the sender identified as "x-ofono-cellbroadcast", the Subject as the channel topic, type of message of ChannelTextMessageTypeNotice, and the body of the alert in text property.

      telephony-service: Listen to Telepathy incoming TextMessage, when message == ChannelTextMessageTypeNotice, sender is "x-cellbroadcast-alert" , and according to Subject, we should display a notification with the corresponding sound.
      Different levels of warning are here dependent of the Subject.
      The alert is also displayed in the message indicator, and a way to open messaging app to see it again.

      history-service: Listen to Telepathy incoming TextMessage ans stores the alert as a message ( message could be of type MessageTypeInformation)

      messaging-app: The alerts are gathered into a Thread, the notification icon could be the "broadcast icon", and messages can be styled differently according to their Subject ( channel ).

      system-settings: Subscribe to channels, toggles to the different type of broadcast

      e.g on Android:
      172725142-ac6bbcf0-df5d-4abe-af46-dd59374b46c3.png

      Issue reference: The issue: https://github.com/ubports/ubuntu-touch/issues/141

      Spec IETSI: https://www.etsi.org/deliver/etsi_ts/102900_102999/102900/01.03.01_60/ts_102900v010301p.pdf
      Spec 3GPP: https://www.3gpp.org/ftp/Specs/archive/23_series/23.041/ ( last one - see 9.4.1.2.2 Message Identifier for the channel list)

      android constants: https://github.com/aosp-mirror/platform_frameworks_base/blob/c5d02da0f6553a00da6b0d833b67d3bbe87341e0/telephony/java/com/android/internal/telephony/gsm/SmsCbConstants.java

      Help needed for the UX part:
      https://forums.ubports.com/topic/7794/cell-broadcast-story-ui/8

      Currenlty Xenial telepathy-ofono uses a libofono-qt version which does not include the Cellbroadcast API => See with Team

      posted in OS
      lduboeuf
      lduboeuf
    • The MMS lost story

      Hi,

      As you know, since the beginning of UT, when Cellular Data is off or if any issue regarding the MMS download, the MMS will be lost, no way to retrieve it later and moreover no notification is sent to the user.

      The complete feature need some skills that i don't have but as a quick fix, i managed to forward any issues as a normal MMS but empty so that user is at least notified something went wrong.
      see:
      https://github.com/ubports/nuntium/pull/3, https://github.com/ubports/telephony-service/pull/13, https://github.com/ubports/messaging-app/pull/248
      It works!

      My question is: should i spent effort to continue doing that "work around" or is someone ready/available to do a more complete scenario (when MMS error: retry or notify, implement deferred download, only download if user allowed to, etc... ) ?

      In case it is a better than nothing solution , what would be a good message to display to user ? ( note that it will be received as a sms )

      Or if any simpler solution, like just displaying a notification( only one place to maintain )

      Related doc:
      See Canonical's specification for the MMS (partly implemented today): http://docs.ubports.com/en/latest/systemdev/mms-infrastructure.html

      [Edit]: UI follow up https://forums.ubports.com/topic/5102/ui-for-mms-errors

      [Edit]: Thanks to the huge work of @jezek we can now be confident with MMS. please test it 🙂 :
      https://forums.ubports.com/topic/5100/the-mms-lost-story/124

      posted in OS
      lduboeuf
      lduboeuf
    • MMS users: call for testing

      Hi,

      We need your help testing a new feature brought by @jezek regarding MMS and the ability to re-download the MMS afterward (if any failure or the cellular data was off when the MMS was received).
      Please report here any issue found or success. ( Note that this feature will not correct any APN setting issues, or issues with the provider or device specific )

      For the long story: https://forums.ubports.com/topic/5100/the-mms-lost-story

      You need to be on devel or RC ( since 2021/06/09 )
      From a terminal, run that commands one by one:

      sudo ubports-qa install PR_nuntium_8
      sudo ubports-qa install telepathy-ofono 20
      sudo ubports-qa install history-service 35
      sudo ubports-qa install telephony-service 20
      sudo ubports-qa install messaging-app 260

      And reboot

      Test Plan example:
      Make sure it works as before, send/receive MMS, multiple ones
      Disable cellular-data, receive a MMS and check if MMS notification is here with the download button
      Change proxy settings in APN or put wrong settings and check for notification reception

      posted in General
      lduboeuf
      lduboeuf

    Latest posts made by lduboeuf

    • RE: howt create ubuntu touch app from qml quick project in qt creator(using qml 6.3.1)

      @safalbk said in howt create ubuntu touch app from qml quick project in qt creator(using qml 6.3.1):

      @cliffcoggin yes

      1. how to create a .click package from qt quick project. for example https://github.com/safalbk/qml/tree/main this is a project that use qt 6.3.1, how i convert this project into Ubuntu touch app

      If it helps( note that it is a bit outdated and syntax may have changed, but the overview is still fine ) :
      https://m.youtube.com/watch?v=ehqlwRNrfO0 (qmake)

      https://m.youtube.com/watch?v=c2sq6aLeGec ( cmake )

      Note that UT uses Qt 5.12 so some QML imports should be downgraded

      I would recommend starting with a clickable template ( clickable create ) and adapt with your existing code.

      posted in App Development
      lduboeuf
      lduboeuf
    • RE: The Cell Broadcast story

      @kristatos Hopefully it will be integrated in UT before December.
      This is now in the Ubports team hands.
      I can guarantee that all UT components are ready to handle Cell Broadcast messages. But there is still an unknow part which is hard to test without a real situation.

      posted in OS
      lduboeuf
      lduboeuf
    • RE: continuing MMS issues.

      @fizz
      @jezek did a work that is currently in review that may help fixing or understand better what is going on. Hope it will land on next OTA
      It is already testable if you are in devel channel:
      sudo ubports-qa install PR_nuntium_18

      https://gitlab.com/ubports/development/core/nuntium/-/merge_requests/18

      posted in Support
      lduboeuf
      lduboeuf
    • RE: continuing MMS issues.

      @fizz
      nuntium.log would help ( beware phone numbers inside ).
      But i remember having issues on N5 when wifi + cellular data was on ( needed to switch off wifi when it happened in order to fetch the MMS)

      Do you have the "Download" button or a plain error message only ?
      Are you on 4G ?

      Btw: note that debugging and working on such issues need a lot of time. And it can have so many causes that it is hard to spot.
      Moreover this is not a general issue. MMS is working fine for many people.

      posted in Support
      lduboeuf
      lduboeuf
    • RE: The Cell Broadcast story

      Feature integration summary here:
      https://github.com/ubports/ubuntu-touch/issues/2003

      posted in OS
      lduboeuf
      lduboeuf
    • Cell Broadcast: Looking for alert sounds proposition

      Hi,

      With the Cell Broadcast feature, i'm looking for 2 notifications sound that we will add to UT.
      One will be for emergency situation ( something noisy ) and the other less intrusive but still enough to alert user.

      Thanks for your proposition 🙂

      posted in Design
      lduboeuf
      lduboeuf
    • RE: Will group chat over text nessaging ever ve supported

      @moem yes, that is the point. There is only few providers that offers MMS in their plan now. So slowly dying, but no standard replacement though, need to use a third party service...

      posted in Support
      lduboeuf
      lduboeuf
    • RE: Will group chat over text nessaging ever ve supported

      @kantros sadly nobody take that task.
      Most active developers here don't even use MMS, so it might explain why...
      The feature is partly implemented. At least i think you can send to a group. Idk if they will receive it as a MMS group though.

      posted in Support
      lduboeuf
      lduboeuf
    • RE: Test alternative pin code prompt - system settings integration

      @messayisto OTA-24 if it does not break everything and the reviewer have time to look at it

      posted in Design
      lduboeuf
      lduboeuf
    • RE: Cell Broadcast story - UI/UX

      So if anyone can propose a default Emergency sound and a less "noisy" one, would be awesome 🙂
      For the icons, we could use the default warning. And maybe play with colors ( Red/Orange/Yellow) according to levels of alert.

      posted in Design
      lduboeuf
      lduboeuf