/srv/irclogs.ubuntu.com/2014/09/12/#ubuntu-unity.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
mzanettigreyback: good morning. I addressed all your comments in the qtmir merge.09:28
greybackmzanetti: cool thanks09:28
greybackmzanetti: ah sorry I didn't realize there was a unity8 branch to go with it09:29
mzanettigreyback: no worries09:30
mzanettigreyback: if you want to test, it should be enough to copy Shell.qml from that unity8 branch to the device09:30
mzanettino need to build a package09:30
greybackmzanetti: yep09:30
mzanettihuh... why does "df -h" not show my partitions any more?09:37
mzanettionly virtual file systems in there09:38
facundobatistaHola11:10
mzanettiSaviq: hey, want to have a look at those so we can get it approved before you're away: https://code.launchpad.net/~unity-team/unity8/two_see_more_bugfix/+merge/234340/comments/57277611:12
mzanettiits really minor things11:12
=== MacSlow is now known as MacSlow|lunch
=== _salem is now known as salem_
=== MacSlow|lunch is now known as MacSlow
greybackmzanetti: lifecycle fixes approved12:44
MacSlowSaviq, can you have a quick look at https://code.launchpad.net/~macslow/unity-notifications/synchronous-notification/+merge/22906013:07
MacSlowSaviq, I'm confused about that "automatic" merge that just happened13:08
SaviqMacSlow, you pushed to trunk13:09
SaviqMacSlow, https://code.launchpad.net/~unity-api-team/unity-notifications/trunk13:09
MacSlowHow?13:09
MacSlowCrap!13:09
SaviqMacSlow, will you resolve or shall I?13:11
MacSlowjust doing that13:11
MacSlowSaviq, hm... kind of stuck with fixing the accidental merge...13:29
SaviqMacSlow, can I overwrite trunk?13:30
SaviqMacSlow, ugh, you overwrote?13:30
SaviqMacSlow, https://code.launchpad.net/~ps-jenkins/unity-notifications/ubuntu-utopic-proposed should be the good thing13:31
MacSlowSaviq, correct13:31
SaviqMacSlow, so yeah, take that branch and overwrite trunk13:32
SaviqMacSlow, and fix your bash history and push locations ;)13:32
MacSlowSaviq, yeah... hell knows how that happened... I always explicitly do "bzr push lp:~macslow/bla..."13:33
MacSlowSaviq, hm... fixed... but lp:unity-notifications on launchpad did not yet update13:40
SaviqMacSlow, indeed, it will catch up13:43
MacSlowphew... lp also updated now13:45
mzanettigreyback: thanks!13:48
greybackSaviq: we need an opinion:        void fn(int var) { Q_UNUSED(var); }            OR           void fn(int) {}14:10
dandraderSaviq, is that part of our word-of-mouth coding guidelines/ http://paste.ubuntu.com/8327396/14:12
dandrader?14:12
Saviqdandrader, greyback, Q_UNUSED generally leads to Q_UNUSED being left around when it is, in fact, used14:13
SaviqI don't have a strong opinion but was leaning towards /**/14:14
dandraderSaviq, you mean later someone actually starts using a parameter but forgets to remove the corresponding Q_UNUSED() line?14:14
Saviqdandrader, yes14:14
dandraderSaviq, greyback, hmm, makes sense14:15
mterrymzanetti, do you know how to anchor an element of the shell to the OSK?  Normally you can ask for that behavior if you have a MainView, but we don't14:20
Saviqdandrader, greyback, I'm not even sure we need the /* */, after all you're only an F4 away from the header14:20
mzanettimterry: Qt.inputMethod.rect or something like this14:21
Saviqmzanetti, not in shell14:21
mzanettiyeah, works in apps too14:21
Saviqunless it's back with qtmir?14:21
mzanettioh... in the shell14:21
Saviqmzanetti, Qt.inputMethod didn't work before qtmir, does it work again now?14:21
dandraderSaviq, "F4", are you talking Qt-Creator?14:21
mzanettiSaviq: mterry: there is an InputMethod item in Shell.qml14:21
mzanettiyou can probably anchor to that14:21
Saviqdandrader, yes, but $your_ide's_shortcut works, too ;)14:21
* dandrader is old school and doesn't use such niceties14:22
mterrymzanetti, interesting, will try thanks!14:22
dandradermostly because vim doesn't do it reliably :D14:22
mterrySaviq, aren't you supposed to be on holiday?14:23
Saviqmterry, starting tomorrow14:23
mterrySaviq, hrm...  OK then, carry on  ;)14:23
=== Malsasa_ is now known as Malsasa
mzanettiSaviq: https://code.launchpad.net/~unity-team/unity8/two_see_more_bugfix/+merge/234340/comments/57286514:32
Saviqmzanetti, yeah, saw that, will have a look14:32
mzanettiSaviq: ok... I see (re sync MP)14:33
mzanettiSaviq: is silo 11 about to land?14:33
Saviqmzanetti, you tell me ;)14:34
mzanettiah ok14:34
Saviqmzanetti, but no14:34
mzanettiI thought you'll land that still today14:34
Saviqmzanetti, there's a bunch of unapproved branches14:34
mzanettiack14:34
=== salem_ is now known as _salem
=== dandrader is now known as dandrader|afk
=== _salem is now known as salem_
dednickmzanetti, satorisany idea how to catch individual role changes for model data in qml?14:48
dednickSaviq: ^14:48
dednick* any idea14:48
mzanettidednick: ?14:48
mzanettiemit dataChanged(index, index, QVector<int> roles)14:49
dednickmzanetti: doesnt seem to work with Connections { target: modelData; onXXXChanged: {} }14:49
mzanettiah14:49
mzanettino. that won't do14:49
mzanettihmm14:49
mzanettidednick: you can do this:14:49
dednickor onModelDataChanged14:49
mzanettiproperty var foobar: model.barbaz14:49
mzanettionFooBarChanged14:49
dednickmzanetti: yeah. though so14:49
mzanettinot totally elegant though14:49
dednickmzanetti: ok, thanks14:49
SaviqMacSlow, https://code.launchpad.net/~unity-team/unity8/notifications-audio-no-play-empty/+merge/23448614:53
MacSlowSaviq, on it...14:54
SaviqMacSlow, no worries, not pressing14:56
Saviq@unity ↑ important to note; bool("") === false, but bool(QUrl("")) === true14:56
SaviqI'd say a QTBUG really14:56
kgunnwtf...14:57
mzanettiI think QUrl("") actually only sets the path14:57
mzanettiso there might be a valid authority or protocol string somewhere14:58
Saviqdandrader|afk, mterry, paulliu http://pastebin.ubuntu.com/8327743/15:01
Saviqmzanetti, think it defaults to file:// ?15:01
MacSlowSaviq, it is a bit odd15:01
MacSlowSaviq, I mean the need for this kind of fix15:01
mterrySaviq, sigh... fixed15:02
mzanettiSaviq: likely, but I didn't verify15:02
SaviqMacSlow, well, that's a different thing, our media components didn't deal well with playing an empty string (to be fixed)15:02
SaviqMacSlow, but still we shouldn't even call play() on it15:02
mzanettiSaviq: actually file:/// to be precise :D15:02
Saviqmzanetti, you're kidding?15:03
mzanettiah no... "" might be 2 / only15:03
Saviqmzanetti, that would be your slash15:03
Saviqmzanetti, meaning your root directory15:03
mzanetti:D15:03
MacSlowSaviq, btw... approved15:04
SaviqMacSlow, t15:04
Saviqx15:04
MacSlowSaviq, jenkis will take a while I guess15:04
SaviqMacSlow, yeah15:04
MacSlowSaviq, but since your branch is so fresh it should cleanly merge15:05
SaviqMacSlow, yeah well, let's see if something in silo 11 conflicts15:05
greybackdandrader|afk: FYI https://code.launchpad.net/~dandrader/unity-api/splash/+merge/233288 fails on CI15:11
mzanettiSaviq: hey, do we actually have the gesture cancellation in place yet?15:15
mzanettiwe don't, right?15:16
paulliuSaviq: ok. removed tags. Thanks.15:16
mzanettiSaviq: IMO bugs like these are are misleading because they aren't so much of an issue any more when that is fixed: https://bugs.launchpad.net/ubuntu-ux/+bug/136870215:16
ubot5Launchpad bug 1368702 in ubuntu-ui-toolkit (Ubuntu) "[SDK] HEADER ISSUE: Back arrow needs to be moved further to the right and also have a larger invisible touch target" [Undecided,New]15:16
greybackmzanetti: we don't have gesture cancellation15:17
Saviqmzanetti, no15:20
Saviqmzanetti, we don't have it I mean, and correct, that bug would be less important if we had it15:21
=== dandrader|afk is now known as dandrader
mzanettiSaviq: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1368702/comments/115:21
ubot5Launchpad bug 1368702 in unity8 (Ubuntu) "[SDK] HEADER ISSUE: Back arrow needs to be moved further to the right and also have a larger invisible touch target" [Undecided,New]15:21
Saviqdandrader, do you have the new python version of the strip tags script?15:22
Saviqdandrader, 'cause you seem to have the most of the two bad tags that are still travelling around15:22
dandraderSaviq, I'lll download it again15:22
Saviqdandrader, http://people.canonical.com/~msawicz/unity8/strip-u8-tags.py15:23
Saviqdandrader, and remember you need to strip both local and remote, as tag deletion doesn't travel with commits15:23
Saviqjosharenson, please strip tags on lp:~josharenson/unity8/fix_panel_minute_count and any local checkouts you might have15:24
Saviqjosharenson, http://people.canonical.com/~msawicz/unity8/strip-u8-tags.py15:24
josharensonsaviq, ack...15:24
josharensonhas that script been updated recently?15:24
dandraderSaviq, could you name a branch that has bad tags?15:25
dandraderSaviq, I'm running it and it's not printing anything15:25
dandraderSaviq, ah, finally got some tags in lp:~dandrader/unity8/real_header_splashscreen15:26
dandraders/got/found15:26
dandraderSaviq, ahhhh! strip-u8-tags.py  doesn't run on the current dir by default. you have to specify "strip-u8-tags.py  ."15:29
Saviqdandrader, http://pastebin.ubuntu.com/8327743/15:29
dandraderSaviq, now it's explained why I wans't finding anything locally15:29
Saviqdandrader, oops, sorry, should probably make it work like that :)15:29
dandraderSaviq, or print out an error like "please specify a directory"15:31
Saviqdandrader, yeah, you know... that script was only supposed to live for a week or so :P15:31
Saviqthen it got rewritten in py, and was supposed to only live another week...15:31
dandraderSaviq, all my branches should be clean now15:32
Saviqdandrader, thanks15:33
josharensongreyback, ready when you are15:33
=== salem_ is now known as _salem
greybackjosharenson: https://plus.google.com/hangouts/_/canonical.com/gerry15:34
Saviqjosharenson, no, as long as you had the .py version15:34
dandradergreyback, oh, right. should be fixed now (let's see what jenkins says next)15:40
mterrygreyback, how do I find out where the OSK is on screen (from the shell code) -- we used to have OSKController, now we have InputMethod, but it doesn't seem to give info on where on the screen is actually being drawn15:49
greybackdandrader: thanks15:59
greybackmterry: hmm. OSK is actually a maximized surface like any other (non-fullscreen) app surface, with lots of transparency. Shell doesn't know from that how big the OSK is16:00
Saviqgreyback, that's why we have the keyboard communicator socket?16:01
greybackmterry: if InputMethod doesn't tell you, I'm not sure there's any other place to get that info right now16:01
Saviqor... had...16:01
greybackSaviq: yep16:01
mterrygreyback, I looked into how anchorToKeyboard works and it's doing "Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0"16:01
Saviqgreyback, do we have access to ↑ now?16:01
mterrygreyback, does that seem likely to work?16:01
mterryDidn't in my quick test, but I'm probably doing something wrong, since that's what the SDK uses16:01
greybackmterry: yeah that works for apps. I don't see any reason why it would not work for unity8 too, there may be somethinkg missing in the QPA for it16:02
Saviqgreyback, it didn't work before qtmir because shell was never focused16:02
greybackmterry: if it's what the SDK uses, I'm sure we can make it work for shell16:02
Saviqand it *did* work before that because Qt didn't care16:02
Saviqand then it started caring16:02
greybackSaviq: now the unity8 "Window" should be focused, or at least we can persuade Qt that it is16:03
mterrygreyback, so you're saying there may be qtmir work for this?16:03
Saviqgreyback, yeah, that'd be grand16:03
greybackmterry: a little yeah16:03
mterrygreyback, OK.  I think I'll go with a workaround for now, then file a qtmir bug about it for proper solution16:04
greybackmterry: thanks16:05
=== dandrader_ is now known as dandrader|lunch
=== _salem is now known as salem_
mterrygreyback, btw that Qt.inputMethod.keyboardRectangle.height trick did work after all -- forgot to get back to you on that19:32
greybackmterry: it works? Oh great19:32
* greyback draws satisfying line through task in his TODO list19:32
=== dandrader_ is now known as dandrader
dandradergreyback, what would be the best way to refer to an image in /usr/lib/$ARCH/qt5/qml/Ubuntu/Components/Themes/Ambiance/artwork/20:22
dandradergreyback, ^^^ that's about your comment https://code.launchpad.net/~dandrader/unity8/real_header_splashscreen/+merge/233286/comments/57189820:23
dandraderfrom unity820:24
greybackdandrader: nothing easy springs to mind. But it's late here, so I'm not thinking hard right now20:37
dandradergreyback, I think the only way would be to have a wrapper component there in Ubuntu/Components/Themes/Ambiance so unity8 could import it20:38
dandraderlike just an Image with a preset source20:38
dandradergreyback, so easier to copy over like Florian did20:39
greybackdandrader: could this be a component in the SDK, instead of copying all this stuff over? A kinda private component20:39
dandradergreyback, are you talking about PageHeadStyle and MainViewStyle?20:41
greybackyep20:41
dandradergreyback, they are :D20:41
dandradergreyback, but for the splash screen we needed modified versions of them20:41
dandradergreyback, so they were copied over and modified20:41
dandradergreyback, I believe mainly so that it's not tied to the theme of the qml scene but to a hardcoded one20:42
dandradergreyback, florian left some todo's there about how it should be ideally in the future20:42
dandradergreyback, but the way the sdk is implemented at the moment does not support such flexibility20:43
dandradergreyback, thus the copy-over-and-modify approach20:43
greybackdandrader: is a pity. I just forsee design changes in SDK happening that break this trick20:44
dandradergreyback, error prone as it will have to be updated every time their sdk counterparts change, but it-just-works(Tm)20:44
dandradergreyback, ditto20:44
greybackdandrader: I'm not going to block this. I just dislike copying the images, so would like to explore all options before just copying20:54
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== PyAr is now known as alecu
=== zoktar_ is now known as zoktar
=== irsol_ is now known as irsol
=== zoktar is now known as 77CAAFYCY
=== salem_` is now known as _salem
=== jamesh is now known as 6JTAAFV9I
=== zbenjamin is now known as 6JTAAFWR0
=== hggdh is now known as 6JTAAFWBI

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