/srv/irclogs.ubuntu.com/2013/10/30/#ubuntu-unity.txt

baron_zemousing ubuntu 13.10 and unity 7.1.2 here, was wondering where I would find the file in my system for the unity gui's launcher icon padding.  I've found the 'dash_widget.json' which had padding variables inside of it, but was not what i was looking for.00:13
baron_zemoI want to edit the left and right padding variables for the unity launcher.  the space between the icons and the desktop.00:15
baron_zemois this possible?00:22
baron_zemoI've edited something similar in the cinnamon app switcher before...00:23
ChrisTownsendbaron_zemo: Hi, I'm not quite sure I follow what you are asking.  Do you want to decrease/increase the size of the icons (and the Launcher) or are you wanting to leave the Launcher the same width and make the icons smaller or something else?00:29
baron_zemoChrisTownsend, no icon sizes aside, there is a constant space between the icons and the windows you open.  the space around the icons, to the left and right00:30
baron_zemoI'm pretty that's just padding, and it either stays the same as you increase icon size, or increases proportionally00:31
baron_zemothere's got to be a variable/function for it somewhere.00:31
baron_zemothis: http://imgur.com/a/vqpQQ00:36
baron_zemoChrisTownsend, http://imgur.com/a/vqpQQ00:36
ChrisTownsendbaron_zemo: Ok, thanks for the pic.  That helps me visualize what you are asking.  I'm pretty sure this value is hard coded in the Unity code.  Feel free to enter a bug to make this configurable, and as always, patches are welcome:)00:38
baron_zemoChrisTownsend, aw man, yeah if it's hardcoded and not a padding variable, yeah .  okay thanks man.00:41
ChrisTownsendbaron_zemo: Sorry I didn't have a better answer for you:)00:42
baron_zemoChrisTownsend,  better than this guy http://askubuntu.com/questions/368214/where-can-i-find-unity-7-1-2s-appearence-gui-files-on-my-drive00:46
baron_zemo:'(00:46
ChrisTownsendWow...just wow.00:47
ChrisTownsendbaron_zemo: Have you tired the Unity Tweak tool?00:47
ChrisTownsendErr, I mean tried.00:47
baron_zemoyes, unity-tweak, ubuntu-tweak, dconf-editor and myUnity and tweak-tools00:48
baron_zemoI'm 99% sure i've adequately looked them over and haven't seen the option, or maybe i saw it but did not recognize it00:49
ChrisTownsendOk, I know what you are looking for wasn't in it, but I thought you might find it handy, but you are already aware.00:49
baron_zemoit's no big deal ofcourse i just have free time.00:49
ChrisTownsendHeh, ok.00:49
=== seb128_ is now known as seb128
=== duflu_ is now known as duflu
=== iahmad is now known as iahmad|afk
tsdgeosmhr3: can you check https://code.launchpad.net/~aacid/unity8/lvwph_bad_header_position_1240118/+merge/193200 fixes the problem for you? It does here09:27
tsdgeosmzanetti: how's the autolanding thing going? need help? we really need to get going :D09:27
tsdgeoswe've 18 approved reviews :D09:28
mhr3oh the conflicts! :P09:29
mzanettitsdgeos: only 18? I thought it would be more :D09:29
mzanettiMacSlow: how's larsu's branch integration going?09:29
=== iahmad|afk is now known as iahmad
mzanettitsdgeos: FYI: CI should work again, but our AP tests are failing on trusty09:38
tsdgeosmzanetti: sure, so who's fixing them?09:39
tsdgeos:D09:39
mzanettitsdgeos: MacSlow is. actually larsu already prepared a branch which should fix. needs a little more love by MacSlow still09:39
tsdgeosookidoki09:40
MacSlowmzanetti, all done09:40
mzanettiMacSlow: ah cool. are all the tests passing on that branch?09:40
MacSlowmzanetti, locally yes... on jenkins I don't know09:41
mzanettiMacSlow: ok. which branch?09:41
MacSlowmzanetti, I assume you're talking about the notify-osd/unity8 notification-service-takeover09:42
MacSlowmzanetti, it's all merged by now09:42
mzanettiMacSlow: it's merged to trunk already?09:43
MacSlowmzanetti, Saviq did that yesterday09:43
mzanettiah. nice09:43
* mzanetti triggers a few jenkins runs09:43
MacSlowmzanetti, yup... both relevant branches updated... http://bazaar.launchpad.net/~indicator-applet-developers/notify-osd/trunk/revision/473 http://bazaar.launchpad.net/~unity-api-team/unity-notifications/trunk/revision/18609:45
MacSlowmzanetti, so no more mass-failure should happen09:45
mzanettiMacSlow: ah I see, that wasn't in unity809:46
mzanettiMacSlow: so I guess we still need to wait for those projects to be released09:46
MacSlowmzanetti, tested the notification-service take-over only on my desktop though09:46
MacSlowmzanetti, correct... the changed needed to happen in the notification-backend and notify-osd itself09:46
Cimimzanetti, do we need tests here? https://code.launchpad.net/~nick-dedekind/unity8/lp1240756/+merge/19293909:53
mzanettiCimi: hmm... not really I'd say.09:55
Cimimzanetti, this only because I'm not the author of the branch? :D09:55
mzanettiCimi: yeah, you got it09:56
Cimihah09:56
Cimi:D09:56
mzanettiCimi: no... I mean. We could test if the image is invisible when !== Ready09:56
mzanettiCimi: but that kinda tests the Image {} itself which we assume is tested withing Qt09:56
Cimior width of control09:56
mzanettiCimi: actually, yeah... for the width we probably should have tests, you're right09:57
Cimimight write a test for him to safe time09:57
tsdgeosmzanetti: i made the switching previous thing crash09:58
tsdgeosbut now i can't repro it09:58
tsdgeos:-(09:58
Cimitsdgeos, on https://code.launchpad.net/~aacid/unity8/lvwph_bad_header_position_1240118/+merge/19320009:58
tsdgeosand since somehow it seems i have the crash stuff disabled in my desktop09:58
tsdgeosi don't even have the bt  :-/09:59
tsdgeosCimi: yes?09:59
Cimitsdgeos, I just read the diff so I don't know the rest of the code10:02
mhr3tsdgeos, do you even have apport installed? :)10:02
Cimitsdgeos, I was not a huge fan of setting         m_inContentHeightKeepHeaderShown = m_headerItem && m_headerItem->y() == contentY();10:02
Cimi        setContentHeight(contentHeight);10:02
Cimi        m_inContentHeightKeepHeaderShown = false;10:02
tsdgeosmhr3: i actually do :D10:02
tsdgeosCimi: you are welcome to fix it otherwise10:02
Cimitsdgeos, I don't know the code, I was just wondering if you had better ideas10:03
tsdgeosCimi: if i had better ideas, i would have created a better patch10:03
Cimifair :D10:03
mhr3tsdgeos, fwiw i just tested it, does indeed fix the header10:04
tsdgeosmhr3: what was the "There's still the issue Saviq described - the previews move when swiping between them, " in https://code.launchpad.net/~unity-team/unity8/switching-previews/+merge/18955610:04
tsdgeosmhr3: i don't think i see anything wrong while swiping10:05
mhr3tsdgeos, there seems to be a couple more revs, so perhaps it got fixed? :)10:06
tsdgeosmhr3: maybe, can you describe to me what it was or try it yourself?10:06
mhr3you wouldn't miss it, it was very visible and weird :)10:07
mhr3basically the previews were moving into [0,0] when you swiped10:07
tsdgeosok10:09
Cimitsdgeos, can you put m_headerItem && m_headerItem->y() == contentY() just in update layout?10:10
Cimijust a no is enough :)10:11
CimiI know you worked loads on that yesterday10:11
tsdgeosCimi: update layout == viewportMoved ?10:13
Cimitsdgeos, yeah sorry10:14
tsdgeosCimi: the test says i can't10:19
tsdgeosi.e. do the change you suggest and testHeaderPositionBug1240118 doesn't work anymore10:19
tsdgeoscan you please confirm?10:19
tsdgeosbooooo10:22
tsdgeosi knew it10:22
tsdgeosthis test wasn't going to fly on the VM's10:22
tsdgeosmzanetti: you have a " print("model is", model)" in the switching previews thing10:34
mzanettitsdgeos: that does sound like me, altough I thought I had removed them all10:34
mzanettitsdgeos: will fix10:34
tsdgeosmzanetti: also why is onClicked now different to onPressAndHold in GenericScopeView?10:35
mzanettitsdgeos: because we always want to show a preview onPressAndHold. and we always want to show a preview onClicked except for apps10:36
tsdgeoshmmmok10:36
tsdgeosnot cool harcoding the names in there10:37
tsdgeosis that something the scopes can help us with?10:37
mzanettitsdgeos: I had this discussion with mhr... eventually they convinced me to do it like this10:38
tsdgeosok10:38
tsdgeosmzanetti: AlbumTile gone because noone was using it?10:38
mzanettitsdgeos: yeah... I wanted to keep this merge clean as in only changing stuff required for the preview and not mixing it up with the cleanup that's needed in the Dash folder10:39
mzanettitsdgeos: however, because of required API changes of Tiles I felt it doesn't make sense to update that one now even though unneeded and drop it in 3 weeks again10:40
tsdgeosok10:43
mzanettitsdgeos: pushed the removal of the print()10:45
tsdgeosok10:47
tsdgeosmzanetti: looks good to me10:49
tsdgeosthe lack of tests is a bit unfortunate10:49
tsdgeosis this urgent to get merged? otherwise we can wait on the tests even if they take some time, no?10:50
tsdgeosiow10:52
tsdgeosdo you think there would be a benefit on getting this merged without tests?10:52
tsdgeoslike getting more real life testers sooner?10:52
mzanettitsdgeos: I think the only benefit would be to stop causing conflicts. I rebased this already like 10 times and as you see it's starting already again10:53
mzanettitsdgeos: but ok. I'm finishing that albumart provider fix and then try to start getting some tests10:54
tsdgeosmzanetti: i'm ok with getting it in if it's a hassle to maintian11:00
tsdgeosnow if we could get it in :D11:00
mzanettiindeed11:00
tsdgeosmzanetti: not sure i understand the first point of your comment in https://code.launchpad.net/~aacid/unity8/tabbar_dash/+merge/19250511:08
tsdgeoswhen you want me to check it?11:08
mzanettitsdgeos: the narrowMode thing?11:09
tsdgeosmzanetti: the "check for length == 1 is in the childItem assignment "11:09
mzanettitsdgeos: so you have a property called "childItem" which might be set to a list, and everytime you use "childItem" you check if it in fact just one item11:10
tsdgeosyes11:10
mzanettioh wait... I might have something overlooked... gimme a sec11:10
mzanettitsdgeos: ok, so what I meant is that I think it would make more sense to make sure childItem always has only one childItem when setting it.11:12
mzanettiinstead of checking that each time you use it11:12
mzanettiwould require to make it a real property instead of an alias tho11:12
mzanettiso has downsides too11:13
tsdgeostbh i think it's fine as it is11:14
tsdgeosit's not like anyone's going to use it more than how we are11:14
mzanettiok then11:14
tsdgeosmzanetti: about the "FIXME: workaround rendering issue due to use of ShaderEffectSource in"11:16
tsdgeosi have no clue what it's about tbh :D11:16
tsdgeosnot sure to what it applies either :D11:18
mzanettitsdgeos: so the UbuntuShape blocks when creating11:18
mzanettitsdgeos: if we wouldn't use this huge cacheBuffer, lots of ubuntu shapes would be created when swiping the dash left/right11:18
mzanettitsdgeos: which would cause stuttering11:19
mzanettiso yeah. I think we should update that FIXME given that it's still valid but refers to non existent stuff for explaining it11:19
tsdgeostbh given we have billions of async loaders inside of async loaders11:21
tsdgeosthe problem is just that UbuntuShape needs to be more performan11:21
tsdgeos:D11:22
mzanettiyeah... that's what it comes down to11:22
mzanettiand this FIXME should probably just say: "Need this huge cachebuffer because UbuntuShape is performing bad"11:22
tsdgeosotoh one wouldn't want the dash to create itself all the time either11:22
tsdgeosit's probably more battery efficient just to keep it in memory all the time11:22
tsdgeosthan to waste cpu creating/decreating it11:22
mzanettibut not really memory efficient11:22
tsdgeoswell, it all depends on how much memory11:23
tsdgeosbut i'll trade anything for battery life :D11:23
mzanettitsdgeos: yeah. somewhere there are numbers on how much it is11:23
mzanettiwell, how much it was when I did the measurements. its quite a long time ago by now11:24
mzanettibut it was *a lot*11:24
tsdgeosanyway i'm not really sure it's me that has to update that comment in this MR since it doesn't really touch that besides putting it inside another item11:24
tsdgeosmzanetti: well, we did have the people scope and no delegatecreationrange for inner listviews11:24
tsdgeosso yes, i can see it was quite a lot11:24
tsdgeosmzanetti: but if you want me to update the comment, tell me what you want so you're happy with the review :D11:25
tsdgeos/ TODO Investigate if we can switch to a smaller cache buffer when/if UbuntuShape gets more performant11:25
tsdgeos?11:25
mzanettimuch better, yes11:26
tsdgeosmzanetti: about the tests11:29
tsdgeosi'm not sure they make much sense tbh11:29
mhr3mzanetti, albumart provider fix?11:29
mhr3what's the issue with it?11:29
tsdgeosmzanetti: what would i be testing besides testing that the tabbar works, that should be tested by the sdk guys?11:29
mzanettitsdgeos: I guess there's logic in unity8 which actually switches to a certain scope when clicking on a tab, no?11:30
tsdgeosonSelectedTabIndexChanged: {11:31
tsdgeos                        dashContentList.currentIndex = selectedTabIndex;11:31
tsdgeos                    }11:31
tsdgeosyep11:31
mzanettiheh, ok11:31
tsdgeosi mean i can do some tests11:31
tsdgeosbut ultimately this MR has "no code"11:31
tsdgeosit's just refactoring stuff11:32
tsdgeosand adding the tabbar11:32
mzanettitsdgeos: assuming the TabBar API changes to rename the parameter selectedIndex. this would break unnoticed.11:32
mzanettiso yes... I'd still think a test for clicking a tab and checking if the according scope comes into view would be good11:33
mzanettitsdgeos: btw. exactly this happened with the DashBar before... the SDK changed their api and I guess we still wouldn't know that clicking the dashbar at the bottom was broken if the test wouldn't have cought it11:34
tsdgeosok11:35
tsdgeoswill do11:35
MacSlowDid anybody have any luck with using kazam to capture a screen-recording under trusty?11:41
* mzanetti never heard of kazam before11:42
MacSlowmzanetti, it's a pretty handy screen-recording tool... uses gstreamer... written in Python... quite nice11:43
MacSlowit was all fine under saucy11:43
tsdgeoshas a K and is not kdelibs-based? where's the world going!11:45
mzanetti:D11:46
=== alan_g is now known as alan_g|afk
MacSlowtsdgeos, well... I'm doing Qt as an old-schoon glib/gtk+ person... so you will have to deal with the K in a non KDE-app ;)11:49
=== alan_g|afk is now known as alan_g
=== jhodapp|afk is now known as jhodapp
* tsdgeos kicks ScopeView and GenericScopeView12:17
tsdgeoswhy is GenericScopeView a ScopeView12:17
tsdgeosbecaue ScopeView is GenericGenericScopeView12:17
tsdgeos...12:17
* tsdgeos gets the axe ready12:19
=== MacSlow is now known as MacSlow|lunch
alan_ggreyback_: any chance of looking over some unity-mir MPs?12:30
greyback_alan_g: sure12:31
tsdgeosdoes anybody know about the search history expected behaviour on the dash?12:40
tsdgeosit seems tehre's code that tries to make it common for all the scopes12:40
tsdgeosbut then there is code that fails12:40
tsdgeosso i wonder if it has to be shared or not12:40
tsdgeosmzanetti: mhr3: greyback_: all: ↑↑↑↑12:40
mhr3i think nic-doffay was trying to fix it some time ago12:41
mhr3so... he'd know :)12:41
mzanettitsdgeos: good question. I'd say it doesn't make sense to bring up recent music searches in e.g. the video scope12:41
tsdgeosbecause with my tabbar rework12:42
tsdgeosthere's a single header12:42
tsdgeosand thus the history is now shared12:42
tsdgeosnic-doffay: you know?12:42
greyback_due to the home lens, where multiple lenses are sent a search term at one go, I don't think there's a clean way to make the history per-scope12:43
tsdgeoswell, i'll leave it like that until someone comments then :D12:47
tsdgeoswill add a note to the MR too12:47
nic-doffaytsdgeos, sorry was running autopilot tests couldn't click or type :P13:00
nic-doffaytsdgeos, re that I had a branch I was working on to bring the search history out of the page header.13:01
nic-doffayHowever I was running into an issue where adding queries stopped working and had to shelve it to continue on an sdk issue.13:01
nic-doffayThat's where it stands currently.13:01
mzanettitsdgeos: https://code.launchpad.net/~mzanetti/unity8/fix-1237829/+merge/19323313:15
mzanettipstolowski: http://i.imgur.com/LWrDtqU.png (notice something?)13:23
pstolowskimzanetti, you fixed ac/dc bug? :)13:26
mzanettiheh, yeah. feel free to review it13:26
mzanettihttps://code.launchpad.net/~mzanetti/unity8/fix-1237829/+merge/19323313:26
pstolowskimzanetti, yeah, just noticed LP notification, cool :)13:27
=== MacSlow|lunch is now known as MacSlow
voldymani am writing an indicator using libappindicator3, where can i find the list of all icons available?13:58
davidcallevoldyman, have a look at http://iloveubuntu.net/icon-library-20-released-gtk3-and-python-3-support14:00
voldymanthank davidcalle14:00
davidcallevoldyman, yw14:00
mzanettipstolowski: do you know why my home scope only shows some music in like one of 100 runs?14:20
pstolowskimzanetti, local music files? if online music - is you network connection reliable?14:23
mzanettipstolowski: local music14:23
mzanettipstolowski: they show up in the music scope. but I've seen it only very rarely in the home scope14:23
pstolowskimzanetti, surfacing, or in response to search?14:24
mzanettipstolowski: surfacing14:24
mzanettipstolowski: on the desktop that is. works fine on the phone14:24
pstolowskimzanetti, aaah14:24
pstolowskimzanetti, did you by any chance unselected 'Music' in dash filters in the home, while search query was empty?14:27
* mzanetti checks14:27
mzanettipstolowski: hmm... dash filters?14:28
mzanettipstolowski: I'm still talking about unity814:28
mzanettiand I don't run unity7 so, no, I didn't change any settings there14:28
pstolowskimzanetti, yes, but I mean filters in unity7 (because this would update settings that affect surfacing also in unity8)14:28
pstolowskimzanetti, what does 'gsettings get com.canonical.Unity.Lenses home-lens-default-view' say?14:29
mzanettipstolowski: ['more_suggestions.scope', 'more_suggestions-amazon.scope']14:29
mzanettithis is probably still from the last time I started unity7 in quantal :D14:30
pstolowskimzanetti, ah, so that's why, it should have music.scope14:30
pstolowskimzanetti, this key controls surfacing search14:31
mzanettipstolowski: like this? ['more_suggestions.scope', 'more_suggestions-amazon.scope', 'music.scope']14:31
pstolowskimzanetti, and it can be edited by user via filters in Home in unity7 (when search is empty)14:31
tsdgeosmzanetti: standup14:31
pstolowskimzanetti, yes14:31
mzanettipstolowski: hmm... still doesn't show up14:32
mhr3tsdgeos, btw your header fix doesn't fix the scrolling issue14:36
tsdgeosmhr3: which scrolling issue?14:36
mhr3tsdgeos, lp:1240118 meaning if i revert r456, it's still broken14:37
mhr3tsdgeos, so i guess we should split the bug into two14:37
tsdgeosmhr3: well, the fix we had for bad sortfilterproxy/qml is not "the right one", i'm waiting on "the right one" to get updated to the qt packages14:39
tsdgeosand that may or may not fix the other thing14:39
pstolowskimzanetti, home scope doesn't monitor this key for changes, so you need to restart it. btw, it works here14:39
tsdgeosmhr3: so yeah you may want to split the bug14:40
mhr3tsdgeos, good, could you comment on that bug and perhaps link it?14:40
mhr3tsdgeos, did you do bzr commit with --fixes=lp:xxx ?14:40
tsdgeosnope14:40
tsdgeosnever remember to do that14:41
mhr3good in this case, at least we can unlink the branch and link it to the split bug14:41
mzanettipstolowski: yay! thanks. this works now14:41
nic-doffaymzanetti, got a moment, it's regarding another older branch.14:45
nic-doffayLooks like I'm stuck with autopilot until image 8 is sorted.14:45
mzanettinic-doffay: sure14:45
pstolowskimzanetti, great14:46
=== dandrader is now known as dandrader|afk
=== pstolowski is now known as pstolowski|bbl
mhr3tsdgeos, https://bugs.launchpad.net/unity8/+bug/124635114:47
ubot5Ubuntu bug 1246351 in Unity 8 "Positioning of the Dash's header gets confused" [Medium,In progress]14:47
tsdgeosok14:49
tsdgeosmhr3: thanks :-)14:50
=== dandrader|afk is now known as dandrader
nic-doffaymzanetti, lp:~nicolas-doffay/unity8/scope-search-refactor15:01
nic-doffayYou'll see the SearchHistory has been moved out to the Dash.15:02
nic-doffayand passed through to the page header where the query is added.15:02
nic-doffayI've already confirmed the memory address of both page headers in the Dash and that in the PageHeader are the same.15:02
nic-doffayThing is queries don't appear to be added, I have no idea why.15:02
mzanettinic-doffay: hmm... seems to work fine here15:26
mzanettinic-doffay: so the purpose is to have the same search history everywhere, right?15:26
=== alan_g is now known as alan_g|tea
nic-doffaymzanetti, that's right yeah.15:31
mzanettinic-doffay: works here15:31
nic-doffaymzanetti, so you've tested it and it works as it should?15:31
mzanettiyeah15:32
nic-doffaymzanetti, haha well I must have missed something.15:32
nic-doffaymzanetti, in that case review?15:32
mzanettinic-doffay: well, how do you unfocus the textfield?15:32
mzanettinic-doffay: maybe there's an issue in one of the code paths that add something to the history. it's many of them15:33
nic-doffaymzanetti, if so can you include that as a review comment?15:34
nic-doffayhttps://code.launchpad.net/~nicolas-doffay/unity8/scope-search-refactor/+merge/19326515:34
nic-doffaymzanetti, linking it to the bug now.15:34
mzanettinic-doffay: I'd still like to get to the bottom of it. if it's not working for you there must be an issue somewhere15:34
nic-doffaymzanetti, it was a while ago I last checked. I'm going to merge trunk and test it again.15:35
mzanettinic-doffay: ok yeah. your branch seems really old15:35
nic-doffaymzanetti, suggestions for the latter part of this bug are welcome though. https://code.launchpad.net/~nicolas-doffay/unity8/scope-search-refactor/+merge/19326515:35
mzanettiwhich bug?15:36
mzanettinic-doffay: ^15:36
mzanettinic-doffay: when you commit a bugfix, use this: bzr commit --fixes lp:12345615:37
mzanettiso the bug report will get linked to the branch15:37
nic-doffaymzanetti, cool15:37
tsdgeosbooo for me15:38
mzanettibooo for tsdgeos!15:38
tsdgeosi thought this would work15:38
tsdgeoshttp://pastebin.kde.org/p2giuhabx15:38
tsdgeosbut doesn't :-S15:38
tsdgeosand the damn qml engine doesn't tell me those ugly15:38
tsdgeosYOU ARE DEPENDING ON NON NOTIFYABLE STUFF15:39
tsdgeosit usually says when you try to do stuff like that with a non notifuable property15:39
mzanettitsdgeos: I actually think that's QMetaObject that does15:39
mzanettior well, something in the engine combined with the metaobject information15:40
tsdgeos./qml/qml/qqmljavascriptexpression.cpp:254:                                   QLatin1String(" depends on non-NOTIFYable properties:");15:40
mzanettiit requires a QObject to be able to figure that out15:40
tsdgeoswell, that's what you say :D15:40
tsdgeosand since it's not a qobject, it may as well assume it's non notifiable if it can do that :D15:41
mzanettiI tend to agree with that15:41
mzanettibut then, I've much too little knowledge about javascript to answer that15:41
tsdgeossame here15:41
nic-doffaymzanetti, it's working here after merging trunk.15:42
mzanettiok... doesn't stop to get weirder15:42
mzanettinic-doffay: anyways, please manually link the bug report with the branch. you can do that in the launchpad ui15:43
mzanettiI'll do the review soonish. need to leave for a while now15:43
nic-doffaymzanetti, I've done that.15:43
nic-doffaycool cheers15:43
nic-doffaygl with your travels.15:43
mzanettihuh?15:44
mzanettijust going for groceries and alcohol man :D15:44
mzanettibbl15:44
=== alan_g|tea is now known as alan_g
nic-doffaymzanetti, haha15:49
nic-doffayThat's the equivalent of travelling for me now.15:49
=== jhodapp is now known as jhodapp|sick
Cimihey dednick16:06
dednickCimi: hi16:06
Cimidednick, I wanted to help you on tests for https://code.launchpad.net/~nick-dedekind/unity8/lp1240756/+merge/19293916:06
Cimidednick, but cannot find them :)16:06
Cimibut maybe we don't need tests for that16:07
dednickCimi: there are no indicator tests at the moment. They're in ubuntu-settings-components, but it hasn't landed yet16:08
Cimiok16:08
Cimiso I'll approve now16:08
Cimitsdgeos, was looking at this https://bugs.launchpad.net/unity8/+bug/115215016:22
ubot5Ubuntu bug 1152150 in Unity 8 "[DASH] diagonal swipe is recognized as a scroll" [High,Confirmed]16:23
Cimitsdgeos, you have any ideas out of your mind?16:23
Cimimaybe if we can detect horizontal velocity we could stop flicking the list view and switch to the other scope16:25
CimiI'll try in 30 mins16:25
tsdgeosCimi: that's the joy of list inside of list16:25
tsdgeoscan't think of anything on top of my head16:25
CimiI'll try16:25
=== dandrader is now known as dandrader|lunch
kgunnSaviq: ping16:31
=== jono is now known as Guest50058
Cimiif you guys are bored, there are some of my branches waiting reviews16:49
Cimihttps://code.launchpad.net/~cimi/unity8/fix-1231731/+merge/19141416:50
Cimihttps://code.launchpad.net/~cimi/unity8/carousel-music-video/+merge/19211816:50
=== pstolowski|bbl is now known as pstolowski
Cimihttps://code.launchpad.net/~cimi/unity8/remove-mathlocal/+merge/19270916:50
tsdgeosmzanetti: pushed the tests for the tabbar thing16:58
Cimitsdgeos, so16:59
Cimitsdgeos, horizontal velocity is 0 on vertical scoll16:59
Cimitsdgeos, can we patch LVWPH?16:59
tsdgeosCimi: for what exactly?17:00
Cimitsdgeos, having horizontal velocity on a vertical scroll17:00
tsdgeosCimi: lvwph is not the top list17:00
tsdgeosdon't think that changing lvpwh will help17:00
tsdgeosor maybe it will17:00
Cimitsdgeos, you can do something like onHorizontalVelocityChanged: if (horizontalVelocity > 2 * verticalVelocity) flick left or right17:01
tsdgeosCimi: not sure i understand the bug at all17:01
tsdgeosit's all write in the oren-speech17:01
tsdgeosi've still not totally mastered17:01
tsdgeosCimi: can you translate to devel-speech what's the problem?17:01
Cimitsdgeos, it means that sometimes you want to change lens but you're stuck into the vertical scrolling of the listview17:01
tsdgeosok17:01
Cimitsdgeos, it depends on how you start the flick basically17:02
Cimitsdgeos, tolerance is difficult17:02
Cimiso was thinking of detecting the horizontal speed17:02
tsdgeosCimi: tbh LVWPH doesn't do that17:05
tsdgeosit's the flickable17:05
Cimitsdgeos, I know17:05
tsdgeosand it won't give us the hSpeed17:05
tsdgeossince it's not hScrollable17:05
Cimitsdgeos, but I don't know if you can get the function from it17:05
Cimiah ok17:05
Cimiyou answered17:05
Cimitsdgeos, we can add code to calculate this17:06
tsdgeosCimi: imho the easiest way is a separate mousearea17:06
Cimitsdgeos, or put a mouse area17:06
Cimitsdgeos, yeah :D17:06
tsdgeosi.e. LVPWH doesn't get any "input event"17:06
tsdgeosall it gets is17:06
tsdgeos"your viewport moved"17:06
Cimiok17:07
Cimitsdgeos, mouse area on top how?17:07
Cimitsdgeos, we need not to steal events17:07
tsdgeosCimi: you can make mousearea not steal events17:08
Cimitsdgeos, but it usually does steal them17:09
Cimitsdgeos, if you do onPressed it gets the event17:09
Cimilet me try17:10
tsdgeosCimi: propagateComposedEvents ?17:10
Cimiok17:11
Cimiit's not that simple17:23
CimihorizontalVelocity represents only when the view moves17:24
Cimidoesn't seem the speed of the actual mouse action17:24
Cimidandrader|lunch, ping me when you're back17:24
=== dandrader|lunch is now known as dandrader
dandraderCimi, ping17:48
Cimidandrader, so we have listview that allow vertical scrolling17:56
Cimifor each scope17:56
Cimidandrader, while we have another list view for horizontal scrolling17:56
Cimito change lens17:56
Cimidandrader, sometimes we start a vertical flick in a scope while we wanted to scroll left or right17:57
Cimihow would you work on it?17:57
=== alan_g is now known as alan_g|EOD
SaviqCimi, that's a Qt-internal thing to recognize whether something's a horizontal or vertical drag17:59
SaviqCimi, so it requires investigation how we can influence it17:59
dandraderCimi,  +1 on what Saviq said18:00
CimiSaviq, well18:00
CimiSaviq, we start the drag on LVWPH18:00
CimiSaviq, so the mouse event is stolen from now on until the drag ends18:01
Cimiby the ScopeListView18:01
SaviqCimi, yes, assuming the ListView doesn't take it over because it's a horizontal drag instead18:01
CimiSaviq, it starts as a vertical drag18:02
CimiSaviq, so the scopelistview gets it18:02
Cimiso initial condition, done properly the drag works18:03
Cimibut if you start one drag and try to change.. no way, you have to wait for the flick to end18:03
CimiSaviq, was thinking of detecting the mouse event somehow and be able to stop a flick18:03
SaviqCimi, that's internal Qt machinery we can't be hacking around, 'cause we'll just break something18:04
SaviqCimi, we just need to see how we can influence that machinery18:04
CimiSaviq, but there is no way of tell qt to scroll left if the event is already grabbed by the vertical scroll of the scope list view18:06
CimiSaviq, what do you have in mind master?18:06
SaviqCimi, sure, we might need to be able to - but it's not something we can do on our side, we need to investigate qt insides for that18:08
SaviqCimi, you're talking about bug #1152150 right?18:09
ubot5bug 1152150 in Unity 8 "[DASH] diagonal swipe is recognized as a scroll" [High,Confirmed] https://launchpad.net/bugs/115215018:09
CimiSaviq, yeah boss18:09
SaviqCimi, so yeah, we need to dig through Qt to improve that18:10
dandraderCimi, it's a feature/good-thing that once you start a horizontal drag it can't turn into a vertical one and vice-versa18:25
dandraderCimi, Saviq although I read somewhere that there's an Apple patent on that :)18:25
Saviqdandrader, yeah, sure, but the threshold for it being recognized as vertical or horizontal could be increased18:26
dandraderSaviq, yes, so the problem seems to be that a horizontal or vertical drag is prematurely recognized. but by reading the back log it seemed that you guys thought that the behavior I mentioned was wrong18:27
dandrader(that you cannot break the h/v flick once it starts18:28
dandrader)18:28
Saviqdandrader, no no, that's good18:28
Saviqdandrader, it's just the initial recognition that we'd like to tweak18:28
Saviqdandrader, that said, it is sometimes tricky when you have to wait for the thing to settle before being able to drag in the other direction ;)18:29
dandraderSaviq, start doing in both ways, if it settles in a horizontal or vertical direction than you lock that axis18:29
dandraderSaviq, that must be what the Apple patent is about :)18:30
Saviqdandrader, right ;)18:30
dandraderSaviq, but for that to work I suppose you would need a single entity, and not two overlapping, independent entities (ie, the hor-flickable and the vertical one)18:30
Saviqdandrader, well, not necessarily - it's basically the same maybe-gesture recognition pattern as we want for the edges18:31
Saviqdandrader, so while both say "maybe" they react, but once one says "mine", the other gets canceled18:32
dandraderSaviq, right, that might do it18:32
Saviqdandrader, but that does require digging in Qt afaict18:33
dandraderSaviq, yes18:33
=== dandrader is now known as dandrader|afk
=== jono is now known as Guest21711
thomiSaviq: it looks like I can't run the unity8 AP tests on the desktop from the source tree. Is that correct?19:08
thomiI should probably know that already...19:08
Saviqthomi, you can19:09
Saviqthomi, you need to make -C builddir install first, though19:09
thomioh ok19:09
Saviqthomi, make -C buillddir autopilot should actually do it for you - but it will run the whole suite19:09
Saviqthomi, that's assuming you actually want to run the locally compiled version19:10
Saviqthomi, and not the system-wide installed one19:10
thomiSaviq: I did './build -s && ./build', but the AP tests look for an upstart thing?19:10
thomiyeah19:10
thomiSaviq: http://pastebin.ubuntu.com/6331713/19:11
Saviqthomi, the suite will tell you what to do with the unity8.conf file19:11
Saviqthomi, not sure what failed above :/19:12
=== dandrader|afk is now known as dandrader
=== ChrisTownsend1 is now known as ChrisTownsend
bjsniderif an app chooses not to export the menubar, does it still work ok?21:15
CimiSaviq, in reality would be good to break a vertical flick for a horizontal21:33
Cimisometimes you really scroll left or right21:33
Cimithose cases I'd break and switch to horizontal21:33
ali1234tedg: in http://bazaar.launchpad.net/~dbusmenu-team/libdbusmenu/trunk.14.04/revision/355 you added a #if check for "insert"/"child-added" but you did not make the same check for "remove"/"child-removed". why?23:59

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