/srv/irclogs.ubuntu.com/2015/02/15/#ubuntu-app-devel.txt

veryricdude69hello10:28
=== _salem is now known as salem_
=== salem_ is now known as _salem
akiva-thinkpad!ping13:40
ubot5pong!13:40
akiva-thinkpadzbenjamin, ping; do you happen to know which object pool (children) that I can find the run widget in Projects Mode?14:00
ahayzenm-b-o, o/14:53
akiva-thinkpadmodemanager probably.14:53
ahayzenm-b-o, so the 'snapping' is 'working' because you are using highlight enforce range?14:54
m-b-oo/ ahayzen14:55
m-b-oyes14:55
ahayzencool that'll probably be good enough tbh14:55
m-b-owith snapMode teh currentINdex gets not updated14:55
m-b-oyes, it's good for now :)14:55
ahayzeni'll probably look at putting them into async loaders in the future incase you have loads of locations14:55
m-b-oalright!14:56
m-b-ohave you tried it on a device?14:56
ahayzenbut it'll need testing to see how the performance is as you have more loactions14:56
ahayzenno not yet i have to switch kernels lol14:56
m-b-ohehe :)14:56
ahayzenbut the thing with LocationPane sounds strange14:57
m-b-oyes it is....14:57
ahayzenm-b-o, do you think that the weatherApp.current should actually be in settings?14:57
m-b-ofirst named it components/Location.qml, thought renaming and moving would fix the run issue on th edevice14:58
m-b-ogood question... perhaps quite useful14:58
ahayzenas then it would remember which location you were looking at14:58
m-b-oyes, we should try it. I will make a blueprint for it14:59
ahayzenall you have todo is move the property inside the Settings {} ;)14:59
m-b-oshoudl I rename LocationPane?14:59
m-b-olet me see15:00
ahayzenm-b-o, something like this should work http://pastebin.ubuntu.com/10239735/15:00
m-b-oahayzen okay, added it to the MP15:06
ahayzenm-b-o, cool thanks :)15:06
m-b-ohow should w ename name LocationPane instead?15:06
ahayzenidk it 'should' be working, is the file in the .click it makes?15:06
m-b-oisn't thi smanaged by Cmake?15:06
ahayzenyeah15:07
m-b-olet me see15:07
m-b-ono, it isn't15:09
ahayzenheh there is the problem then15:09
ahayzenyou reran cmake after adding the file right?15:10
ahayzenpopey, random question, do you have a N10 ?15:11
m-b-ohow?15:11
m-b-oah, now it works!15:11
ahayzenm-b-o, right click on the project name in the side bar 'Run cmake'15:12
ahayzen\o/15:12
ahayzenm-b-o, at least that wasn't an issue then :)15:12
ahayzenm-b-o, ok the other odd thing, what did you mean by the bottom edge not working sometimes? i haven't had it fail on the desktop yet?15:12
m-b-ookay... but you have the sam eerrors/warnings in the console, haven't you?15:13
ahayzenyeah they are mostly when it is destroyed15:13
m-b-o"  file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/PageWrapperUtils.js:30: TypeError: Cannot read property 'createObject' of null" too?15:14
ahayzenyeah when you pop the page?15:14
m-b-oah, the LocationPage.qml?15:14
ahayzenyeah when it is destroyed15:14
ahayzeni think it is ok15:15
ahayzenm-b-o, so assuming ^^ is ok all that is left are the 3 code comments i've found so far.... i'll keep checking for anything else15:17
ahayzenm-b-o, also if you start the app change the location to 1 then restart, you end up at the index 0 but it seems to think it is on 1, so you can't change to 1 via the bottom-edge15:20
m-b-oah15:21
ahayzenm-b-o, you probably want to set the currentIndex after you reload the locationsList ?15:21
ahayzento ensure it is in-sync15:22
m-b-oahyzen let me try15:22
m-b-oahayzen https://bugreports.qt.io/browse/QTBUG-4103515:22
ahayzenis that the snapmode bug?15:23
m-b-oseems there are som eother things nit right when using snapMode15:23
m-b-orelated I guess15:23
ahayzenmaybe15:24
m-b-oyou mean, set setting.current after currentIndexChanged?15:25
ahayzenbut if you look at the app log it goes CI: 0, CI: 1, *locations loaded*, CI: 015:25
ahayzeni guess after onModelChanged ?15:25
m-b-ocan we take settings.current out of the MP? It's a thing of it's own.15:26
ahayzenyeah adding onModelChanged: currentIndex = settings.current worked \o/15:27
SturmFlutHas anybody already tried https://appstore.bhdouglass.com/app/kirino.hyuchia ?15:27
ahayzeni don't mind ... adding that 1 line seems to fix it15:27
m-b-oahayzen? where15:27
ahayzenm-b-o, http://pastebin.ubuntu.com/10240050/15:28
m-b-othanks15:28
ahayzenhmm but swiping it doesn't update the setting either lol there are a few places it doesn't retain ... i can fix them up in a follow mp if required15:29
m-b-owait15:29
ahayzenugh nasty lol :/15:32
m-b-oonModelChange will it updtae to often15:33
m-b-oI guess15:33
ahayzenm-b-o, this seems to work for every case http://pastebin.ubuntu.com/10240149/ bit messy though :/15:35
m-b-oahayzen coll! good enough, will add i15:37
m-b-ot15:37
ahayzenthanks :)15:37
m-b-othank you!15:37
ahayzenm-b-o, then there are just the 2 other minor code comments :)15:37
m-b-oahyzen one moment15:38
m-b-oahyzen which ones?15:39
ahayzen"- I wonder if we can change this to mainPageStack.push("ui/HomePage.qml") instead of using the component?15:40
ahayzen- I have some massive OCD over formatting, could you ensure that all of the properties have a space between the : and the value?"15:40
ahayzenyou should be able to remove HomePage { id: homePage } and just do mainPageStack.push("ui/HomePage.qml")15:41
rpadovanibfiller, o/ do you have 10 minutes for a query?15:43
bfillerrpadovani: I have a few minutes, what's up?15:43
popeyahayzen: I don't have an N10, sorry.15:46
m-b-oahayzen:   Error while loading page: file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/HomePage.qml:-1 File not found15:46
ahayzenpopey, damn lol you have any form of tablet?15:47
popeyi have an n715:47
ahayzenm-b-o, hmm ah ...  Qt.resolvedUrl("ui/HomePage.qml")15:47
m-b-oahayzen yeah :)15:47
ahayzenpopey, cool, we've got quite far with the converged mode for music-app (only a few bugs left) so looking for testers soon ;)15:48
ahayzen(all prototyping ofc)15:48
ahayzenm-b-o, yey \o/15:48
popeyahayzen: feel free to ping me when needed15:48
ahayzenpopey, cool thanks :)15:48
ahayzenpopey, do you know which device Jouni will be demoing it on? N7/10/desktop?15:49
m-b-oahayzen changes pushed!15:50
ahayzenm-b-o, cool thanks :) i'll rereview in a bit :D15:51
m-b-oahayzen I have to go now, ping me if something is missing!15:51
ahayzenm-b-o, will do thanks :)15:52
popeyahayzen: I dont know what they're taking to mwc, sorry. I know the marketing people have N10's15:55
ahayzenpopey, ok no worries we're just debating if the N7 is large enough to have the sidebar lol16:21
biggayo niggas how ya doin'17:13
=== chihchun_afk is now known as chihchun
SturmFlutWas the PickerPanel moved or deprecated? According to the API docs one has to "import Ubuntu.Components 1.1", but if I do and then try to use PickerPanel.openDatePicker() I get a "ReferenceError: PickerPanel is not defined"19:54
SturmFlutThe same code used to work a while ago19:54
rpadovaniI'm on vivid. Which packages I need to add qmake support to the sdk?22:06
DS-McGuirepopey, My stupid, terrible, app now works. The golf score card one, I had a permissions error, it is now in the store.23:20
popeyyay23:20
DS-McGuirenow on to proper QML :L23:21
DS-McGuireIt is not a very good app bearing in mind,23:21

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