UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. danfro
    3. Posts
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 371
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Broken Accounts Menu on fresh NP1

      @ubohnehose unlocking doesn't require a google account or logging into one. Trust me, I haven't got a G'account but I do have a working NP1 with UT. I did that on multiple devices also on Volla phines or OnePlus.
      So you somehow took a wrong turn somewhere. Not sure where though.

      posted in Support
      danfroD
      danfro
    • RE: Broken Accounts Menu on fresh NP1

      @ubohnehose why do you used the manual install version at all? The ubports installer works like a charm for NP1. I never did such a smooth install on any other device. 😎

      posted in Support
      danfroD
      danfro
    • RE: Broken Accounts Menu on fresh NP1

      @ubohnehose broken accounts page is a known issue on daily channel. That is for all devices. Not sure when that will get fixed.

      posted in Support
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm I had to move the number back into the info string. Some translators raised issues that the separate number breaks translation in their language. So we are using this "<b>%1</b> files found, swipe an entry for file info and delete options" variation now. Still translatable and a bold number. Not perfect but should work.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm Haha, yes, this way we never get a new release. 😉

      No, thanks for that. Without testers and issues the errors stay. I did drop the created date, something is funny about that. And I think its not that important to add.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      Hmm, created date seems not to work properly for all files. Some yes, some not. Encrypted not? Or not available for all files. Imported? Maybe I simply drop that info?

      Edit: But file manager has problems on those files too. So not really a tedit thing.

      Edit2: It is a tedit problem. When writing changes, tedit seems to recreate that file. That is why created and modified date are the same afterwards...

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm I spottet another error: the time is no longer in UTC, likely due to my changed file reading. That made it easier to reformat. I did a few changes to file info page... 😎

      https://gitlab.com/Danfro/tedit/-/jobs/14472542713/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.7.0_arm64.click

      (A few strings will need to be re-translated because I changed the capital letter for the second word or so).

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm Your translation is too long. Use German compound nouns. No problem here. 😁

      Yeah that part is not perfect at all. I have that on my todo list to better format the timestamp, but there was some reason why that isn't that simple. Otherwise I would have already done it.

      I will see what I can do about that. Moving the value to another line might be the easiest. Just cropping the text would make it useless.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm Thanks for all your testing, reporting and your suggestions. Then I will maybe wait a few days to get some translations in (https://hosted.weblate.org/projects/ubports/tedit/) and then release this change.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      Ok, skipping the subfoldername was not that difficult: https://gitlab.com/Danfro/tedit/-/jobs/14471012073/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.7.0_arm64.click

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm I think the subdirectories letters are used for alphabetical sorting. Its basically one string filename or subdir/filename.

      I thought about splitting that, but the more parameters I add, the more complex it gets. I would not add another setting/filter for that.

      I can try if I can skip the subdirectory and use the filename instead. That might make the most sense I guess.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm Ok, the lastest build (https://gitlab.com/Danfro/tedit/-/jobs/14463791440/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.7.0_arm64.click) does store the last setting and uses that the next time.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm maybe I make it preserve the last values used. Rather than adding more things to settings page.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm Yes, true. I will change that.

      Does it need a setting so users can choose the default sorting mode? Currently it would always start with alphabetical/ascending as default, which seems the natural way.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm Yes, I understood it that way. I just wanted to explain why even this isn't "simple" codewise.

      Thanks for your replies regarding number of files. So I did try a few things and decided to separate the number from the text. Now here everyone can test the latest build with bold number 😉 and sorting option for files 🎉:
      https://gitlab.com/Danfro/tedit/-/jobs/14451001364/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.7.0_arm64.click

      @ma that will solve the sorting problem quite well I hope.

      Please let me know any issues, so I can release this soon.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm not that simple. Either we use html tags withing the text, which makes it cloggy for translations (I generally try to avoid that for this reason) or splitting up the text into two separate labels, then loosing context for translation, because its two separate strings.
      I would not make the whole text bold.
      Since the number is a %1 placeholder, only "bolding" that by making it <b>%1</b> might be the least bad regarding translations. Still not ideal.

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @domubpkm like the already existing text at the top of the file list saying how many files where found? 😜

      posted in App Development
      danfroD
      danfro
    • RE: tedit development and design discussion

      @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

      posted in App Development
      danfroD
      danfro
    • RE: Is current Ubuntu Touch possible on Oneplus 2 ?

      @Mario.CH I don't think its that easy, sometimes there are things that can't be solved.
      If someone wants to make a port, they do it for devices they have. Although for sure new devices are nice to have, people/porters don't buy a brand new device for 800€ and risk bricking it.
      And since this topic is about that specific device, answers refer to that.

      posted in Oneplus 2
      danfroD
      danfro
    • RE: Is current Ubuntu Touch possible on Oneplus 2 ?

      @MrT10001 that is good to know. I am sure @computersalat is looking for exactly this kind of info.

      posted in Oneplus 2
      danfroD
      danfro