Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. danfro
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 46
    • Best 16
    • Groups 0

    danfro

    @danfro

    27
    Reputation
    49
    Profile views
    46
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    danfro Follow

    Best posts made by danfro

    • RE: Looking for offline map app

      While we are waiting for PureMaps to provide offline functionality, here some instructions on how to get offline maps for uNav working using downloadosmtiles. I do post this here because I did encounter a few stones on the road to success. 😉

      1. download downloadosmtiles from the left hand menu
      2. extract to a folder on your harddisc, i.e. Downloads/osmtiles
      3. run the script with perl downloadosmtiles.pl --link='http://www.openstreetmap.org/?lat=49.5782&lon=11.0076&zoom=10&layers=B000FTF' --zoom=5:16 --destdir=somewhere/maps
      • of course replace coordninates with your target coordinates, the area seems to depend on the zoom value after the coords
      • replace the path for destdir with another one, default is the current working directory
      • change zoom levels, levels above 16 do take quite some time to download, you can download 5 to 16 first, and only level 17 or above later if you really need it
      1. copy the map-files (foldernames = zoom level i.e. 5) onto your phone i.e. in a folder Documents/uNav_maps
        [zip the map tiles and copy the zip file, that is much faster than copying thousands of files]
      2. in Terminal app run the following commands:
        cd Downloads/uNav_maps
        rsync -avp . ~/.local/share/navigator.costales/maps
        [rsync is faster than cp and gives you progress information]
      3. open up uNav, goto settings, change Modus to offline maps

      EDIT:
      To specify a bounding box for the tiles do be downloaded the command in step 3 needs to look like this:
      perl downloadosmtiles.pl --latitude=47.35371:49.93708 --longitude=7.38281:10.54687 --zoom=5:7 --destdir=somewhere/maps
      edit finished

      Have fun! Don't get lost!

      for lazy guys like me:
      If you do this regularly, you may wish to create yourself a small shell script in your phones home folder called i.e. cpbash.sh. Then only open Terminal and run bash cpmaps.sh. Put the following two lines into the script:
      cd Downloads/uNav_maps
      rsync -avp . ~/.local/share/navigator.costales/maps

      Troubleshooting: (on ubuntu 18.04)
      ... Can't locate Geo/OSM/Tiles.pm in @INC ...

      • open the file downloadosmtiles.pl in a editor
      • before line 6 add the following line: use lib '/Downloads/OSMtiles/Geo-OSM-Tiles-0.04/lib';, replace the path with your download location

      ... Can't locate Geo/OSM/Tiles.pm in @INC ...

      • install YAML.pm by running: sudo apt-get install libyaml-perl

      • you may need to create the folder maps to be like this: ~/.local/share/navigator.costales/maps, then map data wants to be in there in a structure like this (see https://unav.me/offline/) :
        ~/.local/share/navigator.costales/maps/10/
        ~/.local/share/navigator.costales/maps/10/523/
        ~/.local/share/navigator.costales/maps/10/523/331.png

      posted in Support
      D
      danfro
    • RE: On this (US) Thanksgiving...

      He has been mentioned, but many, many, many ... thanks to @bhdouglass master of OpenStore!!! What would we be without our OpenStore? Great work done there - and certainly a lot of time spend.

      Many thanks to everyone working on clickable - I know for sure @bhdouglass and @jonius - who provide a magical and crucial tool for us to create apps.

      Thanks @bhdouglass for asking me to maintain weather app. With your advice and a lot of starting help by @jonius , design guidance from some weeeee helper @CiberSheep I am happy to be able to contribute.

      Also many thanks to all translators like @Anne017 for hours of translating, so others with less knowledge of the English language can enjoy Ubuntu Touch.

      And thanks to everyone else here making up a nice community!

      Edit: I forgot to mention two important contributors: @Krille and @nanu-c . With a lot of time and love they provide apps for matrix and signal. Significant add ons next to Teleports. So man thanks to you too!

      posted in General
      D
      danfro
    • RE: Improve system settings disk usage analyzer

      @mymike It is not only the fresh new design. But being able to delete those items from system settings I would call a breakthrough. Definitely worth appreciation. 👍

      posted in Design
      D
      danfro
    • RE: Ubuntu Touch Q&A 85 This Saturday 26th Of Sept At 19:00 UTC

      Call for maintainers!

      There are quite some core apps without a maintainer for a long time. Camera app and clock app joined that list this week.

      Core apps need your help! Is there anyone with coding experience willing to take up the task? Please use the Q&A to ask around.

      posted in News
      D
      danfro
    • RE: Welcome to the UBports community! Introduce yourself here!

      @LDovic Hi and welcome. Apps for Ubuntu Touch, including most of the core apps, are build using clickable. So yes, a linux OS is needed for developement.

      As already has been said, apps are hosted mainly with Gitlab. For some general information to get you started check out our doc . You will also find some links to Telegram groups there.

      If there is one of the core apps you like best 😉 head for issues, if you are looking for a starting point. Or if you already have an idea to add THE missing feature just go for it.

      posted in General
      D
      danfro
    • RE: Ubuntu Touch Q&A 72 This Saturday 21st Of March At 19:00 UTC

      We do have loads of simple webapps in the OpenStore that are simple desktoplinks. It is easy to loose track when looking for "real" app.

      Webber is a great tool for everyone to create a quick link for her/his favourite web page.

      How about including webber as preinstalled app?
      How about launching an "unpublish simple webapps campaign" to clear out OpenStore a bit?

      posted in News
      D
      danfro
    • RE: Ubuntu Touch Q&A 49 Saturday 4th Of May At 19:00 UTC

      I red this forum post and Marius's comment listed there (almost at the end). It says that there are plans are to move away from ubuntu location service towards geoclue and qtlocation and hybris platform.

      What's the status with that. Is there any progress?

      posted in News
      D
      danfro
    • RE: Paid proprietary apps on Open Store?

      @makeixo Payments for Piepmatz is a service provided by https://www.digistore24.com/. This is something developers can set up for themselves within their apps. It might be something developers can pick up when developing for UT too. But this has got nothing to do with OpenStore.

      Edit: Hm, maybe if the services are free unless some payment is done, then maybe OpenStore could use this feature and provide it for all apps? I don't know. Someone with more legal knowledge would have to look into this.
      Spreading the word about this service might be the most practical thing to do...

      posted in General
      D
      danfro
    • RE: Looking for offline map app

      @MarkG_108 Just in case you missed it, as I wrote under no. 4, zip the tiles before copying them onto your phone. That does work MUCH faster than transferring all files individually.

      posted in Support
      D
      danfro
    • RE: Looking for offline map app

      @MarkG_108 You can go on OSM and right click a location. In the contex menu select "show address". Then in the menu on the left side also the coordinates are displayed.

      posted in Support
      D
      danfro

    Latest posts made by danfro

    • RE: Futify (spotify client) need beta testers

      Sure. Take your time, even more in those special times. I did not want to rush you or put pressure on you. It was merely supposed to be a suggestion.

      Thanks for the work anyway. The demand proofes that you are working on something important. 👍

      posted in App Development
      D
      danfro
    • RE: Futify (spotify client) need beta testers

      I am not a Spotify/Futify user, so I am not sure about its current state.

      But quite often people ask for a spotify client. So if it is working with a basic functionality, how about releasing it to OpenStore (marked as beta if applicable)?

      posted in App Development
      D
      danfro
    • RE: Improve system settings disk usage analyzer

      An idea was to put an app icon in the homepage that would open a page with the app list (no bar for the whole storage), and leave the Storage page under About with only the global storage bar and its categories and a button to "Manage Apps". Idk If this could be implemented easily but I think it would be the cleanest thing to do.

      Sounds good to me. App management in main screen. Storage info where it used to be. 👍

      The issue is that with different languages, button gets different sizes so I can't know which length is enough... I can put a hidden button with the wider text and take the width from it, but it seems a bit hackish... What about a small animation when it changes the width? Otherwise the size can be put outside the button...

      Buttons only adjust the width to the text if no width is set, right? So if we set a nice and wide width and add an elide to the label that should do it.

      Another idea: place the "clear" button to the left and the "uninstall" button on the very right. Because the user ticks the boxes at the left hand side, it seems appropriate to have the clear button on that side. Uninstall stays right. This way increasing the clear buttons width by adding more text to it will not move the uninstall button around. That reduces the movement of elements.

      Another option would be to NOT display the clearage size in the button. The numbers are there for the user to sum it up. The sum could be easier displayed in the next step because the dialog has got more space available. This way the clear button would keep its fixed width.

      Btw. I like how the uninstall button changes its content from uninstall -> uninstall & clear. Definitely keep that!

      • I am not sure if we need to paint a "refreshing list" somehow after clearing something. I cleared the cache of one app and it disappeared. Panic. After thinking for a second, sure it moved down the list. 😉 But I guess users are always wary when deleting things.

      Oh you mean an animation for the listitem going down? I hope it could be done. I am afraid the model is resetting itself completely and so the ListView doesn't know anymore the index of the app before the cleaning... I'll try to make it happen

      If an animation can not (easily) be done [check messaging app when deleting chats as example], maybe put a rectangle over the whole list [z=1] with a spinner and a label saying "refreshing list" or "updating list". Use a timer to give that a second or so. And then redisplay the list. Maybe the label isn't even needed.

      Yeah, I was afraid of that. Initially I put "Clear..." that usually indicates that the action is not immediate but a dialog would open instead, but then the button gets too longer imho and there is fewer space for the app list... An icon could not be very clear but maybe I'm wrong...

      Maybe we should not worry about that too much. After using it the first time, users will know about the second confirmation dialog. And I get the feeling, we will only be failsafe here, with an explanatory label above. But that would just not look nice. In the end most places for (batch) clearing things provide such a dialog.

      Ah ofc. Since the button is disabled the tap event is propagated to the ListItem which then collapses... I can put a MouseArea over the button that, when the button is disabled, stops the event from propagating to the ListItem,

      👍

      Great! Next time if you tag me in the message I'll get notified and reply you sooner 👍🏻

      @mymike No worries. But pinging you right now. 😏

      Just for perfection, if a value is zero, maybe set the checkbox to disabled because there is nothing there to clear?

      And I know we had this discussion, but if a size is zero (or close to zero), because there is no bar visible at all, the label looks misaligned in relation to the checkbox. But not adding that space will mess up the whole layout and make it irregular. Maybe we will just have to get along with that. It does look great all in all the way it is. So...

      posted in Design
      D
      danfro
    • RE: Improve system settings disk usage analyzer

      So, finally testing this on my phone. Very nice!

      A few things to think about:

      • we should move storage to a separate point in the main screen (has been said here before I think)
      • could the buttons be made wider? Then only the label is going to change. The buttons changing size looks "dizzy".
      • I am not sure if we need to paint a "refreshing list" somehow after clearing something. I cleared the cache of one app and it disappeared. Panic. After thinking for a second, sure it moved down the list. 😉 But I guess users are always wary when deleting things.
      • when multiselecting, I like how the apps are listed at the bottom. But here could we maybe rename the button to "proceed" or so? Then the user does not need to worry about what is going to be deleted but will expect another prompt/choice (that is coming after pressing the button).
      • the multiselect dialog could do with a space between the "Which type of data..." and the list of apps. Or maybe place them in brackets? "... selected apps (list of apps)?"
      • if nothing is selected in expanded view, tapping on the (disabled) "clear" button does collapse the view. That feels not natural? Maybe do nothing there?

      Just some thoughts. Maybe too nutpicking. No real need to change things. More suggestions if others feel the same, then we can think about it.

      If I discover more, I will come back. Enjoying it now I am... 🙂

      posted in Design
      D
      danfro
    • RE: Testing the upgrade to Qt 5.12

      In notes app, when opening a note and going back to notes list, the header disappears. I think notes and calendar need to be stripped of the deprecated components to work properly with Qt 5.12.

      Header of notes app is the bad boy I suppose. Tabs the bad boy for calendar.

      posted in OS
      D
      danfro
    • RE: Testing the upgrade to Qt 5.12

      Hm. When changing from one view to another in calendar app, the first time I enter a view, the header gets messed up. After switching back and entering a second time, things look fine.

      Just me? (Testing a few other things, so might be.)

      screenshot20201108_113117418.png

      The only entry in log (Logviewer) that seems to be new is this:

      file:///opt/click.ubuntu.com/com.ubuntu.calendar/0.8.4.2/qml/EventListModel.qml:183: TypeError: Value is undefined and could not be converted to an object
      file:///opt/click.ubuntu.com/com.ubuntu.calendar/0.8.4.2/qml/DayView.qml:94: TypeError: Cannot call method 'scrollToTime' of null
      
      posted in OS
      D
      danfro
    • RE: Improve system settings disk usage analyzer

      @mymike

      Yes, I already posted it but you may have missed it 😉

      "Forgot about it" is the better wording. 👼 Sorry.

      posted in Design
      D
      danfro
    • RE: Testing the upgrade to Qt 5.12

      Just my findings, may they help others:

      Running Rodneys script from terminal app from within the phone does not seem to work. But using adb shell works great!

      If you need to find the proper names of the apps to run them, use click list (thanks Rodney for this hint). Copy/paste possible in adb shell for even more convenience. 😉

      posted in OS
      D
      danfro
    • RE: Improve system settings disk usage analyzer

      @mymike I like this approach.

      Having thought about it, only for cache I see the use of bulk cleaning. That could be done with a button in the header, if needed.

      Although the right image does look cleaner, as @CiberSheep already said, I can imagine, that very small portions of data can look like "dirt on the screen" or a graphical fault.

      Maybe make the not filled bar's color a tiny bit brighter?

      And (don't beat me 😏 ) do we need the dividers? I think in many places we found, that things look nicer without them.

      As for the main action: Which is the main purpose? Managing apps data or uninstalling apps? OR Which is the more "dangerous/intrusive" action? Delete or clear?
      I think, I would go for the first one and say managing data is the main purpose, so have the clear button red.

      Will uninstall prompt the user to clear all data (popup maybe)?

      posted in Design
      D
      danfro
    • RE: Improve system settings disk usage analyzer

      @mymike

      I'm getting lost in this super table sigh, to many thing to show and to many actions the user can perform, and they need to match perfectly each other... But maybe something cool can came out of this

      Sorry for making you pulling your hair out by suggesting this. 😉 As @AppLee said, just gathering ideas. Even if dropping them is all we do with it, it brings us a step further.

      posted in Design
      D
      danfro