• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 5.9k 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.
    • B Offline
      BlueKenny @advocatux
      last edited by BlueKenny 14 Apr 2019, 14:45

      @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

      A 1 Reply Last reply 14 Apr 2019, 14:51 Reply Quote 0
      • A Offline
        advocatux @BlueKenny
        last edited by 14 Apr 2019, 14:51

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

        B 1 Reply Last reply 14 Apr 2019, 15:44 Reply Quote 0
        • B Offline
          BlueKenny @advocatux
          last edited by 14 Apr 2019, 15:44

          @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

          A 1 Reply Last reply 14 Apr 2019, 16:07 Reply Quote 0
          • A Offline
            advocatux @BlueKenny
            last edited by 14 Apr 2019, 16:07

            @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
            • D Offline
              dobey
              last edited by 14 Apr 2019, 18:15

              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.

              B 1 Reply Last reply 14 Apr 2019, 19:14 Reply Quote 1
              • B Offline
                BlueKenny @dobey
                last edited by 14 Apr 2019, 19:14

                @dobey Good point, i will try this

                Fairphone 5
                PinePhone
                Nexus 7 Flo

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BlueKenny
                  last edited by 16 Apr 2019, 17:46

                  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

                  A 1 Reply Last reply 16 Apr 2019, 18:07 Reply Quote 0
                  • A Offline
                    advocatux @BlueKenny
                    last edited by 16 Apr 2019, 18:07

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

                    B 1 Reply Last reply 16 Apr 2019, 18:21 Reply Quote 0
                    • B Offline
                      BlueKenny @advocatux
                      last edited by 16 Apr 2019, 18:21

                      @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

                      A 1 Reply Last reply 16 Apr 2019, 18:25 Reply Quote 0
                      • A Offline
                        advocatux @BlueKenny
                        last edited by 16 Apr 2019, 18:25

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

                        B 1 Reply Last reply 16 Apr 2019, 18:27 Reply Quote 1
                        • B Offline
                          BlueKenny @advocatux
                          last edited by 16 Apr 2019, 18:27

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

                          Fairphone 5
                          PinePhone
                          Nexus 7 Flo

                          A 1 Reply Last reply 16 Apr 2019, 18:50 Reply Quote 0
                          • A Offline
                            advocatux @BlueKenny
                            last edited by 16 Apr 2019, 18:50

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

                            B 1 Reply Last reply 16 Apr 2019, 19:13 Reply Quote 0
                            • B Offline
                              BlueKenny @advocatux
                              last edited by 16 Apr 2019, 19:13

                              @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

                              A 1 Reply Last reply 16 Apr 2019, 20:11 Reply Quote 1
                              • A Offline
                                advocatux @BlueKenny
                                last edited by advocatux 16 Apr 2019, 20:11

                                @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
                                • B Offline
                                  BlueKenny
                                  last edited by 17 Apr 2019, 20:07

                                  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 18 Apr 2019, 05:00

                                    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 ?
                                    B 1 Reply Last reply 18 Apr 2019, 05:38 Reply Quote 1
                                    • B Offline
                                      BlueKenny @domubpkm
                                      last edited by 18 Apr 2019, 05:38

                                      @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 18 Apr 2019, 16:27 Reply Quote 0
                                      • D Offline
                                        domubpkm @BlueKenny
                                        last edited by 18 Apr 2019, 16:27

                                        @BlueKenny Sorry for the late reply : too busy.

                                        @BlueKenny said in uText [ Help / Devel ]:

                                        if you click on 'Save' so you can open as many file you want without modify it

                                        Ok if you think it's not too much useful

                                        @BlueKenny said in uText [ Help / Devel ]:

                                        swipe from this border

                                        Ok it missed the morning coffee for me ! I couldn't do it this morning even if i saw your explanation 🙂

                                        @BlueKenny said in uText [ Help / Devel ]:

                                        no possibility to go back to the first page

                                        Ok..

                                        To your last point, for my part, i don't like to much work with several files open at the same time. It's only my opinion. If you do it we must have the possibility to save a file or to exit a file when you want.

                                        But your app can be very scalable : maybe will open (so as to work on them) various file formats in the future... ?

                                        1 Reply Last reply Reply Quote 0
                                        15 out of 23
                                        • First post
                                          15/23
                                          Last post