/srv/irclogs.ubuntu.com/2014/10/03/#ubuntu-unity.txt

=== mpt_ is now known as mpt
=== sil2100_ is now known as sil2100
Mirvmzanetti: hey! we're seeing a crash and failing tests on utopic, could you take a look at that? http://ci.ubuntu.com/smokeng/utopic/touch/mako/267:20141003:20140929.1/10782/unity8/09:04
tsdgeosMirv: he's not here today09:05
tsdgeospstolowski: another upstream relase of unity-scopes-shell, can you merge again?09:06
pstolowskitsdgeos, yep09:06
tsdgeosMirv: i'm having a look at those09:07
tsdgeosbut honestly autopilot is awful and we should just not be using it is my answer every time an autopilot test fails09:08
tsdgeosno offsense to the autopilot developers09:08
Mirvtsdgeos: ok, thanks. maybe check the crash then instead :)09:12
Cimitsdgeos, +109:17
Cimiit can do some pretty cool things, but for us gives more false fails than real ones09:18
Cimiwe don't pay attention to its failures anymore09:18
Cimi90% is something broken in ap09:18
tsdgeosCimi: can you do https://code.launchpad.net/~aacid/unity8/base_not_clickable/+merge/236835 https://code.launchpad.net/~aacid/unity8/overviewPreviewHideGotoScope/+merge/236926 ?09:19
Cimionly few times is a real test failing...09:19
Cimitsdgeos, yes I can, I am out of features to work on today (finished yesterday)09:19
Cimitsdgeos, throw me reviews/bugs09:19
pstolowskitsdgeos, yesterday's hotfix hasn't been merged yet into trunk, i'll updated feeds when it happens (should be soon)09:50
tsdgeosok09:50
pstolowskitsdgeos, btw i'm working on displaying child feeds now, but that should be transparent for you09:54
tsdgeospstolowski: not really, i'll have to paint them :D09:54
tsdgeosi'm not using a card in there, was not as flexible as we needed09:54
pstolowskitsdgeos, hmm, so we don't have subtitle already?09:54
pstolowskiah09:54
tsdgeosdoes anyone know at what point the SessionAuthorizer is created for qt apps?10:49
Cimitsdgeos, first needs fixing, second approved10:55
tsdgeosCimi: nah, it doesn't need fixing :P10:57
Cimitsdgeos, oh yes it does :P10:58
Cimitsdgeos, what you mean is a bugfix?11:06
tsdgeosCimi: i mean i don't want to remove 100 lines of code to fix a thing when i can remove 111:06
tsdgeosbecause removing 1 is easy11:06
Cimitsdgeos, if we decide we don't want previews anymore in unity, we remove the previews, not we keep them but we remove the mouse area to enable them :)11:06
tsdgeosremoving 100 makes lots of things break11:06
tsdgeosCimi: that's a bad example11:07
tsdgeosbut wathever11:07
tsdgeosyou don't like it11:07
tsdgeosreview the other MR11:07
tsdgeosand land them together11:07
tsdgeosit's not that hard, is it?11:07
Cimitsdgeos, I much rather do...11:07
tsdgeosdamnit i'm getting old11:09
tsdgeosdoes anyone remember the name of the function that tells you if there's anyone connected to a signal11:09
tsdgeoscan't find it11:09
tsdgeosit is totally discouraged11:10
tsdgeosbut i awnt it11:10
Cimitsdgeos, qml, qt?11:10
CimiI can help you googling :)11:10
tsdgeosqt11:11
tsdgeosi even remmeber the damn docu11:12
tsdgeossaying this can be used to save you for doing something heavy if noone is connected to your signal11:12
Cimitsdgeos, you can see that from slots?11:13
tsdgeosfoundit11:13
tsdgeosdamnit11:13
tsdgeosbool QObject::isSignalConnected(const QMetaMethod & signal) const [protected]11:13
Cimicool11:14
tsdgeosCimi: see what?11:14
Cimitsdgeos, neverming11:14
Cimitsdgeos, anyway, can you resubmit the branch killing base without that prerequisite?11:15
tsdgeosno?11:15
tsdgeoswhy11:15
Cimitsdgeos, because we don't need the first if we do the latter, no?11:16
Cimitsdgeos, I see your point of bugfixing and stuff, I always been told from saviq that if we remove a feature, we do it completely (removing all unneeded code)11:17
tsdgeoswell we do because it's a prerequisite :D11:17
Cimitsdgeos, what is your opinion?11:18
tsdgeosmy opinion is that there is one liner that fixes a bug11:19
tsdgeosand then there's a MR that cleans up shit copied and pasted code we have from god knows where11:19
Cimitsdgeos, it is one liner but implies that we should get rid of all this shit code with it anyway...11:19
tsdgeosCimi: not really11:20
tsdgeoswe could remove the highlighter11:20
tsdgeoswithout removing the abstractbutton11:20
tsdgeosor leave the hightlighter and remove the abstractbutton11:20
CimiI think we should do both at the same time no?11:20
Cimichange to Item and remove highlight11:20
tsdgeoswhy?11:20
=== Estilanda_ is now known as Estilanda
tsdgeoswhy in your mind is not valid to have an Item with highlight?11:21
dandrader_tsdgeos, that launcher test is driving me nuts. I don't understand why it sometimes refuses to flick. will check if reverting the test refactoring make this instability go away. very frustrating11:21
Cimibecause if we don't want the highlight we don;'t need the button and we don;t need the style for the highlight11:21
tsdgeosCimi: but as you can see the highlight is not related at all with the button11:21
tsdgeosso they are two separate things11:21
tsdgeosone could higlight based on the moon phases11:22
tsdgeoswihtout the need of a button11:22
Cimi:)11:22
CimiI like your humor :)11:22
dandrader_tsdgeos, but that tip of running xvfbtest in a loop until it fails is a great one. I noticed xvfbtest is siginificantly slower than the regular test11:22
tsdgeosCimi: thank you11:22
tsdgeosCimi: but really11:22
tsdgeospressed: emptyListItem.selected11:22
tsdgeosand then11:23
tsdgeos property bool selected: false11:23
tsdgeosit is a spearate thing11:23
tsdgeossure your mind tells you it will be linked to a button and thn you see the button remove dna you say to remove it11:23
tsdgeosbut it's not really linked11:23
tsdgeosno?11:24
tsdgeosactually wait11:24
tsdgeosbecause i may be lying :D11:24
Cimitsdgeos, I am just checking if we can remove it11:32
tsdgeosremove what? the higlighter?11:32
tsdgeosit's removed in the other MR11:32
Cimitsdgeos, since grepping for ListItems reveals imports in panel and launcher11:32
tsdgeosyeah11:32
tsdgeosbut not used there11:32
tsdgeosbut pelase double check11:32
Cimitsdgeos, so we can remove those imports as well :)11:34
tsdgeosCimi: no11:35
tsdgeosand even if we could11:35
tsdgeosthey have nothing to do with this11:35
tsdgeosif you continue like that11:35
tsdgeosi will have to fix all of the current bugs and put them in a single MR11:35
Cimitsdgeos, ahah ok I stop11:40
tsdgeosCimi: but actually you where right the first one is not totally correct11:40
tsdgeosi've fixed it now so that highlight is actually dependent on the selected property only11:41
tsdgeosand not on a possible pressed state since it can't be pressed anymore11:41
tsdgeosCimi: https://code.launchpad.net/~aacid/unity8/base_not_clickable/+merge/23683511:41
tsdgeosnow the guy that devided to call the root of that item emptyListItem11:41
tsdgeosbad naming :D11:41
Cimitsdgeos, did you bzr blame? :)11:42
tsdgeosnah11:43
tsdgeosit may even be me11:43
tsdgeosdoon't think so though11:43
tsdgeosand i'd say this was copied from the sdk11:43
tsdgeosor smeels like it11:43
Cimitsdgeos, saviq11:44
Cimitsdgeos, but at revision 111:44
Cimiso...11:44
Cimiit doesn't say11:44
Cimianyway11:44
Cimimuch better now11:44
tsdgeosthis history is new anyway11:44
tsdgeoswe moved repo like 3 times11:44
tsdgeoslosing history afair11:44
Cimitsdgeos, it was done on purpose to forget the past :)11:46
Cimiwe cannot blame anyone anymore :)11:47
tsdgeos:)11:48
Cimitsdgeos, was it actually working before?12:03
Cimipressed: (emptyListItem.selected || (emptyListItem.highlightWhenPressed && emptyListItem.pressed)) ? "pressed" : ""12:03
Cimipressed is a bool, not a string :)12:03
Cimiunless "pressed" evaluated true12:03
=== _salem is now known as salem_
=== alan_g is now known as alan_g|lunch
mterrydednick, heyo!  Got a moment to talk indicator UI code?12:38
mterrydednick, I'm trying to allow the indicators to swap between two different profiles (essentially two different menuObjectPaths).  I've done some work to cache the menus from dbus.  But now I'm hitting what looks like a delay in populating the UI elements inside the indicator menucontent12:40
tsdgeosCimi: it's javascript12:45
tsdgeosit does magic12:45
dandrader_tsdgeos, tst_Launcher should finally work reliably in touchOverview branch12:45
tsdgeosdandrader_: cool12:45
dandrader_tsdgeos, did you test pressing the top left key in the vkb?12:46
dandrader_tsdgeos, that was the most prominent case this MP solves12:46
tsdgeosdandrader_: shouldn't it also fix what i mention as a comment?12:47
dandrader_tsdgeos, I replied to it12:47
tsdgeosah12:47
tsdgeosjust came back from lunch12:47
tsdgeos^_^12:47
* tsdgeos reads12:47
tsdgeosAlbertA: ping12:47
dandrader_tsdgeos, actually, now that I checked the code. it seems PhoneStage animates the right edge as soon as the drag starts, regardless of whether the EdgeDragArea has already recognized is and an edge-drag or not12:48
tsdgeosmay be12:48
dandrader_tsdgeos, but the problem is that the right-edge animation moves the ap window away12:49
dandrader_tsdgeos, so the tap ends up as a short drag from the app window's point of view. which aggravates the issue12:49
=== dandrader_ is now known as dandrader
=== alan_g|lunch is now known as alan_g
=== karni is now known as karni-lunch
mterryIf I pass an object from C++ to Qml, Qml owns that object, right?  And will delete it at will?  But what if that object has a parent?  Then will Qml back off?13:35
dandradertsdgeos, fixed the "tapping on the right edge of the screen" issue13:47
dandradertsdgeos, you can now easily tap on the category selector button in the dash for instance(that down-pointed arrow on the far right)13:47
tsdgeosmterry: http://qt-project.org/doc/qt-5/qtqml-cppintegration-data.html#data-ownership13:47
tsdgeosdandrader: cool13:47
tsdgeoslet's rebuild the ppa13:47
tsdgeospstolowski: how's the merge going?13:47
mterrytsdgeos, nice so it won't touch an object with a parent, makes sense13:48
dandradertsdgeos, so now that right-edge animation only starts to move the app window once the gesture has been recognized13:48
tsdgeoswhich i guess makes sense13:48
tsdgeospstolowski: no merge from trunk yet? :/13:50
pstolowskitsdgeos, merge still didn't happen13:50
tsdgeospstolowski: but trunk has a newer version than our packages13:50
pstolowskited, line #78 in the ci sheet13:50
tsdgeospstolowski: so it won't get picked from ppa unless you merge, no?13:50
pstolowskitsdgeos, do you have the changes i put yesterday?13:50
tsdgeospstolowski: i have everything from the feeds branch13:51
* ted Is confused, did you mean tsdgeos ?13:51
pstolowskited, sure, sorry ;)13:51
pstolowskitsdgeos, i merged trunk into feeds yesterday as we landed some stuff. after that we requested one more MP, but it's not merged yet13:52
tsdgeospstolowski: then why is feeds older than trunk?13:52
tsdgeoshmmm13:53
tsdgeosbecause i may be missing a rebuild :d13:53
* tsdgeos clicks the button13:53
pstolowskitsdgeos, ah, good. http://pastebin.ubuntu.com/8486034/13:54
tsdgeosyeah i saw :/13:55
tsdgeossorry for the noize13:55
pstolowski(and of course nothing to push)13:55
pstolowskitsdgeos, np13:55
pstolowskitsdgeos, can you start displaying subtitle role if not empty (will be empty for a while in all cases, but i'm working on a separate branch that will populate it)13:59
pstolowski?14:00
tsdgeospstolowski: i am juggling lots of things atm, will try to get it done before eod, if not on monday14:02
pstolowskitsdgeos, ok, no worries, next week is fine14:02
tsdgeosdednick: is it possible that all the ap tests for indicators are borked?14:05
=== karni-lunch is now known as karni
dednicktsdgeos: it is always possible.14:06
tsdgeosdednick: looking for objectName in DefaultIndicatorPage objects14:07
tsdgeosand from a quick grep i think you don't set that anymore?14:07
tsdgeosdandrader: you're reviewing the wrong MP :D14:07
dandradercrap14:08
dednicktsdgeos: erm. i don't rember changing it, but i can see that it should be set.14:09
dednicktsdgeos: got a link?14:09
tsdgeosto the failures? it was a local fail let me see if there's something in the internets14:09
dandradertsdgeos, mind if I delete that proposal then?14:10
tsdgeosdandrader: well it's clearly marked as superseeded and has a link to the other, but as you wish14:10
dandradertsdgeos, still does it rely on an unreleased unity-api?14:12
dandradertsdgeos, becaue of "libunity-api-dev (>= 7.92),"14:12
tsdgeosdandrader: yes and no14:13
dandradertsdgeos, speak14:13
tsdgeosonly because i decided to base it on top of that other branch that we are landing as part of silo1914:13
dandradertsdgeos, ah, it has a prerequisite14:13
tsdgeoswhich i am pretty sure doesn't really need to be based off, but helps with potential conflicts14:13
tsdgeosdandrader: yeah14:14
tsdgeosas marked in the MR14:14
tsdgeos:D14:14
dandraderyes, just noticed it14:14
tsdgeosdednick: using silo 19 i get stuff like http://paste.ubuntu.com/8486151/14:16
dednicktsdgeos: ok. i'll take a look. something obviously isn't connected up correctly anymore14:18
tsdgeosdednick: cool tx14:23
AlbertAtsdgeos: pong14:25
tsdgeosAlbertA: did you ever get to record the video for the screen capture you promised in the bug?14:25
AlbertAtsdgeos: oh sorry no...I got pulled into some bug hunting/fixing...14:27
AlbertAlemme try and do that right now14:27
=== dandrader is now known as dandrader|afk
tsdgeosdandrader|afk: if you have some time i fixed your comment in https://code.launchpad.net/~aacid/unity8/fix_left_swipe_temp_scope_overview/+merge/23655214:55
=== Estilanda_ is now known as Estilanda
paulliudednick: I've add a comment on the merge request https://code.launchpad.net/~nick-dedekind/unity8/lp1336715-checkable-bindings/+merge/23450315:09
dednickpaulliu: ta. so you were still able to get the flight-mode out of sync? or was it that flight mode & wifi were both turned on?15:12
paulliudednick: yes. But very hard.15:14
paulliudednick: Yes, that's flight mode & wifi both turned on after non-sync.15:15
dednickdednick: but still in sync with the flight mode in system settings?15:15
dednickpaulliu: ^15:15
paulliudednick: Not sure. Let me try again.15:16
dednickpaulliu: ok, if you get it out of sync, can you run a command on ssh for me?15:16
paulliudednick: Because have to do that very fast. I just pull the full indicators down.15:16
paulliudednick: sure.15:16
dednickgive me a sec15:16
paulliuWait. I found we can turn on Flight mode and then turn on WiFi.15:17
paulliuWhat's that?15:17
=== dandrader|afk is now known as dandrader
dandradertsdgeos, ok15:20
paulliudednick: rfkill list tells me that turn on WiFi will turn off the Soft block of WiFi.15:20
dednickpaulliu: dbus-send --print-reply --session --dest=com.canonical.indicator.network /com/canonical/indicator/network org.gtk.Actions.DescribeAll15:21
dednickpaulliu: yeah, i think if you manually turn on wifi when flight mode is on, then it allows it to be on.15:21
paulliudednick: http://paste.ubuntu.com/8486539/15:28
paulliudednick: Settings flight mode is off. Indicator flight mode is on. And it automatically connects to WiFi.15:29
paulliudednick: http://tinyurl.com/nq3txw915:32
dednickpaulliu: and thats with my branch?15:35
paulliudednick: yes.15:36
dednickpaulliu: doh. thanks15:36
dednickkgunn: ^ still seems to be a problem with the flight mode switch. going to need more investigations15:37
paulliudednick: I've installed MenuItemFactory.qml to /usr/share/unity8/Panel/Indicators md5sum is df4600201f8fdfbd46c4d281f8a7b5f515:38
paulliudednick: You have to push indicators very fast to get it non-sync.15:39
paulliudednick: Faster than any rhythm games I think.15:40
dednickpaulliu: heh. yeah still a but though :/15:40
kgunntah15:42
kgunnmterry: looks like dednick might be reworking that checkable-bindings branch ^15:43
mterrykgunn, hah!  procrastination for the win15:43
kgunn:)15:43
dednickhm. one possiblity is that the server didnt respond to the change in the check status from the indicator15:45
dednickonly way to know that is if the system settings one does the same thing though...15:46
dednickthere's no validation on update.15:47
dandraderracarr, would you have some time to review that? https://code.launchpad.net/~dandrader/platform-api/removeMirClipboard/+merge/23709415:47
dandraderracarr, not high priority though15:47
dednickother possibility is that my code is shit. but that cant be right...15:47
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|EOW
=== gatox is now known as gatox_lunch
=== gatox_lunch is now known as gatox
=== dandrader|afk is now known as dandrader
dandraderracarr, thanks for the review. you can top-approve as well18:15
racarrdandrader: Np18:28
=== salem_ is now known as _salem

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