Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Sat, Feb 06, 2016 at 07:40:35AM +1100, Rick Walsh wrote: > > It does have the bug where you need to press edit a dozen times before you > can edit a dive. I hate Heisenbugs. So I modified the mobile components to print out debug information whenever the ActionButton is tapped. And of course

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Rick Walsh
On 6 February 2016 at 08:48, Dirk Hohndel wrote: > On Sat, Feb 06, 2016 at 07:40:35AM +1100, Rick Walsh wrote: > > > > It does have the bug where you need to press edit a dozen times before > you > > can edit a dive. > > I hate Heisenbugs. So I modified the mobile components to

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Fri, Feb 05, 2016 at 10:04:26PM -0800, Dirk Hohndel wrote: > > Editing weight (from 0.0 kg) wouldn't save. > > Uh, yeah, that's not hooked up, yet. Oops. OK, I tried to implement that. It's not super pretty, but I think it works as intended. When editing a dive with more than one weightsystem

Re: Android build 775

2016-02-05 Thread Dirk Hohndel
On Fri, Feb 05, 2016 at 09:05:21PM -0800, Dirk Hohndel wrote: > This contains three interesting changes > > - built with Qt 5.5.0 (I need to re-install 5.5.1 on my server): this > appears to fix the crashes that the Qt 5.6.0 prerelease based binaries > exhibited on a couple of older phones. >

Re: Problem editing dives in Subsurface-mobile

2016-02-05 Thread Dirk Hohndel
> On Feb 5, 2016, at 2:32 AM, Henrik Brautaset Aronsen > wrote: > > On Fri, Feb 5, 2016 at 9:40 AM, David Tillotson > wrote: > On 5 February 2016 08:34:41 GMT+00:00, Henrik Brautaset Aronsen >

punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
Hi there, the last couple of weeks have been challenging for me to find time to work on Subsurface and that's frustrating because I think we are really close to being able to open this up for more users. I figured we should create a punch list of what's missing to get us there. I'll convert this

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Fri, Feb 05, 2016 at 05:01:16PM +0100, Marco Martin wrote: > > > > - edit button: the magic button has suddenly become super unreliable. I > > have to tap it many many times before it starts the edit. And obviously > > several others have reported this already as well. > > Marco,

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Fri, Feb 05, 2016 at 06:04:06PM +0200, Willem Ferguson wrote: > 1) It is not only the magic button that needs numerous taps. Also all the > options on the lefthand slide-out panel. interesting. that I have not run into, yet. > 2) Subsurface-mobile crashes on some versions of Android 5.1 (e.g.

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Sebastian Kügler
On Friday, February 05, 2016 07:47:52 Dirk Hohndel wrote: > the last couple of weeks have been challenging for me to find time to work > on Subsurface and that's frustrating because I think we are really close > to being able to open this up for more users. Exactly the same feeling and

[PATCH] Mobile: always show divecomputer reported ceiling in red

2016-02-05 Thread Jan Mulder
We do not not want to do decompress model calculations in the mobile app (see 130f4cd7ac5b), but we do want to see the divecomputer reported ceiling (in red). The latter is fixed here. Ticket #1006 Signed-off-by: Jan Mulder --- subsurface-mobile-main.cpp | 5 + 1 file

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Fri, Feb 05, 2016 at 08:35:48PM +0200, Willem Ferguson wrote: > On 05/02/2016 19:08, Dirk Hohndel wrote: > >On Fri, Feb 05, 2016 at 06:04:06PM +0200, Willem Ferguson wrote: > >>1) It is not only the magic button that needs numerous taps. Also all the > >>options on the lefthand slide-out panel.

Re: QML/C++ interaction problem

2016-02-05 Thread Tomaz Canabrava
On Fri, Feb 5, 2016 at 4:57 PM, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > I attach an image with some very short code sections. I closely follow the > Qt app note "Exposing Attributes of C++ Types to QML" at URL >

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Fri, Feb 05, 2016 at 06:33:18PM +0100, Marco Martin wrote: > On Friday 05 February 2016 09:17:23 you wrote: > > I can find that code but what concerns me... in my copy (from master, see > > above), that's line 63, not line 134 as in your diff. Am I pulling from > > the wrong repo? I have

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread David Tillotson
On 5 February 2016 17:48:04 GMT+00:00, Dirk Hohndel wrote: >Will do. The latest apk (-773) was built with your patch and on my 6" >phone I can't seem to reproduce the bug (but it didn't happen there all >that often - I could quite reliably reproduce it on my 10" tablet that >I

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Willem Ferguson
On 05/02/2016 19:08, Dirk Hohndel wrote: On Fri, Feb 05, 2016 at 06:04:06PM +0200, Willem Ferguson wrote: 1) It is not only the magic button that needs numerous taps. Also all the options on the lefthand slide-out panel. interesting. that I have not run into, yet. Only in Android 5.1.

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Fri, Feb 05, 2016 at 05:01:16PM +0100, Marco Martin wrote: > > is it now using the components from master? Latest I have is commit 42c55621a4b99916220d68052f85df6735b7c20b Author: Dan Leinir Turthra Jensen Date: Wed Feb 3 12:32:11 2016 + Make the (physical) back

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Fri, Feb 05, 2016 at 06:29:17PM +, David Tillotson wrote: > > The edit box now works without the huge white panel :) Cool - thanks for reporting that. > On hitting the Save button, it drops out of edit mode, but the keyboard stays > on screen until hitting the back button. Is there a

QML/C++ interaction problem

2016-02-05 Thread Willem Ferguson
I attach an image with some very short code sections. I closely follow the Qt app note "Exposing Attributes of C++ Types to QML" at URL http://doc.qt.io/qt-5/qtqml-cppintegration-exposecppattributes.html The error message in the black section is standard. No indication that the QML sees any

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread David Tillotson
On 5 February 2016 18:53:36 GMT+00:00, Dirk Hohndel wrote: >On Fri, Feb 05, 2016 at 10:32:07AMr -0800, Dirk Hohndel wrote: >> >> > On hitting the Save button, it drops out of edit mode, but the >keyboard stays on screen until hitting the back button. Is there a >missing

Re: Problem editing dives in Subsurface-mobile

2016-02-05 Thread David Tillotson
On 5 February 2016 08:34:41 GMT+00:00, Henrik Brautaset Aronsen wrote: >> Would it make sense to add an exit command to the menu, similar to >the >> "return to list" option? >> > >You mean exit from dive edit? I don't think that should go to into the >main menu, that

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Sat, Feb 06, 2016 at 08:57:49AM +1100, Rick Walsh wrote: > On 6 February 2016 at 08:48, Dirk Hohndel wrote: > > > On Sat, Feb 06, 2016 at 07:40:35AM +1100, Rick Walsh wrote: > > > > > > It does have the bug where you need to press edit a dozen times before > > you > > > can

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Rick Walsh
On 6 February 2016 at 09:10, Dirk Hohndel wrote: > On Sat, Feb 06, 2016 at 08:57:49AM +1100, Rick Walsh wrote: > > On 6 February 2016 at 08:48, Dirk Hohndel wrote: > > > > > On Sat, Feb 06, 2016 at 07:40:35AM +1100, Rick Walsh wrote: > > > > > > > > It does

[PATCH] ActionButton.qml: centre-align the clickable part of the button

2016-02-05 Thread Rick Walsh
ActionButton.qml: centre-align the clickable part of the button buttonGraphics.x refers to the centre of the action button. For the click to be within the central area of the button, mouse.x needs to be between: buttonGraphics.x - buttonGraphics.width / 2, and buttonGraphics.x +

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
That's what I guessed before having to run. Please submit upstream /D -- Sent from my phone > On Feb 5, 2016, at 14:39, Rick Walsh wrote: > > > >> On 6 February 2016 at 09:15, Rick Walsh wrote: >> >> >>> On 6 February 2016 at 09:10, Dirk

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Rick Walsh
On 6 February 2016 at 06:46, Dirk Hohndel wrote: > On Sat, Feb 06, 2016 at 06:27:00AM +1100, Rick Walsh wrote: > > > > > > So no simple fix that I'm aware of. > > > > > My build of 766 doesn't crash on my Samsung, but yours does (as does > 774). > > I thought the difference was

Re: Fwd: Re: QML/C++ interaction problem

2016-02-05 Thread Tomaz Canabrava
No, I meant adding it to the root Context of the qml environment. Em 5 de fev de 2016 18:30, "Willem Ferguson" < willemfergu...@zoology.up.ac.za> escreveu: > -- Forwarded message -- > From: "Willem Ferguson" > Date: 05 Feb 2016 9:46 PM > Subject:

Fwd: Re: QML/C++ interaction problem

2016-02-05 Thread Willem Ferguson
-- Forwarded message -- From: "Willem Ferguson" Date: 05 Feb 2016 9:46 PM Subject: Re: QML/C++ interaction problem To: "Tomaz Canabrava" Cc: Thanks Tomas. You mean using qmlRegisterType? In subsurface-mobile-helper? Any other

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Fri, Feb 05, 2016 at 12:25:19PM -0800, Dirk Hohndel wrote: > > > > I can easily create a Qt5.5.1 based build for cross testing. Let me know. > > > > > > Please do. It sounds much easier than me building Qt5.6 master. I'm > > interested to compare the latest subsurface-mobile built with both

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Sat, Feb 06, 2016 at 07:40:35AM +1100, Rick Walsh wrote: > On 6 February 2016 at 07:34, Dirk Hohndel wrote: > > > On Fri, Feb 05, 2016 at 12:31:27PM -0800, Dirk Hohndel wrote: > > > On Fri, Feb 05, 2016 at 12:25:19PM -0800, Dirk Hohndel wrote: > > > > > > > > > > I can

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Rick Walsh
On 6 Feb 2016 04:09, "Dirk Hohndel" wrote: > > On Fri, Feb 05, 2016 at 06:04:06PM +0200, Willem Ferguson wrote: > > 2) Subsurface-mobile crashes on some versions of Android 5.1 (e.g. most > > recent build 766). I suspect the fix is simple. > > No it isn't. This is the weird

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Sat, Feb 06, 2016 at 07:15:38AM +1100, Rick Walsh wrote: > On 6 February 2016 at 06:46, Dirk Hohndel wrote: > > > On Sat, Feb 06, 2016 at 06:27:00AM +1100, Rick Walsh wrote: > > > > > > > > So no simple fix that I'm aware of. > > > > > > > My build of 766 doesn't crash on my

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Sat, Feb 06, 2016 at 06:27:00AM +1100, Rick Walsh wrote: > > > > So no simple fix that I'm aware of. > > > My build of 766 doesn't crash on my Samsung, but yours does (as does 774). > I thought the difference was Qt5.5 vs Qt5.6, but I just realized what might > be a more substantial difference

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Rick Walsh
On 6 February 2016 at 07:34, Dirk Hohndel wrote: > On Fri, Feb 05, 2016 at 12:31:27PM -0800, Dirk Hohndel wrote: > > On Fri, Feb 05, 2016 at 12:25:19PM -0800, Dirk Hohndel wrote: > > > > > > > > I can easily create a Qt5.5.1 based build for cross testing. Let > me know. > > > >

Android build 775

2016-02-05 Thread Dirk Hohndel
This contains three interesting changes - built with Qt 5.5.0 (I need to re-install 5.5.1 on my server): this appears to fix the crashes that the Qt 5.6.0 prerelease based binaries exhibited on a couple of older phones. - disable deco calculations: this should improve the performance

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Rick Walsh
On 6 February 2016 at 16:08, Dirk Hohndel wrote: > On Fri, Feb 05, 2016 at 07:47:52AM -0800, Dirk Hohndel wrote: > > Hi there, > > > > the last couple of weeks have been challenging for me to find time to > work > > on Subsurface and that's frustrating because I think we are

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Sat, Feb 06, 2016 at 05:01:08PM +1100, Rick Walsh wrote: > > It's looking good. The gaschange icons have been far too big on my phone; > I sent a patch to shrink them for subsurface-mobile. I just pushed that and will create new APKs. > Other than that: > Editing weight (from 0.0 kg)

Re: punch list for public beta of Subsurface-mobile for Android

2016-02-05 Thread Dirk Hohndel
On Fri, Feb 05, 2016 at 07:47:52AM -0800, Dirk Hohndel wrote: > Hi there, > > the last couple of weeks have been challenging for me to find time to work > on Subsurface and that's frustrating because I think we are really close > to being able to open this up for more users. > > I figured we