• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.5k 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.
    • D Offline
      danfro @stanwood
      last edited by 3 Dec 2024, 05:11

      @stanwood No worries, trust me, I started like that some years ago as UT user. We all learn by doing this kind of testing. I had to actually search a while through Logviewers code to retrieve this command. 😉

      First a suggestion in case you don't know yet. You can run just adb shell to open a terminal on the device. Then you can run commands as normal. It doesn't need to be adb shell COMMAND. (I find this more convenient)

      The full command writes all the log output into a file called tedit.log. That is done by the last part >> tedit.log It kind of forwards output to a file. To see the output on screen just ommit this part and run only

      journalctl --user -u lomiri-app-launch--application-click--tedit.danfro_tedit_3.4.0--.service

      S 1 Reply Last reply 3 Dec 2024, 07:07 Reply Quote 0
      • S Offline
        stanwood @danfro
        last edited by 3 Dec 2024, 07:07

        @danfro Got it! I just notice that a log file named "tedit.log" has been created in my home directory on my PC, funny isn't it? 😉
        So I could pick it up in my Thunar files manager and copy - paste the information of a sequence below. So here we go:

        Dec 02 22:38:15 ubuntu-phablet systemd[2701]: Started lomiri-app-launch--application-click--tedit.danfro_tedit_3.4.0--.service.
        Dec 02 22:38:15 ubuntu-phablet aa-exec[18696]: library "eglSubDriverAndroid.so" not found
        Dec 02 22:38:15 ubuntu-phablet aa-exec[18696]: Creating a QMirClientScreen now
        Dec 02 22:38:19 ubuntu-phablet aa-exec[18696]: file:///usr/lib/aarch64-linux-gnu/qt5/qml/Lomiri/Components/1.3/TextInputPopover.qml:56:9: QML Action: Binding loop detected for property "enabled"
        Dec 02 22:38:19 ubuntu-phablet systemd[2701]: lomiri-app-launch--application-click--tedit.danfro_tedit_3.4.0--.service: Main process exited, code=killed, status=11/SEGV
        Dec 02 22:38:19 ubuntu-phablet systemd[2701]: lomiri-app-launch--application-click--tedit.danfro_tedit_3.4.0--.service: Failed with result 'signal'.
        

        I can provide you more sequences if you need, although there are not so much differences.

        Hope it could help.

        Redmi Note 9S Stable
        If God has a computer, it must be a GNU/Linux

        D 1 Reply Last reply 4 Dec 2024, 05:20 Reply Quote 0
        • D Offline
          domubpkm @stanwood
          last edited by 3 Dec 2024, 16:10

          @stanwood

          @stanwood said in tedit development and design discussion:

          I'm not keen on installing apps such as "Log Viewer", which can lead to system instabilities)

          https://open-store.io/app/logviewer.ruditimmer is a great click easy to use. I Never had any problems or instabilities with this .click .

          D 1 Reply Last reply 3 Dec 2024, 20:34 Reply Quote 0
          • D Offline
            danfro @domubpkm
            last edited by 3 Dec 2024, 20:34

            @domubpkm I never had instabilities too. But since the app is unconfined, I understand that users are reluctant to install it just for some logs.

            D 1 Reply Last reply 4 Dec 2024, 00:06 Reply Quote 1
            • D Offline
              domubpkm @danfro
              last edited by 4 Dec 2024, 00:06

              @danfro said in tedit development and design discussion:

              But since the app is unconfined, I understand that users are reluctant to install it just for some logs

              Yes. But it can't be otherwise for you who are used to developing .click?

              1 Reply Last reply Reply Quote 0
              • D Offline
                danfro @stanwood
                last edited by 4 Dec 2024, 05:20

                @stanwood Btw. thanks for your logs. The second last line looks familiar to me. The part Main process exited, code=killed, status=11/SEGV might be a trace.

                Just got a broken tedit again. But I don't have this message in Logviewer. Interesting, in terminal I get this message too, but from systemd service, not tedit. So filtering seems to be handled different there. I will have to ask other developers maybe if they have an idea.

                1 Reply Last reply Reply Quote 1
                • D Offline
                  domubpkm
                  last edited by 14 Dec 2024, 12:15

                  @danfro I am not making a cause and effect relationship, I am describing what happened (volla 22 OTA 7) while everything was ok for some time:

                  • installation of Mimi 0.1.3 then crash of Lomiri at the 1st search under duckduckgo.
                  • clear cache config data then uninstall Mimi.
                  • copy data in Tedit with prolonged finger presses: Tedit crashes.
                  • copy data with virtual keyboard: ok.
                  • copy data with prolonged finger presses: ok again.
                  D 1 Reply Last reply 15 Dec 2024, 07:56 Reply Quote 0
                  • D Offline
                    danfro @domubpkm
                    last edited by 15 Dec 2024, 07:56

                    @domubpkm Thanks for the report. Sounds like it may be related to clipboard and/or long press copy/past. Although that may not explain why it cashes when swiping. But its something to look into.

                    D 1 Reply Last reply 24 Dec 2024, 14:36 Reply Quote 0
                    • D Offline
                      domubpkm @danfro
                      last edited by 24 Dec 2024, 14:36

                      @danfro It seems that changing channels (i went from stable to devel) is enough to crash the copy with a long press. Works again without crashing after a copy with the keyboard.

                      D 1 Reply Last reply 24 Dec 2024, 22:17 Reply Quote 0
                      • D Offline
                        danfro @domubpkm
                        last edited by 24 Dec 2024, 22:17

                        @domubpkm I will need to investigate the copy/paste functions of the TextArea. That might conflict with system clipboard. But not today, its Christmas. 🙂 Have a nice time everone and I hope you can spend some days in peace and with friends+family.

                        1 Reply Last reply Reply Quote 2
                        • D Offline
                          danfro
                          last edited by 28 Jan 2025, 17:20

                          Hi everyone. You may have noticed, that I was busy recently working on weather app. 😉 Now I found some time to dig into tedit development a bit.

                          @domubpkm and others may like one of the new features now available for testing: file list search.
                          Please test the build from the latest pipeline: https://gitlab.com/Danfro/tedit/-/pipelines/1645371249/builds and let me know if that is working for you. I am mainly interested to hear how it performs on long lists and other devices.

                          D 1 Reply Last reply 28 Jan 2025, 18:01 Reply Quote 1
                          • D Offline
                            danfro
                            last edited by 28 Jan 2025, 17:22

                            Another new feature that is already added, is regarding import of files. When you import a file that already exists, the new file will now be renamed and a timestamp is added. So it does not overwrite the existing file.

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              domubpkm @danfro
                              last edited by domubpkm 28 Jan 2025, 18:01

                              @danfro Hello. Thanks for the search files feature, very useful. Works well for me on Volla 22 with currently 70 files in Tedit.

                              1 Reply Last reply Reply Quote 1
                              • D Offline
                                danfro
                                last edited by 28 Jan 2025, 22:37

                                I got some more work done. Please test the latest build: https://gitlab.com/Danfro/tedit/-/pipelines/1645717005/builds

                                Changelog for the next release so far would be:
                                v3.5.0

                                • added: search option for file list
                                • added: setting to open the file list on app start
                                • added: option to clear the apps cache (settings page)
                                • improved: importing a file which already exists, now gets a timestamp added to avoid overwriting
                                  - fixed: occasional crashing mainly when trying to copy or paste
                                • fixed: highlight encrypted now doesn't also change wrap setting
                                • updated: translations, many thanks to all translators!

                                I may have found the reason for the crashs (paste clipboard button enable conflicting with TextArea paste enable). Not sure, I might have just been lucky though. So please test for that.

                                D 1 Reply Last reply 29 Jan 2025, 11:57 Reply Quote 0
                                • D Offline
                                  domubpkm @danfro
                                  last edited by domubpkm 29 Jan 2025, 11:57

                                  @danfro said in tedit development and design discussion:

                                  option to clear the apps cache (settings page)

                                  Ok. I installed the last build.
                                  Why do you say 'the apps cache' ? do you mean tedit cache ? Isn't it the app (no s) cache ? or tedit cache ?

                                  D 1 Reply Last reply 29 Jan 2025, 15:19 Reply Quote 0
                                  • D Offline
                                    danfro @domubpkm
                                    last edited by 29 Jan 2025, 15:19

                                    @domubpkm :thumbs_up: I guess "Clear tedit app cache" is better. I will change that.

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      danfro
                                      last edited by 29 Jan 2025, 20:34

                                      Btw. how about a button to toggle the toolbar visible/not visible? Would you consider that useful? The padlock would be sitting on the left side of that button.

                                      762e898d-489b-4530-bdba-620d155e2658-image.png

                                      1d8ebec6-d790-4462-b464-74940d0c5b02-image.png

                                      Josele13J 1 Reply Last reply 29 Jan 2025, 21:11 Reply Quote 0
                                      • Josele13J Offline
                                        Josele13 @stanwood
                                        last edited by 29 Jan 2025, 21:05

                                        @stanwood I also have this issue, I had not noticed this, my cell phone is in RC.

                                        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 29 Jan 2025, 21:06 Reply Quote 0
                                        • D Offline
                                          danfro @Josele13
                                          last edited by 29 Jan 2025, 21:06

                                          @Josele13 Do you still have the issues with the build from the latest pipeline?

                                          Josele13J D 2 Replies Last reply 29 Jan 2025, 21:09 Reply Quote 0
                                          • Josele13J Offline
                                            Josele13 @danfro
                                            last edited by 29 Jan 2025, 21:09

                                            @danfro I have Tedit version v3.4.0

                                            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 29 Jan 2025, 21:19 Reply Quote 0
                                            • First post
                                              Last post