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
    242 Posts 13 Posters 134.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.
    • danfroD Offline
      danfro @ma
      last edited by

      @ma not being sorted alphabetically I can confirm. I overlooked that when testing.

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

        @ma I am not sure how this can happen. Since this is not the default saved folder.
        That looks like a cache folder. Are the file names duplicates of your actual files? Then maybe clearing the cache could help (available in tedit settings).

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

          Hmm. I have an idea. The first version of read only mode used a file cache. That might have used the same folder for caching as the notes folder.

          Now read only mode uses an in-memory cache and doesn't creaty any files.

          If my guess is true, there should be a folder under "/home/phablet/.local/share/tedit.danfro" with qtwebengine in it. After deleting that e.g. in file manager you shoukd be fine. Just be careful not to delete your notes, only that subfolder.

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

            @danfro Yes it works. Thanks for the quick response.

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

              @danfro Is there a way to sort the files by name again? And how are the sorted by now?

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

                @ma I am afraid, but I can't say right now why sorting is broken. I will investigate and try to fix that. For sure alphabetical order is easier to use.

                Using the search is likely the best option to get along for the moment.

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

                  @danfro Okay, thanks.

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

                    @danfro I hadn't even paid attention to the broken sorting mode ! Perhaps this is an opportunity to implement different sorting modes internal to tedit or for tedit to conform to the sorting mode defined for Files?

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

                      @domubpkm you are not wrong here. 😉

                      So (you and others): how many files do you have in tedit? Thinking about performance. Sorting in qml is likely easier but c++ is more performant for larger number of files?

                      a) less than 100 files
                      b) 100 to 500 files
                      c) 500 to 1000 files
                      d) 1000+ files

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

                        @danfro a is my answer 😊

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

                          @danfro b) This suggests that having a file count indicator might be good too 😉

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post