/srv/irclogs.ubuntu.com/2015/03/25/#ubuntu-unity.txt

=== tmpRAOF is now known as RAOF
ignitingHi all! I would like to fix https://bugs.launchpad.net/unity/+bug/1241972. Can someone here give some pointers?06:53
ubot5Ubuntu bug 1241972 in Unity 7.2 "Drag and drop from Dash to Desktop doesn't work" [High,Triaged]06:53
ignitingI have gone through https://unity.ubuntu.com/getinvolved/development/unity/ and successfully build unity.06:54
Mirvtsdgeos: see the bug update, I'm not sure what to do - should it be seen if the autopilot issue could be fixed by adjusting how it uses DBus?09:42
tsdgeosMirv: it should yes09:42
tsdgeosi don't think it's an autopilot issue per se09:42
tsdgeosor may be09:42
tsdgeosbut my most probable guess without actually having read the code or the errors :D09:42
tsdgeosis that stuff is now faster since more threads are used09:43
tsdgeosso the uitk tests need a few more "wait for this to happen"09:43
tsdgeosthat they didn't need before because everything was slower09:43
Mirvtsdgeos: it's not just UITK tests, it's basically all suites as quoted partially in the report09:46
=== duflu_ is now known as duflu
tsdgeosMirv: it's not uitk that is faster now, it's qt09:46
tsdgeosD:09:46
tsdgeosi can give you the same explanation09:46
tsdgeosbut as said, somebody needs to look at it09:46
Mirvright. I think the fix should be on a global level instead of fixing each autopilot suite manually.09:46
MirvI guess QA then09:47
tsdgeosMirv: you can't fix "my test is bad" on a global level09:47
tsdgeosif that's what it is09:47
Mirvit's annoying that it's hard to validate whether the DBus patches were good or not, since the tests don't work...09:47
Mirvtsdgeos: unless it's something autopilot does in some place of it, or the UITK provides to other suites or some such09:48
tsdgeosyep09:51
tsdgeosneeds investigating09:51
Mirvtsdgeos: ok, discussed in landing meeting and moving to #ubuntu-qa to try to get someone to help09:59
tsdgeoscool, i'm busy digging some autopilot issue on unity810:00
tsdgeosi'll try to see if i can find somet time too10:00
Mirv#ubuntu-quality, that is! :D10:01
MirvQatar LoCo would definitely use some manpower too, I visited there first10:01
MirvSaviq: tsdgeos: when you have time please also redo the reboot tests with the updated silo 018 that includes the two last DBus patches10:02
tsdgeos:D10:04
=== marcusto_ is now known as marcustomlinson
faenilit seems like when you tap an item to go to a preview10:30
faenilthe currentIndex property of PreviewListView jumps from10:30
faenilthe right number to 010:30
faenilhttps://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/qml/Dash/PreviewListView.qml#L10010:31
faenilif you put a onIsCurrentChanged: if (isCurrent) console.log("I'm current!", index) there10:31
faeniland then you tap on item 5, currentIndex goes to 5, and then to 010:31
faenilif you touch the list, then it goes back again to 510:32
faeniltsdgeos: ^10:32
faenilany idea why that might happen10:32
faenil?10:32
faenilI tested it with tryGenericScopeView, fwiw10:32
tsdgeosfaenil: let me read again, not sure i understand10:33
faenilok10:33
faenilbasically imagine you have a scope, with a category, with results10:38
faenilyou tap on the result with index 510:38
faenilPreviewListView opens10:38
faenilcurrentIndex is set to 5, and then to 010:38
faenilbut if you try scrolling the list, it is set to 5 again, which is the correct value10:39
faenilnow, I don't understand the jump to 010:39
tsdgeoslistview is pretty crap all in all10:40
tsdgeosyes i see what you mean10:40
tsdgeoscan't say anything else other than if you can have a look to see if you see something obvious which can be the problem10:40
tsdgeosif not open a bug and i'll have a look when i can10:40
faenilthat means I can't know the index of the currently shown item, unless I work it around by saving it before it's changed to 010:41
tsdgeosotoh10:41
faenilok, thank you, I'll keep poking10:41
tsdgeosyou should not try to know the indexes of things10:41
tsdgeosmostly everything you want to know should come through models and stuff10:42
tsdgeosbut yes it's not an excuse for this not working10:42
faeniltsdgeos: how do you take an action on an item without its index? can I define functions in the models with implicit indexes?10:43
faenil(aside setting properties, I mean)10:43
tsdgeosfaenil: what do you mean "take an action on"?10:44
faenilwhatever you want to do on that particular item which is not setting one of its properties10:45
tsdgeossetting a property :D10:46
tsdgeosor if you really really need to call a function10:46
tsdgeoswe usually have a proprety of the delegate that is an internal pointer10:46
tsdgeosso we pass that internal pointer to the model10:46
tsdgeosand then the model knows what you're talking about10:46
tsdgeosno matter of the index10:46
faenilmmm sounds even hackier? :D10:46
tsdgeosnot really i mean i could be doing whatever i wanted on the ui10:47
tsdgeosusing an id is what makes more sense10:47
tsdgeosi don't call it10:47
tsdgeosscope 010:47
tsdgeosbut scope "appsscope"10:47
faenilok..10:47
tsdgeosbut that's just generic suggestions10:48
tsdgeosobviously it may not apply to your use case10:48
faenilyeah, I'll see what I can do, thanks ;)10:50
Cimifaenil, if it resets to 0, might be the model...10:54
Cimifaenil, I saw when listview updating, sometimes resets to 010:55
Ciminot something we control10:55
faenilCimi: the problem isn't resetting to 0, it's not going back to 5 :D10:55
Cimiouch10:55
faenilit only goes back to 5 when I touch the list10:56
Cimifaenil, maybe because we set to 5 before the model is loaded10:56
Cimiah...10:56
Mirvtsdgeos: if you can join #ubuntu-quality so you'll too have a proper backlog..11:03
faeniltsdgeos: onCountChanged is called twice with the same value...so something from cpp thinks the count has actually changed and emits..12:00
tsdgeosfaenil: it's a mock, don't expect it to be awesome :D12:00
faenilnot sure it's because it's a mock...12:01
faeniltsdgeos: anyway I can work it around by not resetting initialIndex12:02
faenilthat way currentIndex does 5->0->5 as it is assigned on both onCountChanged12:02
faenilit seems after the first countChange something causes it to be reset to 0 (but not after the second)12:03
=== dandrader is now known as dandrader|afk
=== marcusto_ is now known as marcustomlinson_
=== dandrader|afk is now known as dandrader
om26ermterry, ping14:11
mterryom26er, hi14:11
om26ermterry, got you a present :-) (bug 1436349)14:11
ubot5bug 1436349 in unity8 (Ubuntu) "welcome wizard re-appears" [High,New] https://launchpad.net/bugs/143634914:11
mterryom26er, oh... you shouldn't have14:11
om26ermterry, I remember I showed you the video a few days ago, today I have exact steps.14:12
mterryom26er, ok, will look at it today.  Thanks!14:12
om26ermterry, also another issue I saw was my Welcome wizard hanged at language selection screen. The 'next' button was partially greyed out, what could cause that ?14:13
mterryom26er, on the language selection?  hmm...  maybe if the shell (which is starting a PAM login for the user in the background) never heard back from PAM?  But that would be unlikely14:15
om26ermterry, it never enabled the 'continue' icon,14:17
mterryom26er, right -- when the shell is logging in PAM, it disables everything as a security measure (it's not really thinking about wizard use case when it does this though).  But if it got somehow stuck in that mode...14:18
tsdgeosmzanetti: easy one for you https://code.launchpad.net/~aacid/unity8/autopilot3/+merge/25409414:23
tsdgeosMirv: for those autopilot tests, are you using mako or krillin?14:53
tsdgeosMirv: and how much until a faiulre? it's been running for a long while here without failures14:58
tsdgeosha i think it just failed :D14:58
tsdgeosthat's timing14:58
mterryom26er, are you seeing that bug in rtm or vivid?15:46
om26ermterry, vivid15:47
mterry(the welcome wizard reappears)15:47
mterryok15:47
tsdgeosMirv: please try https://code.launchpad.net/~aacid/autopilot/dbus_search_no_seen_connections/+merge/25410916:23
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|EOD
DaleK5whrIs there a fix for unity lockup when dragging app windows between work spaces?19:16
DaleK5whrIs there a fix for unity lockup when dragging app windows between work spaces?19:19
DaleK5whrguess everyone is out to lunch19:20
mterryom26er, so I reproduced your bug btw, but I see the edge tutorial on top of the dialer.  And when I finish the tutorial, I don't see the wizard again20:59
om26ermterry, that;s strange, I'll record a video20:59
mterryom26er, I mean, there's definitely a bug in what I see -- edge tutorial should be stopped as well as the wizard21:00
mterryBut it's a different bug21:00
om26ermterry, right, but for me the edge gesture hints start again and again21:00
mterryom26er, ah not the wizard? Just the tutorial?21:01
mterryOK, I thought you were saying wizard starts21:01
om26ermterry, yes, the tutorial21:01
om26ermterry, I always mix those two21:01
mterryom26er, (yeah understandable -- they appear to be one and the same sort of.  But very different pieces of code underneath)21:01
om26ermterry, check email for video.21:11
mterryom26er, thanks!21:11
mterryom26er, ah...  I wasn't swiping from left again to restart it21:13

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