/srv/irclogs.ubuntu.com/2016/08/11/#ubuntu-unity.txt

=== JanC is now known as Guest62829
=== JanC_ is now known as JanC
Mirvseems a bit risky, but maybe if there hasn't been a pile of patchups to the original rewrite..05:20
Mirvbut yeah I'd say backporting to 5.6 could be an idea05:21
=== popey_ is now known as popey
oSoMoNhey guys, I’m implementing multiple window support in webbrowser-app, just starting to test on a phone and when I swipe one window from the dash to close it, all windows for the app are closed, is that expected, or a known bug?14:10
oSoMoNkgunn, do you happen to know the answer to my question ^14:24
dandraderoSoMoN, sounds like a bug14:26
dandraderoSoMoN, like code is calling application.stop() instead of surface.close()14:26
dandraderoSoMoN, the former will call close() on all of its surfaces14:26
dandraderoSoMoN, let me check....14:27
oSoMoNdandrader, that was my wild guess as well. That would be a bug in unity8, or somewhere else in the stack?14:27
dandraderoSoMoN, if that turns out to be true, it would be unity8. but let me confirm14:27
dandraderoSoMoN, is that on a phone?14:28
oSoMoNdandrader, yes, on arale14:29
dandraderoSoMoN, strange. code looks correct14:31
dandraderoSoMoN, please try with this sample app14:31
dandraderoSoMoN, multiwindow.qml in lp:~dandrader/+junk/animatedDemos14:32
oSoMoNdandrader, trying14:33
oSoMoNdandrader, indeed your example works14:43
oSoMoNso there might be a bug in my implementation, looking into it14:44
oSoMoNdandrader, not sure if that makes a difference, in your example all three windows are initially instantiated but only the main one is visible, whereas in my implementation for webbrowser-app Windows are created dynamically14:45
dandraderoSoMoN, the backing MirSurface is only created once the QWindow is made visible for the first time14:46
oSoMoNok14:46
=== dandrader is now known as dandrader|afk
oSoMoNdandrader|afk, ah, that appears to be a crash in webbrowser-app14:54
oSoMoNdandrader|afk, this is what the stacktrace (without debug syms) looks like: http://pastebin.ubuntu.com/23028989/14:57
=== dandrader|afk is now known as dandrader
dandraderoSoMoN, wild guess: maybe you have to intercept the close request in order to some preparations before having the window destroyed....15:22
oSoMoNdandrader, I’m already doing something like that, although that may not be sufficient: https://bazaar.launchpad.net/~osomon/webbrowser-app/multiple-windows/view/head:/src/app/webbrowser/webbrowser-app.qml#L11315:23
oSoMoNI installed debug syms, and it appears that QOpenGLContext::currentContext() returns a null pointer in QSGDefaultLayer::invalidated()15:26
oSoMoNah, not calling destroy() in onClosing seems to make things better15:31
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandraderoSoMoN, well, the platform implementations, including the GL stuff is different on the phone. but don't know why exactly it's crashing (or whether it should crash or not)...16:24
dandraderoh, oSomon just left...16:24
mterrydednick: simply subscribe ~ubuntu-mir to MIR bugs and we'll see 'em17:02
mterry(not assign, just subscribe)17:02
dednickmterry: ah. k17:02
mterryjosharenson: can you do me a small favor and merge in trunk into session-chooser-gui?17:21
mterryjosharenson: I want to rebase my branches on it, but don't want to get criss cross merges17:21
mterryshould just be translation updates at this point17:21
josharensonmterry: sure 1 min17:32
josharensonmterry: when is the last time you pulled? I actually just pushed some changes like 20 min ago (checking to see if they include trunk)17:33
josharensonmterry: yeah looks like I did17:33
mterryjosharenson: yeah but I *think* r2577 wasn't included in your latest merge17:42
mterryjust some translations17:42
josharensonmterry: oh you are correct... pushing now17:43
josharensondone17:43
mterryjosharenson: thanks -- I plan to make a great tower of branches, and I hate criss-crosses17:43
josharensonmterry: I gotcha :-)17:43
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!