<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 30 December 2015 at 06:54, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><span><div><blockquote type="cite"><div>The profile is... "interesting".<br><br>So on one of my devices (the Samsung Galaxy S 3) I now get a reasonably well scaled profile that appears clipped at about 90% in the x direction. Neither the beige background nor the profile extend into the last 10% horizontally of the drawing area. <br>On the old 2012 Nexus 7 I also get the 90% clip, but the scaling off, I'm missing the x axes with the minute marks and the things below.<br>And on two other devices (Nexus 6P and Nexus 10) all I get is the beige background (still, clipped at 90% in the x direction).<br><br>This is so much fun! I haven't had this much fun since the Gtk days, trying to make shit draw on the screen...<br></sarcasm><br></div></blockquote><br></div></span><div>Here's a screen shot of my other 7in device, this one an Intel based SurfTab - you can see that the profile is rendered beautifully - except that it doesn't fill the complete area and is too tall to fit...</div></div></blockquote><div><br></div><div>I have the same problem with the profile. The deepest point is cut as well as the end of the dive.</div></div></div></div></blockquote><div><br></div></span>So these are two different problems. The deepest point issue is mis-scaling. Which is driving me bonkers. I do exactly what the documentation says I should do - take the size of the contentsBoundingRect() and scale to that. Yet on some devices this works and on others it doesn't.</div><div><br></div><div>The other one is that weird clip on the right. That's even stranger - nothing I could find in the documentation would explain this :-(</div><span class=""><div><br></div></span></div></blockquote><div>I'm getting unpleasant scaling/cropping of the profile too.  I've played around with the profile transformation, and am getting nowhere.  I really have no clue about qml, qt, or even C++, so it's all just trial and error (at least as much error as trial) and a bit of googling.<br><br></div><div>Prior to adding the margin (7e2898d QML UI: scale profile to allow for some visible separation), the profile was better (but not ideal).<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><span class=""><div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> More over, I get a crash when attempting to open the details of the latest dive.<br><br>---8<---<br>12-29 21:34:48.837   685  2326 I WindowState: WIN DEATH: Window{720d529 u0 SurfaceView}<br>12-29 21:34:48.837   685  8545 D GraphicsStats: Buffer count: 7<br>12-29 21:34:48.842   685  8545 I WindowState: WIN DEATH: Window{2759cd6 u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity}<br>12-29 21:34:48.897   214   214 I Zygote  : Process 15084 exited cleanly (1)<br>12-29 21:34:48.937   685 23669 I ActivityManager: Process org.subsurfacedivelog.mobile (pid 15084) has died<br>12-29 21:34:48.937   685 23669 W ActivityManager: Force removing ActivityRecord{d02da67 u0 org.subsurfacedivelog.mobile/org.qtproject.qt5.android.bindings.QtActivity t1072}: app died, no saved state<br>12-29 21:34:49.052   685  2323 W InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 15084 uid 10174<br>12-29 21:34:49.640  3073  3341 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...<br>12-29 21:34:49.640  3073  3341 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...<br>---8<---<br></div></div></div></div></blockquote></div><br></span><div>Sadly no useful information here. WIN DEATH basically means "he's dead, Jim".</div><span class=""><font color="#888888"><div><br></div></font></span></div></blockquote><div> </div>I've found if I install Subsurface-mobile over a previous installation, sometimes I get a crash on opening a dive.  If I uninstall the app before reinstalling it, I don't get a crash.  Can you repeat the crash if you uninstall first?<br><br></div><div class="gmail_quote">Rick<br></div><div class="gmail_quote"><br></div></div></div>