/srv/irclogs.ubuntu.com/2015/09/17/#ubuntu-app-devel.txt

=== chriadam_ is now known as chriadam
rschrollaquarius: Any pending changes from you on the icon branch?01:27
rschrollIf not, I'll address those points I had and push it01:27
rschroll(I have icon downloader code waiting to go it)01:28
aquariusrschroll, no, get stuck in. I have some half-finished code which actually fetches all the icons and does the "decide which icon" stuff inside manifestParser.js, but it can certainly wait01:28
aquariusI haven't committed it because I honestly can't decide whether I should decide on an icon with full knowledge and then give you a URL, or give you a list of URLs in order and then you fetch the first one.01:29
rschrollsounds good01:30
rschrollI have a C++ plugin to do the icon fetching, waiting in the wings01:30
rschrollRight now, it gets a list of urls and goes through them until it finds a good one.01:30
aquariusyeah. The issue is this: if I fetch all the icons to decide, then we have to fetch the "best" icon twice (once in my code, once from C++). Which seems wasteful. But if I *don't* fetch them all, then I don't have enough information to make a decision about which to use.01:31
rschrollWe can worry about that later, I think01:32
aquariuscertainly01:33
aquariusthe current code (that is, all the code which is currently pushed) picks an icon01:33
aquariuswe currently fail if the site points at an icon which doesn't currently exist, but that's OK for now01:33
rschrollI altered that a bit in my branch.  Now it returns a sorted list.  We can go through the list until we find one that downloads.01:34
aquariusah, ok01:34
rschrollAt least I hope we can.  I need a broken site to test it on01:34
aquariustry, I think, brucelawson.com01:35
rschrollDo you want to review the branch before I merge it into master, or should I hit the big red button as soon as I'm ready?01:35
aquarius(I need to make the URL textbox properly handle "www.example.com" and treat it as "http://www.example.com", etc)01:36
aquariusnah, if you're happy with it, run with it01:36
rschrollbrucelawon: invalid hostname.  It's broken, but not in the right way....01:37
aquariusbah. I can't remember which URL I used -- it indicated an icon on a different domain, which didn't exist01:39
aquariusmight be worth setting up half a dozen test websites somewhere01:41
rschrollI can just insert some bad urls in the javascript code and check that the compiled code handles them properly...01:41
aquariusha! that's probably easier.01:41
aquariushave a test suite would be better still, but that's lots of work01:41
aquariusdon't tell the QA people.01:41
rschrollmy lips are sealed01:43
dholbachgood morning06:51
=== faenil_ is now known as faenil
=== justCarakas1 is now known as justCarakas
=== faenil is now known as faenil_
=== faenil_ is now known as faenil
sturmflut230 hours to go for UbuContest!09:01
sturmflut2And we need much more nominations, so go crazy! :)09:02
sturmflut2http://ubucon.de/2015/contest/nominate-individual09:05
=== chriadam is now known as chriadam|away
zsombit1mp: why would you need to get the z-value always max?10:12
zsombidaker: ping10:13
t1mpzsombi: to put the header on top of other stuff10:14
t1mpzsombi: but in the end I just went with the default z-value10:15
zsombit1mp: you mean overlay the Page content, or whatever it is the content?10:15
t1mpzsombi: yes10:15
zsombit1mp: why don't you leave that to the user?10:15
t1mpzsombi: but I can more easiliy do that later in the page with header10:15
t1mpzsombi: right, that's what I'm doing now in the Header10:15
t1mpzsombi: see https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/cppHeader/+merge/27134710:15
zsombit1mp: the Page can then set the z-order if wants, then any other case would need to be custom, right?10:15
t1mpzsombi: it is ready10:15
t1mpzsombi: right10:16
zsombit1mp: ahh, finally :D10:16
zsombit1mp: especially that if you use it in a ListView.header, then you don't have to care about that10:16
zsombicool10:16
t1mpzsombi: this is only the 'empty' header10:17
t1mpquite a lot of code for such a small API :s10:17
t1mpbut it works :)10:17
zsombit1mp: why do you rename ListItems.Header?10:17
t1mpzsombi: see the Description of the change10:17
t1mpzsombi: I couldn't get qdoc to work properly if there is a Header.qml *anywhere* :s10:17
t1mpzsombi: all the \qmlproperty Header::flickable and such go to the ListItem.Header10:18
zsombit1mp: fuuuuck!!! wdoc...10:18
zsombiqdoc10:18
zsombit1mp: but you still export it as Header in qmldir right?10:18
t1mpzsombi: yes10:19
zsombiok10:19
t1mpzsombi: but the ListItems.Header docs are gone :(10:19
zsombit1mp: that's because of \deprecated10:19
t1mpqdoc appears to care about filenames first10:19
t1mpzsombi: right. Without that I would still have the problem.10:19
t1mpzsombi: so it seems different "namespaces" for our module is a bad idea for qdoc10:20
zsombit1mp: crap10:20
t1mpzsombi: I chose to do it like this because the ListItems module will be deprecated anyway10:21
zsombit1mp: right10:21
t1mpzsombi: there is just one more thing I started to have doubts about,10:21
t1mpzsombi: how to deal with styling10:22
zsombit1mp: ....10:22
t1mpzsombi: I could make the header a StyledItem and give it a background (+divider)10:22
zsombit1mp: told ya...10:22
t1mpbut that can also come in a subcomponent for the the contents of the Header10:22
t1mphmm10:22
zsombit1mp: ... it can... but why a subcomponent?10:22
t1mpzsombi: will making it a StyledItem mess up the implicitWidth?10:22
zsombit1mp: why not to derive from Header?10:23
t1mpzsombi: with subcomponent I meant to derive from Header10:23
zsombit1mp: StyledItem takes the implicitWidth if set in the style only10:23
t1mpzsombi: ah, good :)10:23
zsombit1mp: if you set one in teh component, that will override the style one10:24
zsombit1mp: check loadStyleItem() or postStyleLoaded()10:24
t1mpzsombi: I was actually thinking of possible next-gen theming, and whether I should deal with the styling by, for example, adding a background property to the Header10:24
zsombit1mp: even if we go with next gen theming, the base type will be something we can control focus and others, so you shoudl deal with it10:25
t1mpright. So I'll make it a StyledItem10:26
t1mpzsombi: good, that didn't break any of the unit tests :)10:31
zsombit1mp: push it10:31
t1mpzsombi: I will add a style for the background, and move the implicitHeight to the style as well10:32
zsombit1mp: ping me when you are ready...10:32
t1mpzsombi: okay10:32
dakerzsombi: pong10:35
zsombidaker: hei, I think me and faenil needs your help :)10:35
zsombidaker: we have an issue finding out the correct layout for RTL ListItem progression10:36
dakerzsombi sure10:36
dakerzsombi: show me something10:36
zsombidaker: liek where would you expect to have the progression, on the lright side or on teh left, pointing to the left direction?10:36
zsombidaker: uhh, that'd be hard... do you have the UITK gallery in hand?10:37
dakerzsombi: screenshot that part10:37
zsombidaker: in the UITK gallery, in the menu you will see items with chevron10:38
dakerzsombi: i don't have the latest version, using 14.0410:38
zsombidaker: https://www.dropbox.com/s/yw52ay91pqd2gg8/Screenshot%202015-09-17%2013.38.42.png?dl=010:38
zsombidaker: see the chevrons on the first column10:39
zsombidaker: how woudl you expect to see this layout in RTL?10:39
dakerzsombi: ok so in theory, the first column should be at right10:40
zsombidaker: ok, how about the header layout? and the list items?10:40
zsombidaker: do you expect to have the header actions in teh same place as in LTR?10:42
zsombidaker: also the chevron...10:42
dakerzsombi: wait a sec10:42
zsombidaker: however if you said the left column shoudl be on the right, then I think intuitive woudl be to have teh chevrons pointing to the left, isn't it?10:42
zsombidaker: ah, ok, sorry :)10:42
dakerzsombi: i would expect something like this https://imgur.com/OW6iV2D10:49
t1mpzsombi: I need to create a UCHeaderPrivate in order to set the styleName from cpp?10:49
zsombifaenil: ^ see daker's screenshot?10:49
zsombit1mp: why? no, you shouldn't10:50
zsombit1mp: if you don't want to use Q_D() then you can simply go for UCStyledItemBasePrivate::get(this)->setStyleName()10:51
zsombit1mp: also, for you, daker's image^^10:51
faenilzsombi: yep10:51
zsombit1mp: for teh header layout10:51
davmor2popey: what is happening with reminders?10:51
zsombidaker: thanks, buddy, a lot!!!10:51
faenildaker: thanks, may I ping you in the future for more difficult examples? :)10:52
t1mpzsombi: ah, okay :)10:52
dakerzsombi: yw :)10:52
dakerfaenil: sure anytime10:52
faenilgreat, cheers10:52
zsombit1mp: also, if you want to use Q_D() then you need to use Q_DECLARE_PRIVATE_D() macro10:52
zsombit1mp: and use QScopedPointer<UCStyledItemBasePrivate> d_ptr10:53
t1mpzsombi: do I need to set themeVersion?10:53
zsombit1mp: uhm... yeah.. you should10:53
dakerfaenil: as i said in tablet mode this column at the right, should be at the left10:53
zsombit1mp: perhaps we should have a proper solution for that as well... right now this is embedded in the ListItem...10:54
dakerfaenil: in other word everthing should be read from Right to Left10:54
faenildaker: sorry I'm confused now :) you siad the column in tablet should be on the right, is that correct?10:54
faenilsaid*10:54
zsombit1mp: I was thinking to have a solution for that as well, so we don't necessarily have to derive 13, 14, etc classes10:55
zsombifaenil: what did confuse you?10:55
zsombifaenil: the layout I had had two columns10:55
faenil"as i said in tablet mode this column at the right, should be at the left  "10:55
zsombifaenil: the one on teh left should be on teh right and th other on teh right shoudl be on teh left.10:55
faenilyes, he said the first column should have been on the right, now he said on the left :)10:55
faenilzsombi: yeah, that's what I thought10:56
popeydavmor2: kalikiana was looking at the sdk issue, but do you have logs for the apparmor issue?10:56
zsombiehm.. whatever :)10:56
ogra_just trun the tablet around10:56
faenilogra_: deal10:56
dakerfaenil: ah sorry, you are correct10:56
davmor2popey: there was a pastebin that I threw up let me dig it out10:56
faenildaker: ok I see what you mean now, I misinterpreted your last message, neverming ;)10:57
faenilnevemind*10:57
popeydavmor2: ta10:57
faenilbut we got it :)10:57
dakerfaenil: if you have a layout with colomuns, the order need to be reversed in RTL10:57
dakerfaenil: 1|2 in LTR => 2|1 in RTL10:57
t1mpzsombi: alternatively I could set the style in PageHeader.qml that will inherit from the cpp Header10:58
faenildaker: sure, sure :)10:58
zsombit1mp: do you want to make the PageHeader in cpp or QML?10:58
t1mpzsombi: qml seems the best solution. It will be a Header with two ActionBars and some title.10:59
t1mpor a Header with a SlotsLayout, depending on how flexible that will be ;)10:59
zsombit1mp: right, then do it there10:59
davmor2popey: line 15 on I think http://paste.ubuntu.com/12419623/11:00
t1mpzsombi: in that case, https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/cppHeader/+merge/271347 is ready!11:00
t1mpzsombi: our generated docs don't show inheritance11:02
popeydavmor2: I'm getting issues on rc-proposed with reminders too now.11:02
zsombit1mp: that's bad, qdoc crap11:02
popeydavmor2: "add new account" doesn't work11:02
zsombit1mp: I wonder how Qt does... what tags do they use11:03
t1mpzsombi: right. They have inheritance in the docs11:03
dakerfaenil: https://2.bp.blogspot.com/-txMrX6kMxtY/UR6AW28Jx9I/AAAAAAAAB9E/DhVAtPhkPSI/s1600/settings-rtl.png11:03
dakerfaenil: https://4.bp.blogspot.com/-EzUf6UQhhus/UR6ATD23lZI/AAAAAAAAB88/_APE31dL4zw/s1600/setings-ltr.png11:03
davmor2popey: that's the one, but if you create the account in system settings, and then add that app it's called com.reminders_reminders rather than notes right?11:03
t1mpzsombi: the docs for Header don't show that it is a StyledItem. But I guess that's a separate issue.11:03
faenildaker: yup :)11:04
popeydavmor2: yes, only user facing parts were renamed11:04
zsombit1mp: use \inherits, dear11:04
davmor2popey: but in ota6 it's called notes11:04
popey"it"?11:04
zsombit1mp: see QQuickFlickable docs11:04
t1mpright11:04
dakerfaenil: if an icon is pointing to a direction, like the chevrons they should point to the correct direction11:05
faenildaker: yeah, that's what I expected11:05
popeydavmor2: the user facing parts were called notes, but not the plugin. this is expected11:05
t1mpzsombi: we should do that also for AbstractButton to show that it is an ActionItem11:06
zsombit1mp: sure11:07
davmor2popey: http://people.canonical.com/~davmor2/notes.png11:07
davmor2popey: that is ota611:07
popeyright, what's wrong?11:07
popey[M#mZRequestAccess failed: QDBusError("com.ubuntu.OnlineAccountsUi.InvalidApplication", "Invalid client application")11:08
popeythis is an issue11:08
davmor2popey: in the installed version it is called com.reminders_reminders not notes so I wondered if that was triggering some of the apparmor issues11:08
popeyno11:08
popeythe user facing bits are called notes11:08
popeyunderneath it's reminders11:08
popeythat should be fine, been like that for ages11:08
popey^^ the QDBusError is more of a concern!11:09
davmor2popey: right okay11:09
popeywhy is it suddenly unable to launch online accounts11:09
davmor2popey: no idea11:09
popeyyeah, i'll file a bug11:10
popeyah, you did https://bugs.launchpad.net/reminders-app/+bug/149608411:10
ubot5Ubuntu bug 1496084 in Ubuntu Notes app "0.5.490: Can't connect to reminders account from inside the app" [Undecided,Incomplete]11:10
davmor2popey: oh can you change it to confirmed11:11
popeydone11:11
davmor2mzanetti: can you do a wipe of you device at all?  It seems that myself and popey who have done a wipe can see both issue but you can't, not sure if it is your main phone though or something :)11:12
popeyi haven't wiped11:13
popeyjust using my retail device which has had no debs or any nonsense11:13
davmor2popey: I thought your rc-proposed device was wiped11:19
popeyno11:24
=== JMulholland_ is now known as JMulholland
mzanettipopey, I'd be ready in the hangout already (a bit too early, I know but I've just finished a task)15:28
popeyokay15:28
popeymzanetti: [M#Š8        'ubuntu-sdk-15.10-dev1' is not a supported framework15:58
popeywe _are_ using that framework, surely that's the issue then?15:58
popey(that was from building mardy's branch)15:59
popeyah, trunk uses 15.04, so the mardy branch will certainly fail.15:59
mzanettipopey, it should be there by now16:02
popeymzanetti: not on ota-616:03
mzanettiright...16:03
mzanettipopey, probably this branch was the reason why mardy started the conversation in the first place16:03
popeyyeah16:03
* popey is updating chroots for another build of r49016:03
* popey gets coffee16:03
popeymzanetti: it works! (cc davmor2 )16:27
mzanettipopey, which one?16:27
mzanettiah, with the updated build chroots16:28
popeythe one built with an updated chroot!16:28
mzanettistill weird16:28
popeyyes16:28
* davmor2 just blames the store and JamesTait in particular it's easier16:29
* popey flips it back to "Ready for QA"16:30
davmor2popey: does that fix both issues then?  Or is the other one an sdk issue?16:31
popeythe black box is sdl16:32
popey*sdk16:32
davmor2popey: no the reminder setter16:32
davmor2popey: black box was weather app ;)16:32
popeyoh, yes.16:33
popeysorry, confused16:33
davmor2or ride on time16:33
popeyyes, it fixes both16:33
popeyon my ota-6 retail krillin16:33
davmor2\o/16:33
popeyya16:33
* popey updates build scripts to update chroots before builds16:33
davmor2popey: man not even a batted eyelid at throwing ride on time in there, I'm disappointed popey ;)16:35
popeyI am immune to that song16:35
popeyit washes over me16:36
popeydavmor2: to be clear, date thing still busted on rc-proposed, which kalikiana was looking at, but works fine on ota-616:38
popeywonder if this is a vivid overlay issue.16:38
davmor2popey: of all the things that you said.....that you said....are running through my head.......running through my head....../me now pictures popey tapping his foot and cussing me for finding tatu16:38
popeydavmor2: lemme do more testing, I'll undo my citrain switch16:38
davmor2hahaha16:39
popey:)16:39
davmor2popey: what's your opinion of titanium? It's a song that grows on you :)16:40
popeymeh16:45
popeymzanetti: 163 packages to install in each chroot, I suspect that will fix it ;)16:52
=== JamesTai1 is now known as JamesTait
popeymzanetti: built with fully updated chroot including the ppa, and the date problem is still there, so I am sure it's an SDK issue, because it only happens on rc-proposed, not retail bq17:29
mzanettipopey, yes. I talked to zsombor about it. seems they are aware of it17:34
popeyok17:34
popeysweet17:34
mzanettisome binding loop decided to go mad17:34
popeyso davmor2 so, what do you want me to do? the date picker is busted, but it seems it's not us?17:35
rschrollQt Creator question: Where are the build and run settings stored?  They've become corrupted for my project17:40
rschrollI've deleted my .user file and the whole build directory, but the settings persist17:40
rschrollI've removed the relevant kit from that project and re-added it.  Still broken17:49
DanChapmanrschroll: wild guess but are they stored under ~/config/QtProject/*17:50
DanChapman*.config17:50
rschrollThat was my guess to, but grepping for the project name in that directory gave nothing useful17:51
rschrollI guess I could nuke the whole directory and see if that helps17:52
DanChapmanzbenjamin: ^^17:52
DanChapmanrschroll hmmm yeah. Well i see there are some kit related directories .config/QtProject/qtcreator/ubuntu-sdk/ubuntu-sdk-15.04-armhf/ no idea whether they are related or what they are for :-)17:55
rschrollDanChapman: No luck with nuking that directory.  Settings must be elsewhere17:56
DanChapmanmeh :-(17:57
rschrollI dont' have a ubuntu-sdk subfolder.  Hrm....17:57
rschrollI'm on 14.04, if that makes a difference17:57
rschrollWell, I do, but it's under ~/.config itself.17:58
rschrollNothing project related that I can see, though17:59
davmor2popey: let me have a play with it and I'll get back to you17:59
popeythanks davmor218:00
popeydavmor2: [M#uR53cad72310673c52cefedb551bde3055  com.ubuntu.reminders_0.5.490_multi.click18:01
popeythats the one that should work :)18:01
davmor2popey: thanks18:01
InglebardHi, anybody having issue with ubuntu-emulator (segmentation fault) ?18:10
davmor2popey: is the link the same I assume so just a different check sum right?18:18
popeyyes18:18
davmor2cool ta18:18
popeyre-download and check18:18
popeynp18:18
=== ahayzen_ is now known as ahayzen
mardymzanetti, popey: yes, indeed the 15.10-dev1 framework is the reason why that branch is not working at all :-/20:02
popey:( mardy20:03
mardypopey: well, my understanding from that e-mail thread is that no one really objects to the creation of a new framework, so things will eventually be solved20:04
zbenjaminrschroll: per project settings are only stored in the .user file20:49
zbenjaminrschroll: the other settings are stored in ~/.config/QtProject/qtcreator20:50
kivi!ping21:24
ubot5pong!21:24
rschrollzbenjamin, DanChapman: The problem was the Qt Creator couldn't parse my manifest file because of CMake variables I had in there.  (Why isn't it looking at the manifest file after configuration?)21:45
rschrollThanks for the helpful attempts, anyway!21:46

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