=== faenil is now known as faenil_ [09:06] cimi: greyback: so i guess we have to create a trunk for vivid-overlay and a trunk for wily for unity8 given how the stack below us is splitting into the same, no? [09:07] cimi: greyback: unfortunately we need an answer "now" since otherwise pstolowski can't land stuff [09:07] tsdgeos: qtmir hasn't changed yet, if that's the part of the stack you're referring to [09:07] :/ [09:07] greyback: no, i mean all the unity-* stuff [09:08] saviq and mzanetti wanted to avoid that [09:08] greyback, no, just scopes stuff and plugin [09:08] cimi, we all wanted to, but i'm not sure how it is possible [09:09] pstolowski: the code will be the same, it's just the ABI of the binaries will be different, yeah? [09:09] cimi, here is what i get when trying to land just vivid overlay https://requests.ci-train.ubuntu.com/static/dashboard.html#?q=ubuntu%2Flanding-005 [09:09] but the binary lib names will need to be different [09:09] greyback, yes, and it will affect deb packaging (debian/control) [09:10] pstolowski: why? [09:11] greyback, package names need to reflect that change afaik === faenil_ is now known as faenil [09:12] pstolowski: if that's the case, then the whole stack will have to split. We're going to version the ABI in the package name? I would have expected the version string to be more relevant there [09:13] I'm beginning to to think the way of dealing with upstream code might work - 1 upstream branch, branched for each release. then as many packaging branches as we need to deal with ABI stuff [09:15] greyback, isn't it essentially the same as what we get with 2 trunks? [09:15] greyback, ah, ok got you [09:15] pstolowski: I don't like the phrase "2 trunks" :) [09:17] greyback, i know, that's a synonym of pain [09:17] greyback, in any case... we need a solution fast, ota is really close :/ [09:22] so [09:22] do we go that way? or anyone wants to call on the phone michael or saviq and annoy them with this? [09:22] pstolowski: so I believe you can fix your build with https://code.launchpad.net/~gerboland/unity8/changelog-update-gcc5/+merge/266861 [09:23] tsdgeos: I think we should just focus on landing for vivid+overlay, until all this mess is understood [09:24] greyback: so you want lp:unity8 to be basically vivid-overlay targettd instead of wily? [09:24] that goes against the "land in devel first" thing though, so need to check with CI folk it's acceptable [09:24] greyback, we want to land vivid only atm [09:25] ok [09:25] tsdgeos: I think that's the route of least difficulty for now [09:25] i'm fine with that [09:25] but pstolowski says debian stuff complains about version numbers being smaller [09:25] since if we do a vivid overlay landing only it creates 15.04 vs 15.10 or something [09:26] greyback: does the branch you pointed help with that? [09:26] it'll still complain about 15.10 there i think [09:27] pstolowski: I used that in my silo 19, and it kept the train quiet [09:27] reason is that there's the added changelog entry in the release branch: https://code.launchpad.net/~ubuntu-branches/ubuntu/wily/unity8/wily [09:27] hmm [09:28] greyback, but if it works, this will update changelog with 'vivid' entry, in trunk. that's going to create problems, no? [09:28] I think if we sync that back to trunk, we should be ok. That's what my branch above does [09:29] pstolowski: frankly, I don't care about wily that much right now [09:29] ah, ok [09:29] we're landing something newer anyway, so the old version isn't so useful then [09:30] pstolowski: can you try adding that branch to your silo, and see if the train is happy? [09:30] greyback, ok [09:30] pstolowski: thanks [09:31] greyback, i presume the other silo we have which has this branch https://code.launchpad.net/~aacid/unity8/dash_activation_no_special_casing/+merge/264024 doesn't need it, because tsdgeos bumped unity8 version? [09:32] pstolowski: it might, as it appears bzr compares the version strings before merging [09:33] pstolowski: but if one lands, then this trouble should go away [09:33] yeah let's go that way for now [09:33] and see how to "fix it properly" later [09:33] i guess [09:34] yeah. It'll have our trunk tied to vivid+overlay. We can probably do a sync release to wily if the underlying packaging is unchanged. But if it is changed, we've work to do [09:37] allright [09:38] greyback, tsdgeos we can do like uitk they have staging [09:38] cimi: that doesn't help in this regard [09:39] the problem we have is that we'll eventually need two branches because the dependencie names are going to change [09:39] or that's what i understood [09:41] tsdgeos: what i do know for sure is, since gcc5 changes ABI, the library so version should be different between wily (gcc5) & vivid (gcc4.9) [09:42] I am still not clear on why that demands a different package name though, I need to think more perhaps [09:43] greyback: the thing is, since we don't maitain soversion [09:43] we need different package names [09:43] or bump the one in wily by 100 [09:44] so that if we need to break the soversion again in vivid we don't end up on one that we used already for wily [09:44] greyback, i think just the version number doesn't prevent stuff from breaking, i think we need libfoo3 to become libfoo4 etc [09:44] am i making sense? [09:44] pstolowski: yeah I think you're right [09:44] tsdgeos: yep [09:51] I'd most like lp:unity8 to be development trunk. We branch off that for each wily release. Then we cherry-pick from those branches for vivid+overlay, merging a vivid branch to downgrade dependencies [09:57] greyback: so 3 branches in maintaince at a time? [09:57] at least [09:57] "development", "unstable release" and "vivid+overlay" [10:00] tsdgeos: effectively. With devel having the least maintenance burden naturally [10:00] right [10:12] greyback, still fails https://requests.ci-train.ubuntu.com/static/dashboard.html#?q=ubuntu%2Flanding-005 [10:13] greyback, the problem is with 15.04... vs 15.10.. version string [10:14] greyback, so i solved similar issue for my branches by manually changing the topmost changelog entry to say 15.04, vivid in my 15.04-trunks [10:19] pstolowski: hmmm, I dislike having to do that tho [10:20] greyback, the only 'workaround' is to bump the real package version number, but that hides the problem [10:22] greyback, or maybe not if you don't care about wily and the fact, that landing with vivid changelog entry in trunk is ok for now... i don't know tbh [10:23] pstolowski: bumping the version number is ok IMO [10:23] we shouldn't have this problem again any time soon [10:23] greyback, ok.. as i mentioned earlier we do this in silo 27 already, bumping unity8 to 8.11 [10:23] pstolowski: yeah, I'm ok with that [10:24] go for it [10:24] greyback, ok, in that case your gcc5 branch my not be needed if we rebuild and land our two silos in correct order [10:25] pstolowski: yeah, I'll drop it since you'll have everything fixed for me :) === guest42345 is now known as y [10:25] * pstolowski wishes he can focus on real coding === y is now known as Guest82082 [10:44] sil2100, hey, i've just discussed with greyback and tsdgeos above about how to land ota features in vivid overlay only for now in unity8; they will keep one trunk for the time being [10:45] we will work out a more comprehensive landing strategy, but for now we want to land stuff for vivid+overlay [10:48] greyback, pstolowski: is unity8 still able to dual-land? [10:49] sil2100: we don't think so, as it depends on so many libraries which presumably will have to change their package names to reflect the ABI change [10:49] damnit i cant' get untiy8 to crash on the desktop anymore as it was crashing 15 min ago [10:49] * tsdgeos puzzled [10:50] sil2100, yes, as greyback says. we have changes in shell plugin and unity-api which need changing for gcc5 symbols changes (+ packaging changes) [10:50] sil2100, and this goes further down to mediascanner lib [10:51] sil2100, i [10:52] sil2100, i've separate trunks for 15.04 for these projects [10:54] hmmm === JMulholland_ is now known as JMulholland === alan_g is now known as alan_g|lunch [12:14] greyback_, do you know where's the bug we have about supporting apps preferred orientation? [12:15] greyback_, ie, an app telling us the orientation it would like to be in at runtime [12:15] greyback_, I recall we had a bug about it but could not find it [12:17] dandrader: I think this is all we've got https://bugs.launchpad.net/qtmir/+bug/1379777 [12:17] Ubuntu bug 1379777 in Ubuntu UX "[Orientation] Allow applications to specify the orientations supported" [High,Fix released] [12:17] which links to https://bugs.launchpad.net/mir/+bug/1382209 [12:17] Ubuntu bug 1382209 in qtmir (Ubuntu) "[Enhancement] Add an API to lock surface orientation" [Undecided,New] [12:17] which shows the mir work is done at least [12:18] hmmm [12:18] I'm asking this because of the last comment in https://bugs.launchpad.net/qtmir/+bug/1379777 [12:18] Ubuntu bug 1379777 in Ubuntu UX "[Orientation] Allow applications to specify the orientations supported" [High,Fix released] [12:19] greyback_, would like to point that person to the "set runtime preferred orientation" bug [12:19] greyback_, so maybe we can use https://bugs.launchpad.net/mir/+bug/1382209 for it [12:19] Ubuntu bug 1382209 in qtmir (Ubuntu) "[Enhancement] Add an API to lock surface orientation" [Undecided,New] [12:19] dandrader: be nicer, explain how he can use the flag in the desktop file for now, and we intend to support that mir surface flag soon [12:20] as he's doing all the rotation work manually it appears [12:20] greyback_, that person is already using the desktop file parameter [12:21] dandrader: but is she using it correctly? [12:22] greyback_, she's is locking to some orientation in the desktop file and rotating the ui internally according it the user's preference. so what she wants is the runtime preferred orientation. not the list of supported ones (from the desktop file) [12:26] dandrader: do you know the command line to start unity8 on the phone manually? [12:28] MIR_SERVER_NAME=session-0 \ [12:28] MIR_SOCKET=/run/mir_socket QT_QPA_PLATFORM=mirserver /usr/bin/unity8 [12:28] tsdgeos: ^^ [12:28] dandrader: ok I understand [12:29] dandrader: yeah, point her to bug 1379777 (I renamed it to be more clear) [12:29] bug 1379777 in Ubuntu UX "[Orientation] Allow applications to specify the orientations supported" [High,Fix released] https://launchpad.net/bugs/1379777 [12:32] tx === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === alan_g|lunch is now known as alan_g [13:39] greyback_, do you understand why it failed? http://paste.ubuntu.com/12048029/ [13:40] greyback_, is it the weird path to the desktop file? [13:40] dandrader: https://code.launchpad.net/~gerboland/qtmir/fix-desktop_file_hint/+merge/267504 [13:40] greyback_, was doing "qmlscene foo.qml --desktop_file_hint=[...]" [13:40] greyback_, yeah, I'm testing that [13:40] greyback_, get this failure with or without it [13:41] dandrader: the ".desktop" has been removed from the path in the second line of that log [13:41] my patch was supposed to prevent that happening [13:42] greyback_, the problem is the path [13:42] dandrader: why? [13:42] greyback_, passing something simpler like --desktop_file_hint=/usr/share/applications/dialer-app.desktop works [13:42] we're not imposing the xdg standard paths [13:42] in the desktop_file_hint stuff [13:43] ok, I'll revisit [13:43] greyback_, as far as I understood your patch is just a cosmetic change. doesn't change any behavior, or does it? [13:44] (ie, fixes some sneaky bug caused by the inplace modification of that string) [13:49] dandrader: bug was the QString::remove() actually alters the string, so we were always removing the ".desktop" from the path, before checking is it exists. [13:50] instead I split the string into a string list, then removed ".desktop" from the last one. That will leave the original path untouched [13:50] s/is/does/ [13:50] I'll try figure out why your longer path fails [13:50] greyback_, as I posted on the MP, I didn't spot any behavioral change with this patch. so approved [13:51] (as in no regressions) [13:51] dandrader: well while I'm at it, I'll try fix your problem too [13:56] ltinkl, about your "Use QFile::encodeName(file) and theme.toUtf8().constData()" comment [13:56] dandrader, yes [13:57] ltinkl, the theme string is also used to build the full file path. So no sense in making it utf8 [13:57] ltinkl, so what you would like me to use instead? [13:57] ltinkl, ie, theme will be directory name [13:57] dandrader, do you have a link handy to the comment? can't find the code now [13:57] ltinkl, https://code.launchpad.net/~dandrader/qtmir/mousePointer/+merge/266919 [13:59] and QFile::encodeName feels a bit like overkill. All I want is plain ASCII chars [14:00] but it kinda makes sense, so I won't oppose using it [14:00] dandrader, so if I have a custom cursor theme in my home directory (/home/lukáš/.icons) it won't break? :) [14:00] dandrader, it will imo [14:01] dandrader, and if the theme name is used to build up the path, then QFile::encodeName() too [14:01] dandrader, using UTF8 user names is perfectly legal [14:02] ltinkl, it's blasphemous! [14:02] :) [14:02] dandrader, sad story tho, a lot of SW breaks with it but we don't want it, don't we? :) [14:04] ltinkl, done [14:09] dandrader, cool, so when are native cursors coming to Mir itself? [14:10] * ltinkl brb [14:11] ltinkl, already has it. problem is that it's not easy to manipulate it from untiy8/qtmir at the moment. it misses all the nice context information you get by having it as a qml item inside unity8's scene [14:12] ltinkl, but we will change qtmir's implementation to use it once it's as flexible as we need it to [14:13] ltinkl, eg: it's completely oblivious to unity8 scene rotation for instance [14:15] dandrader, https://code.launchpad.net/~lukas-kde/unity8/globalshortcuts/+merge/267188/comments/671668 any idea there? [14:20] ltinkl, a Loader is a FocusScope [14:20] ltinkl, so It might just be a matter of setting "focus = true" on that dialog loader [14:20] dandrader, tried that and many other things actually :) [14:21] dandrader, it just won't work [14:21] ltinkl, and having "focus: true" on the dialog as well [14:21] dandrader, yup, that too [14:22] ltinkl, ok. I'll investigate it then [14:23] dandrader, thanks [14:23] ltinkl, by the way, having that many event filters attached to the window does scare me a bit. it might impact performance [14:23] dandrader, ye... I'll think of consolidating them somehow [14:23] as each GlobalShortcut item is a separate window event filter [14:23] wait [14:24] dandrader, it isn't [14:24] dandrader, there's just one in GlobalShortcutRegistry::eventFilter [14:24] hmm [14:25] I made it that way exactly for this reason === dandrader is now known as dandrader|afk [15:16] greyback_: [15:16] you here? [15:16] https://bugs.launchpad.net/unity/+bug/1483014 [15:16] Ubuntu bug 1483014 in Unity "Unity Launcher and Terminal Windows" [Undecided,New] [15:21] a1fa: I've replied, I asked for more info about your physical setup would be useful [15:21] i did not see [15:21] F5 should show it [15:21] refresh? i still dont see any updates [15:22] were you able to replicate the bug? i found a way to replicate it everytime [15:23] ok i see it now [15:23] :) [15:23] wrote 2 minutes ago :) [15:23] a1fa: ok good [15:26] i'm at work at the moment. is there a way to dump apport info into a file ? [15:28] a1fa: that doesn't appear to be possible, sorry [15:29] do you need my Xorg.conf? [15:29] a1fa: yes, I can reproduce it [15:29] awesome! [15:29] a1fa: good instructions [15:29] hopefully it is not driver-specific [15:30] I'm using intel [15:30] it does smell of a unity bug [15:30] i started trying to break it, because it was happening once in a while and i dont know what i did [15:30] so i started paying attention to my clicks, and bam [15:30] it also happens with TAB [15:30] TAB show desktop [15:31] ALT=TAB [15:31] for some reason that window becomes invisible, and on selecting it, unity doesn't figure out it's been made visible and so should draw decorations [15:44] dandrader|afk, addressed your comments in the globalshortcuts MP [15:51] dandrader|afk: weird thing, desktop_file_hint=/usr/share/click/preinstalled/com.ubuntu.clock/3.4.305/share/applications/ubuntu-clock-app.desktop works for me, but not with gallery. Very odd... [15:52] aha, gallery-app.desktop" is not valid - check its syntax, and that the binary specified by the Exec line is installed! [15:52] the Exec line points to a binary with relative path, which gdk not happy about [15:53] that's a different issue === dandrader|afk is now known as dandrader [16:08] greyback_, ah, ok === Malsasa_ is now known as Malsasa [16:34] dandrader, onLogoutReady fixed too === Malsasa_ is now known as Malsasa === alan_g is now known as alan_g|EOD === dandrader is now known as dandrader|afk === cwayne-afk is now known as cwayne === dandrader|afk is now known as dandrader [20:11] ted: Do you know how processes are killed by the OOM Killer when the scores are tied? (re: https://bugs.launchpad.net/ubuntu/+source/ubuntu-app-launch/+bug/1478853/comments/10) [20:11] Ubuntu bug 1478853 in ubuntu-app-launch (Ubuntu) "OOM scoring kills the browser's render process while the browser is running" [Critical,Confirmed] [20:14] josharenson, It is not simple, but usually by memory size. [20:14] There are things like last used CPU and stuff in there as well. [20:14] ted: thats what I figured, wish it took into account when the app was last focused too [20:15] seems like it could be helpful w/ the bug [20:15] josharenson, In general, last focused and last CPU are roughly the same. [20:15] ted: ah ok [20:15] It can't use CPU when not focused.