UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    uText [ Help / Devel ]

    Scheduled Pinned Locked Moved App Development
    utextapphelpdevelopment
    23 Posts 4 Posters 6.3k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • advocatuxA Offline
        advocatux @BlueKenny
        last edited by advocatux

        @BlueKenny testing utext.bluekenny_19.4.3_all.click:

        • "Help" is working because is pointing to this Forum now
        • "Save" is still failing
        BlueKennyB 1 Reply Last reply Reply Quote 0
        • BlueKennyB Offline
          BlueKenny @advocatux
          last edited by

          @advocatux
          yes i fixed the 'Help' link some seconds ago 😉

          Save doesn't work on a new file ? or a opened one ?

          Fairphone 5
          PinePhone
          Nexus 7 Flo

          advocatuxA 1 Reply Last reply Reply Quote 0
          • advocatuxA Offline
            advocatux @BlueKenny
            last edited by

            @BlueKenny trying to create a new file.

            BlueKennyB 1 Reply Last reply Reply Quote 0
            • BlueKennyB Offline
              BlueKenny @advocatux
              last edited by BlueKenny

              @advocatux
              https://gitlab.com/BlueKenny/uText/raw/95bedf7f251a0e8ec712d0f7e0d6290cbbb22926/packages/utext.bluekenny_19.4.4_all.click

              So i disable all components, except "Load" and "Help" button if no file is loaded 😉

              PS: while loading, file explorer opens but there is no more button to create a file ...
              How can i change this ?

              Fairphone 5
              PinePhone
              Nexus 7 Flo

              advocatuxA 1 Reply Last reply Reply Quote 0
              • advocatuxA Offline
                advocatux @BlueKenny
                last edited by

                @BlueKenny yes, probably because "load" means "to load an existing file".

                You can create a new text file using the FileManager before using uText, of course, but I don't know how to trigger that using the "Load" function in your app.

                BlueKennyB 1 Reply Last reply Reply Quote 0
                • BlueKennyB Offline
                  BlueKenny @advocatux
                  last edited by

                  @advocatux
                  I'm thinking to implement a Filemanager styled page to bypass the filemanager to load and create things, but this can be alot of work...

                  Fairphone 5
                  PinePhone
                  Nexus 7 Flo

                  advocatuxA 1 Reply Last reply Reply Quote 0
                  • advocatuxA Offline
                    advocatux @BlueKenny
                    last edited by

                    @BlueKenny I'm out of my depth with that matter but maybe there's an easier way to handle that (?).

                    Maybe other devs have some other ideas about how to approach it. We'll see 🙂

                    1 Reply Last reply Reply Quote 0
                    • dobeyD Offline
                      dobey
                      last edited by

                      First thing I would suggest is to not store the binary packages within the git repo. They will cause the history to get very large very fast, and keeping them there means anyone who would want to contribute to your repo will have to download them all, every time they clone the repo.

                      It would be better to configure automatic building of packages using the GitLab CI pipelines, and have the click grabbed as a build artifact. You can then link to the pipeline job, or directly to the artifact, for people to download it.

                      BlueKennyB 1 Reply Last reply Reply Quote 1
                      • BlueKennyB Offline
                        BlueKenny @dobey
                        last edited by

                        @dobey Good point, i will try this

                        Fairphone 5
                        PinePhone
                        Nexus 7 Flo

                        1 Reply Last reply Reply Quote 0
                        • BlueKennyB Offline
                          BlueKenny
                          last edited by

                          Please try this build, before i upload it 😉

                          https://gitlab.com/BlueKenny/uText/-/jobs/197767442/artifacts/download

                          Changes :

                          Help Button open link to Ubports Forum
                          Text is now selectable by mouse
                          Save disable until a file is selected
                          TextArea is disable until a file is selected
                          Word Prediction is disable until a file is selected
                          Set title as "uText"
                          TextArea get a border and rounded corners
                          TextArea add Scrollbar on right side
                          Show README file at starting
                          

                          Fairphone 5
                          PinePhone
                          Nexus 7 Flo

                          advocatuxA 1 Reply Last reply Reply Quote 0
                          • advocatuxA Offline
                            advocatux @BlueKenny
                            last edited by

                            @BlueKenny I'm testing that version now. I'm stuck in this screen after opening the app:

                            photo_2019-04-16_20-00-16.jpg

                            How can I start a text from scratch? Do I need to create an empty text file first with a different app, and then load it in uText?

                            BlueKennyB 1 Reply Last reply Reply Quote 0
                            • BlueKennyB Offline
                              BlueKenny @advocatux
                              last edited by

                              @advocatux
                              Hmm Yes...

                              At the moment there is no "Create new file button"
                              It think i should write this as an Info somewhere ?

                              Fairphone 5
                              PinePhone
                              Nexus 7 Flo

                              advocatuxA 1 Reply Last reply Reply Quote 0
                              • advocatuxA Offline
                                advocatux @BlueKenny
                                last edited by

                                @BlueKenny yes, I think so. It's pretty confusing otherwise 😉

                                BlueKennyB 1 Reply Last reply Reply Quote 1
                                • BlueKennyB Offline
                                  BlueKenny @advocatux
                                  last edited by

                                  @advocatux
                                  Does the rest Work?
                                  I think i can let it upload to the store 🙂 ?

                                  Fairphone 5
                                  PinePhone
                                  Nexus 7 Flo

                                  advocatuxA 1 Reply Last reply Reply Quote 0
                                  • advocatuxA Offline
                                    advocatux @BlueKenny
                                    last edited by

                                    @BlueKenny what do you think about maybe polishing it just a little bit before uploading that app? 🙂

                                    BlueKennyB 1 Reply Last reply Reply Quote 0
                                    • BlueKennyB Offline
                                      BlueKenny @advocatux
                                      last edited by

                                      @advocatux
                                      oh 😮
                                      I like uploading 😛

                                      I start translating, but i'm not sure how to make this possible as its pure QML without compiling

                                      Fairphone 5
                                      PinePhone
                                      Nexus 7 Flo

                                      advocatuxA 1 Reply Last reply Reply Quote 1
                                      • advocatuxA Offline
                                        advocatux @BlueKenny
                                        last edited by advocatux

                                        @BlueKenny

                                        I like uploading 😛

                                        👌 😂

                                        I start translating, but i'm not sure how to make this possible as its pure QML without compiling

                                        I don't know about that, sorry (I assume you've read https://doc-snapshots.qt.io/qt5-5.9/internationalization.html) and that the answer is not there.

                                        1 Reply Last reply Reply Quote 1
                                        • BlueKennyB Offline
                                          BlueKenny
                                          last edited by

                                          It's going in the right direction

                                          photo_2019-04-17_22-06-13.jpg

                                          Fairphone 5
                                          PinePhone
                                          Nexus 7 Flo

                                          1 Reply Last reply Reply Quote 1
                                          • D Offline
                                            domubpkm
                                            last edited by

                                            Thanks for this new app.

                                            Some questions :
                                            Currently,

                                            • how to exit a file without saving ?
                                            • how to open settings ?
                                            • is it possible to come back to a homepage ?
                                            BlueKennyB 1 Reply Last reply Reply Quote 1
                                            • BlueKennyB Offline
                                              BlueKenny @domubpkm
                                              last edited by

                                              @domubpkm
                                              hello,
                                              a file is only saved if you click on 'Save' so you can open as many file you want without modify it.

                                              the settings are on the left, swipe from this border to the right to open the setting page (currently in progress, there is nothing except the font size information at the moment , eventually in the nect version you can change this + chosse a theme)

                                              There is no possibility to go back to the first page as you can simply open anothere file, but what are you thinking about a Top List of open documebts so you can choose between them to easy work on multiple files ?

                                              Fairphone 5
                                              PinePhone
                                              Nexus 7 Flo

                                              D 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post