Mobile dive list development

2017-06-24 Thread Willem Ferguson
On 24/06/2017 22:17, Dirk Hohndel wrote: On Jun 24, 2017, at 12:18 PM, Dirk Hohndel > wrote: On Jun 24, 2017, at 11:32 AM, Dirk Hohndel > wrote: Sure. Coming up. I also think I may have found why it

Re: [Mobile UI] Blue palette

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 4:14 PM, Davide DB wrote: > > From what I read those weird definitions are just an invention of that > palette generator. We have only a primary and an optional secondary color and > their light and dark variations. > > I found this reply very

Re: [Mobile UI] Blue palette

2017-06-24 Thread Davide DB
>From what I read those weird definitions are just an invention of that palette generator. We have only a primary and an optional secondary color and their light and dark variations. I found this reply very informative: https://ux.stackexchange.com/questions/89815/choosing-

Brave people - look at and test BLE downloads

2017-06-24 Thread Linus Torvalds
So I currently have the BLE GATT downloading working on both my Suunto EON Steel and the Scubapro G2. This is to see if anybody else wants to play with the code, but before looking at the code, a few faily big caveats: (a) BLE is not fast. Just be warned. You *will* be happier with a USB cable

Re: Android / adb

2017-06-24 Thread Lubomir I. Ivanov
On 25 June 2017 at 01:26, Dirk Hohndel wrote: > > On the off chance that someone here happens to know an answer... > > I used to have problems on and off with my Pixel XL connecting to my > Linux VM in debug mode - but usually disconnecting and reconnecting > did the trip. Worst

Android / adb

2017-06-24 Thread Dirk Hohndel
On the off chance that someone here happens to know an answer... I used to have problems on and off with my Pixel XL connecting to my Linux VM in debug mode - but usually disconnecting and reconnecting did the trip. Worst case I had to reboot one or the other. But today nothing seems to help. I

Re: [Mobile UI] Blue palette

2017-06-24 Thread Davide DB
On Jun 24, 2017 10:17 PM, "Dirk Hohndel" wrote: On Jun 24, 2017, at 12:18 PM, Dirk Hohndel wrote: On Jun 24, 2017, at 11:32 AM, Dirk Hohndel wrote: Sure. Coming up. I also think I may have found why it didn't render the exact colors

Re: Error: "Must construct a QApplication before a QWidget"

2017-06-24 Thread Lubomir I. Ivanov
On 24 June 2017 at 21:29, Dirk Hohndel wrote: > >> On Jun 24, 2017, at 11:16 AM, Lubomir I. Ivanov wrote: >> >> i've updated to Qt 5.9.0 today and after building Subsurface on >> Windows i'm getting a: >> >> QWidget: Must construct a QApplication before a

Re: [Mobile UI] Blue palette

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 12:18 PM, Dirk Hohndel wrote: > > >> On Jun 24, 2017, at 11:32 AM, Dirk Hohndel > > wrote: >> >> Sure. Coming up. I also think I may have found why it didn't render the >> exact colors that we pick. The dive

Re: [Mobile UI] Blue palette

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 11:32 AM, Dirk Hohndel wrote: > > Sure. Coming up. I also think I may have found why it didn't render the > exact colors that we pick. The dive list had opacity of 0.8 which most > likely caused a background color bleeding through. The new APK should

Re: Dive download crash - Qt model issues

2017-06-24 Thread Thiago Macieira
On sábado, 24 de junho de 2017 11:05:25 PDT you wrote: > The solution to that problem is "--developer-build". That actually > does exactly the right thing from a "build one single app against the > special Qt tree that has a couple of experimental patches" > perspective. You can just do -prefix

Re: [Mobile UI] Blue palette

2017-06-24 Thread Dirk Hohndel
On Thu, Jun 22, 2017 at 01:49:00PM +0200, Davide DB wrote: > On 21 June 2017 at 22:13, Dirk Hohndel wrote: > > > > Right now I use > > > > property color darkPrimaryColor: "#303F9f" > > property color darkPrimaryTextColor: "#ECECEC" > > property color primaryColor: "#3F51B5" > >

Re: Error: "Must construct a QApplication before a QWidget"

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 11:16 AM, Lubomir I. Ivanov wrote: > > i've updated to Qt 5.9.0 today and after building Subsurface on > Windows i'm getting a: > > QWidget: Must construct a QApplication before a QWidget > Invalid parameter passed to C runtime function. > Invalid

Error: "Must construct a QApplication before a QWidget"

2017-06-24 Thread Lubomir I. Ivanov
i've updated to Qt 5.9.0 today and after building Subsurface on Windows i'm getting a: QWidget: Must construct a QApplication before a QWidget Invalid parameter passed to C runtime function. Invalid parameter passed to C runtime function. and the app terminates with: "This application has

Re: Dive download crash - Qt model issues

2017-06-24 Thread Linus Torvalds
On Sat, Jun 24, 2017 at 10:54 AM, Thiago Macieira wrote: > > Qt has release mode, debug mode and the "-developer-mode" switch. Be careful > not to confuse the latter two: developer mode is debug mode but enables a few > extra things so Qt's own unit tests can run, like

Re: Dive download crash - Qt model issues

2017-06-24 Thread Stefan Fuchs
Hi All, Am 24.06.2017 um 19:24 schrieb Dirk Hohndel: > > This is one of the ASSERTs in Qt that are compiled out in production code, > so I'm pretty sure those with my binaries or who are compiling from source > using standard Qt libraries won't see it. > >> Now, it may be that (once more) this is

Re: Dive download crash - Qt model issues

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 10:54 AM, Thiago Macieira wrote: > > On sábado, 24 de junho de 2017 10:16:06 PDT Linus Torvalds wrote: >> Now, it may be that (once more) this is because I run my self-compiled >> Qt, and apparently it ends up adding more sanity checks and asserts >>

Re: Dive download crash - Qt model issues

2017-06-24 Thread Thiago Macieira
On sábado, 24 de junho de 2017 10:16:06 PDT Linus Torvalds wrote: > Now, it may be that (once more) this is because I run my self-compiled > Qt, and apparently it ends up adding more sanity checks and asserts > when built in developer mode. Going off on a tangent here, but... Qt has release

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread Benjamin
I've seen a lot of the ones on Youtube. Halfway there with trimix training. Now I also need to start slowly on the rebreather route and then I'll be able to consider actually starting to work up to doing the dives. :) On 24 June 2017 at 19:06, Davide DB wrote: > To dream of

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread Linus Torvalds
On Sat, Jun 24, 2017 at 10:25 AM, Dirk Hohndel wrote: > > I don't think that small icons / images in the trip title are really all > that useful, so personally I like Willem's idea better. I liked Willem's mockup a lot. Even without dive trip collapsing, having the month/year

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 9:11 AM, Davide DB wrote: > > > > On Jun 24, 2017 12:36 PM, "Willem > wrote: > > > This is just a concept of an idea to indicate a date with each dive trip. See > attached

Re: Dive download crash - Qt model issues

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 10:16 AM, Linus Torvalds > wrote: > > So because I'm testing my BLE code (yes, I have working downloads on > the Suunto EON Steel over BLE - no, it's not ready to be merged yet, > and other dive computers won't automatically work), I've been

Dive download crash - Qt model issues

2017-06-24 Thread Linus Torvalds
So because I'm testing my BLE code (yes, I have working downloads on the Suunto EON Steel over BLE - no, it's not ready to be merged yet, and other dive computers won't automatically work), I've been doing odd things when downloading. And I hit an issue that seems to be about the Qt models, not

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread Davide DB
On Jun 24, 2017 12:36 PM, "Willem wrote: > > This is just a concept of an idea to indicate a date with each dive trip. See attached image. I think only the month and year are really important within this context. I was thinking of how to include the date and

Re: QtWebEngine and Mingw

2017-06-24 Thread Thiago Macieira
On sábado, 24 de junho de 2017 08:40:49 PDT Lubomir I. Ivanov wrote: > to summarize: > this leaves in a bit of a stalemate and unless Thiago has some sort of > an idea, Sorry, I don't have an idea. > we should just stick with WebKit for as long as possible, or > until: > 1) clang WebEngine

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread Benjamin
One day I'll get to see a coelacanth in real life. And not just one in a museum. :) On Sat, 24 Jun 2017, 17:38 Dirk Hohndel, wrote: > I'm not sure if you mean 65m/1:51 or 2.2m/1:13 ? > :-) > > -- > From my phone > -- > *From:* Benjamin > *Sent:* Sat

Re: QtWebEngine and Mingw

2017-06-24 Thread Lubomir I. Ivanov
On 24 June 2017 at 18:33, Lubomir I. Ivanov wrote: > > maybe if everything is mingw based and only QtWebEngine is build with > clang and that library is compatible with the rest of the Qt's Mingw > binaries it will work. > but to my understanding the C++ ABI is not compatible

Re: QtWebEngine and Mingw

2017-06-24 Thread Lubomir I. Ivanov
On 24 June 2017 at 18:15, Dirk Hohndel wrote: > >> On Jun 24, 2017, at 6:59 AM, Lubomir I. Ivanov wrote: >> >> i've just updated my Qt to 5.9.0 on Windows with the Mingw 5.3.0 toolchain. >> >> but i'm facing a bug where the WebEngine libaries and cmake

Re: QtWebEngine and Mingw

2017-06-24 Thread Dirk Hohndel
> On Jun 24, 2017, at 6:59 AM, Lubomir I. Ivanov wrote: > > i've just updated my Qt to 5.9.0 on Windows with the Mingw 5.3.0 toolchain. > > but i'm facing a bug where the WebEngine libaries and cmake files are missing: > https://bugreports.qt.io/browse/QTBUG-61394 > >

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread Dirk Hohndel
I'm not sure if you mean 65m/1:51 or 2.2m/1:13 ? :-) ⁣-- >From my phone​ Original Message From: Benjamin Sent: Sat Jun 24 03:52:28 PDT 2017 To: willemfergu...@zoology.up.ac.za, Dirk Hohndel , Davide DB Cc:

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread James Cialdea
If the trips were collapsible, I would want to see the date as you propose. Since they're not, it seems redundant to the dive row, but a fine addition. On Jun 24, 2017 6:37 AM, "Willem Ferguson" wrote: On 23/06/2017 17:49, Dirk Hohndel wrote: > A new APK is up

QtWebEngine and Mingw

2017-06-24 Thread Lubomir I. Ivanov
i've just updated my Qt to 5.9.0 on Windows with the Mingw 5.3.0 toolchain. but i'm facing a bug where the WebEngine libaries and cmake files are missing: https://bugreports.qt.io/browse/QTBUG-61394 after reading more into it, it seems it might not be an actual bug...:

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread Benjamin
Completely off topic, but the highlighted trip is something which really inspires jealousy... :) Benjamin On Sat, 24 Jun 2017, 13:36 Willem Ferguson, wrote: > On 23/06/2017 17:49, Dirk Hohndel wrote: > > A new APK is up that adds two neat features > > > > a)

Re: Overthinking on Subsurface mobile app UX

2017-06-24 Thread Willem Ferguson
On 23/06/2017 17:49, Dirk Hohndel wrote: A new APK is up that adds two neat features a) Android title bar / navigation bar color now matches our title bar color (and changes if you change the color theme) b) Action button is now colored with our secondary color