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

    tedit development and design discussion

    Scheduled Pinned Locked Moved App Development
    tediteditorappdevelopmentfeatures
    200 Posts 13 Posters 46.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.
      • danfroD Offline
        danfro @Josele13
        last edited by

        @Josele13 Thanks for the feedback. Share note is on my todo list for the next release.

        1 Reply Last reply Reply Quote 0
        • danfroD Offline
          danfro
          last edited by

          Actually I consider to remove the word suggestion option in a future version.

          If nothing is set, it is using whatever is set in system settings. I don't see much point in overriding the system wide setting within the app. Who does not want word suggestion will have it turned off in system settings.

          It just fills the settings page. Also only word suggestion is turned off, not spellchecking. So it might confuse users that still something is suggested even with the option turned off.

          Or do I miss any benefit to make it worth to keep that setting?

          D Josele13J 2 Replies Last reply Reply Quote 0
          • D Offline
            domubpkm @danfro
            last edited by

            @danfro Personally, I've never used word suggestion in tedit. Just activating through the system settings seems enough to me.

            1 Reply Last reply Reply Quote 0
            • Josele13J Offline
              Josele13 @danfro
              last edited by

              @danfro I never use the spellchecker and neither do the word suggestions, you can remove it perfectly well, whoever wants to use word suggestions should use the system one.

              Regards...

              Xiaomi Redmi Note 9 pro
              Oneplus Nord 100
              Xiaomi Redmi Note 7
              Nexus 5
              Bq E4.5 Ubuntu edition .... is dead

              danfroD 1 Reply Last reply Reply Quote 0
              • danfroD Offline
                danfro @Josele13
                last edited by

                @Josele13 and @domubpkm thanks for the quick feedback. I removed it in the release I did a few minutes ago. Done is done. 🙂

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

                  @danfro For scrolling long texts, I would see two scrolling buttons (text down or up) if it's possible which would allow a minimum use of the swipe Just an idea like that. If you think yes, i will make a feature request.

                  danfroD 1 Reply Last reply Reply Quote 0
                  • danfroD Offline
                    danfro @domubpkm
                    last edited by

                    @domubpkm Do you mean a "jump to top" and "jump to bottom" button? That I can understand for long texts. From my usage I don't quite understand, how would pressing a button be quicker/better than swiping on a mobile device? Or are you talking about a tablet?

                    This is going to be tricky anyway, since the current swipe functionality is "built in" in TextArea. So likely going to be tricky.

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

                      @danfro said in tedit development and design discussion:

                      Do you mean a "jump to top" and "jump to bottom" button?

                      No, I apologize for any vagueness. The purpose of the buttons would be to gradually scroll the text either towards the beginning or towards the end.

                      ikozI danfroD 2 Replies Last reply Reply Quote 0
                      • ikozI Offline
                        ikoz @domubpkm
                        last edited by

                        @domubpkm You can already do that with the keyboard. Swipe to top and press the scroll keys which replace the keyboard keys, there is also something like a trackpad.

                        May the source be with you

                        1 Reply Last reply Reply Quote 0
                        • danfroD Offline
                          danfro @domubpkm
                          last edited by

                          @domubpkm My answer wasn't clear enough too. But you confirmed my thoughts. My question tried to address this usecase with two buttons for gradually scrolling. How would that be better than swiping?

                          A button would either scroll line by line for fine placment. That I would think to be tedious to scroll large areas. But if scrolling several lines at once (how many?) fine placement would not be possible.

                          I would think a swipe does allow much quicker and more precise handling here. But since you ask for those buttons, maybe I am missing something. Would you want them for large files and jumping several (many) lines at once? Or for fine jumping line by line?

                          And I tried the workaround suggested by @ikoz , that works for jumping to top and bottom. The swipe is less nice than the swipe implemented in TextArea in my opinion.

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

                            @danfro Forget 🙂 . My goal is to find a mechanism so that the text is not polluted when scrolling. I have nothing against swiping.
                            screenshot20240115_202653279.png

                            danfroD 1 Reply Last reply Reply Quote 0
                            • danfroD Offline
                              danfro @domubpkm
                              last edited by

                              @domubpkm Ah, thanks, now I understand what your goal is. 👍 I will need to think up a mechanism to control the edit area. Another idea is to have a swipe area besides the edit area. But not sure yet what will be technically possible and what will work in terms of UI. Please file an feature request or issue for that, so I don't forget. But this might take a while to get sorted...

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

                                @danfro said in tedit development and design discussion:

                                Another idea is to have a swipe area besides the edit area

                                I had this idea too..

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  ma
                                  last edited by

                                  I have the same problem to unintentionelly select/mark an area while swiping. It especially happens when you swipe on the right side an reach the indicator ("|"). Is it possible to prevent this case? Or is it possible to select an area just when you tipe twice on it?

                                  1 Reply Last reply Reply Quote 0
                                  • danfroD Offline
                                    danfro @domubpkm
                                    last edited by danfro

                                    @domubpkm In development branch I added an icon to enable/disable the edit area. Feel free to test from this pipeline. I would like to know if that improves handling and but also if other issues it does cause. The icon may be placed somewhere else in the long run. But that seemed to be a good start.

                                    There is also a first step for "create new note" there. But no asking for unsaved changes yet, so use at your own risk.

                                    D D 2 Replies Last reply Reply Quote 0
                                    • D Offline
                                      DPITTI @danfro
                                      last edited by

                                      Why do you need a digital shopping list today? You do it the classic way with a small piece of paper and a pen. If the battery of the Smierfon is empty, you can't use the app either 😁

                                      danfroD Josele13J 2 Replies Last reply Reply Quote -3
                                      • D Offline
                                        domubpkm @danfro
                                        last edited by

                                        @danfro said in tedit development and design discussion:

                                        In development branch I added an icon to enable/disable the edit area. Feel free to test from this pipeline. I would like to know if that improves handling and but also if other issues it does cause. The icon may be placed somewhere else in the long run. But that seemed to be a good start.

                                        Thank you for this first try in 'read-only mode'.
                                        SO :

                                        • In reading mode, no scrolling of the text is possible; text frozen in a certain place.
                                        • blocking a note in 'read only mode' causes all notes to be blocked when opened. The way to exit reading mode is to close and reopen Tedit.
                                        • Locking with the padlock at the bottom is only accessible once without unlocking possible (padlock is no longer visible). Initially, I would rather place the open padlock (or brush) for writing mode and the closed padlock (reading mode) either at the top next to the settings wheel, or at the top right in the colored frame area .

                                        I think that the 'reading mode' of a note should not exclude the possibility of being able to copy part of the text to paste it elsewhere.

                                        danfroD 1 Reply Last reply Reply Quote 0
                                        • danfroD Offline
                                          danfro @DPITTI
                                          last edited by

                                          @DPITTI You are still around trolling and spamming and placing useless posts? Stop it! Otherwise I hope @Lakotaubp will kick you out.

                                          For some reason, everytime I read chats and see your name, the posts are mostly deleted. I wonder why...

                                          1 Reply Last reply Reply Quote 2
                                          • danfroD Offline
                                            danfro @domubpkm
                                            last edited by

                                            @domubpkm Thanks a lot for testing. It was too late last night, so I didn't test much myself.

                                            The lock/pencil can be used unlimited times, BUT I found the icon is too small, so one often misses it. I must have been lucky, when coding it, it worked every time. :grinning_face_with_sweat:

                                            Sad it doesn't allow scrolling. I will need to discover other ways of dealing with it.

                                            What it does, it disables the edit area, so yes, expected that all notes are disabled unless the button is pressed again.

                                            Regarding position, yes, many options. It will depend on how I do other things and where I may need room for controls. But as it seems not to be much helpful, we may not need to worry about that anyway.

                                            1 Reply Last reply Reply Quote 0
                                            • Josele13J Offline
                                              Josele13 @DPITTI
                                              last edited by

                                              @DPITTI Those comments are not funny, the tedit app has a lot of value, it is used to write down important data, those data can be even medical prescriptions that one should use, before commenting think a little bit.

                                              Xiaomi Redmi Note 9 pro
                                              Oneplus Nord 100
                                              Xiaomi Redmi Note 7
                                              Nexus 5
                                              Bq E4.5 Ubuntu edition .... is dead

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