Fwd: Re: mobile ui

Dirk Hohndel dirk at hohndel.org
Thu Dec 3 13:33:48 PST 2015


On Thu, Dec 03, 2015 at 09:19:56PM +0000, David Tillotson wrote:
> 
> This isn't something I see on my Note 4 running 5.1.1. I still have a couple of older devices that I'll try it on once they've charged, and report back.

That would be wonderful. We definitely need to test this on more devices

> A couple of things I have found:
> 1) The profile scaling seems to get confused if I switch between portrait and landscape. The vertical size of the plot stays at the same scale as the first one drawn.

Yes - the reason is the way the pixmap gets computed. I need to figure out
how to be notified if the geometry changes (landscape/portrait rotation)
so it can be re-calculated.

My bet is that the paint is actually called again, but because of the
asynchronous nature of all this I have moved the code that would need to
be called out of the paint function...

I knew my fix was too easy :-(

> 2) The Notes area is around 1.2 lines high, so isn't exactly readable, although it does scroll when dragged.

Yes, I pointed that out before. Sebastian has a much nicer layout for all
this in mind, anyway, so thins should be fixed, soon.

> 3) The set if fields shown needs either increasing, or be settable. For me the weight carried is much more important than the dive master (if that is even applicable).

Can you make specific suggestions which fields need to be available?

> I also came across an oddity with the location service recently. My phone automatically switched time zone, and it seems that matching fails if the download is done in a different TZ.

I'd love to know more about this. Our TZ handling is tricky... to say the
least (because we try very hard NOT to handle time zones as all our times
are in "local time wherever you are" - but if Android insists on being
smarter than us, this could cause problems).

/D


More information about the subsurface mailing list