/srv/irclogs.ubuntu.com/2015/07/27/#ubuntu-app-devel.txt

ralphhello room01:17
ralphI have got a prob while trying to build quagga to a .deb excutable as done in the ubuntu repo. Does anyone know how I can do that?01:19
=== chihchun_afk is now known as chihchun
akiva-thinkpadHi all06:29
dholbachgood morning06:45
=== _morphis is now known as morphis
akiva-thinkpadballoons: ping07:00
akiva-thinkpadfile:///usr/share/filemanager/qml/components/FolderListDelegate.qml:19:1: module "Ubuntu.Components" version 1.2 is not installed07:01
akiva-thinkpadjunkins is still giving me this error.07:01
akiva-thinkpadbah hes probably sleeping.07:02
akiva-thinkpaddholbach: Do you know if jenkins supports ubuntu.components 1.2 yet?07:02
dholbachakiva-thinkpad, I have no idea07:02
dholbachzbenjamin, ^ do you know?07:02
akiva-thinkpadty07:03
akiva-thinkpaddholbach: curious, do you know if the sdk works on unity 8 yet?07:09
akiva-thinkpadalso do you know the ubuntu channel that mainly is for developing unity 8? I'd like to contribute some things if I can.07:09
dholbachakiva-thinkpad, I think somebody mentioned that it worked there, but I haven't confirmed it yet07:10
akiva-thinkpaddholbach: cool thanks07:11
dholbachakiva-thinkpad, AFAIK changes to unity8 and friends are auto-published to wily07:11
dholbachzbenjamin and bzoltan_ can likely confirme all the bits above07:11
* bzoltan_ grabs a coffee07:12
akiva-thinkpaddholbach: Ah going to go download wily then!07:12
akiva-thinkpadbzoltan_: can you take a look at this small merge: https://code.launchpad.net/~akiva/qtcreator-plugin-autopilot/Improve-code-issue-readability07:13
akiva-thinkpadthe main change is refining the issues displayed when tests fail to load: http://i.imgur.com/Xzc0mov.png07:16
akiva-thinkpadPrior, it used to be in one issue, and it expanded to an annoyingly large pane.07:17
bzoltan_akiva-thinkpad:  looks good, it will take few ten minutes to read the code and then I will test it.07:17
akiva-thinkpadbzoltan_: thanks.07:17
akiva-thinkpadbzoltan_: just curious, do you know if jenkins supports ubuntu.components 1.2 yet? its failing my patch to the filemanager app file:///usr/share/filemanager/qml/components/FolderListDelegate.qml:19:1: module "Ubuntu.Components" version 1.2 is not installed07:19
bzoltan_akiva-thinkpad:  I am wondering about that failure ... 1.2 was available already in Vivid ...07:20
akiva-thinkpadbzoltan_: are there any core apps that are using 1.2 that are passing jenkins?07:20
bzoltan_akiva-thinkpad:  now that is a good question ... UITK itself is using it for the component gallery app... and it does pass07:21
bzoltan_akiva-thinkpad:  I do not know by heart what APIs the core apps are using07:21
akiva-thinkpadbzoltan_: do you know the lp for the uitk?07:22
akiva-thinkpadnvm07:23
bzoltan_akiva-thinkpad:  I do : lp:ubuntu-ui-toolkit07:23
akiva-thinkpad:)07:23
akiva-thinkpadty07:23
akiva-thinkpadbzoltan_: zbenjamin just an fyi, Jenkins is directing people here for troubleshooting: https://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html07:39
bzoltan_akiva-thinkpad: OMG07:39
akiva-thinkpado_O07:40
didrockskalikiana: bzoltan_: hey! I'm trying a basic deleteDoc(docId) in u1db and I can confirm (stringifying the database as well) that the .contents is empty (but the docId still exists). However, db.listDocs() still returns the Document that I deleted (not the contents, but the docId), and so, using it as a model, it doesn't filter it08:16
didrockskalikiana: bzoltan_: this sounds like some part of bug #1213013 isn't fixed, do you mind confirming?08:16
ubot5bug 1213013 in U1DB Qt/ QML "Deleted documents show up in Query in a ListView" [Critical,Fix committed] https://launchpad.net/bugs/121301308:16
didrocksit seems to be bug #1219862 as well08:19
ubot5bug 1219862 in U1DB Qt/ QML "Deleted documents show up in Database as a model" [High,Confirmed] https://launchpad.net/bugs/121986208:19
akiva-thinkpaddholbach: is wily unity8 by default, or is there two images just like there was back in 15.04?08:22
dholbachakiva-thinkpad, no, it's still unity7 by default08:22
akiva-thinkpaddholbach: is there a special image then? or just install through the repos?08:22
dholbachyes, just install through the repos should work08:23
akiva-thinkpadokay :)08:23
akiva-thinkpadI guess I should have gotten this: http://cdimage.ubuntu.com/ubuntu-desktop-next/daily-live/current/08:24
dholbachthat doesn't look very up to date08:24
dholbachyou can ubuntu-desktop-next08:24
dholbacherr08:24
dholbachyou can install ubuntu-desktop-next08:24
akiva-thinkpadokay thanks08:24
ohmyhello everybody09:29
ohmyi'm quite confused please help me. I have two projects one depends on the other (only qml files with lot of subdirectories)09:29
ohmyI'm new to .qmlproject syntax, i've copied one of the provided in examples09:29
ohmyin QmlFiles section i've added the needed code from my main project but i still have foo_bar unavailable09:29
ohmyHow to tell qmlscene where to find the needed qml files please ?09:29
ohmyis there any docs about .qmlproject  syntax ?09:34
=== alecu_ is now known as alecu
kalikianat1mp: remember to mark a bug as Incomplete if you're asking for clarification, otherwise it's stuck at New forever https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/146641012:08
ubot5Ubuntu bug 1466410 in ubuntu-ui-toolkit (Ubuntu) "Tabs/Pages don't work correctly when Repeater used" [Undecided,Incomplete]12:08
didrockskalikiana: hey, did you see my questions above about bug #1219862?12:12
ubot5bug 1219862 in U1DB Qt/ QML "Deleted documents show up in Database as a model" [High,Confirmed] https://launchpad.net/bugs/121986212:12
kalikianadidrocks: sorry, I apparently missed the notification, I see it now. why are you using listDocs as a model rather than an actual model if I may ask?12:15
didrockskalikiana: no worry! At first, I was using "db" directly as the model as some examples from u1db-qt do that. Then, I wanted to check the behavior as I was seeing those additional elements with listDocs() as I thought it will return only valid docs12:16
didrockskalikiana: so the behavior was confusing, especially as I used it for debugging purpose :)12:17
kalikianadidrocks: I agree it is confusing. Right now I would actually suggest you just use Query and forget about the Database. It has more features and if I could change back time, only one would exist12:18
didrockskalikiana: yeah, maybe a warning or something in the documentation should be written if the bug isn't fixable?12:19
didrocks(and yeah, I used a query on a dummy index to fix it)12:20
kalikianait might be misleading to just deprecate it since it is needed to delete docs at least12:22
kalikianahmm12:22
didrockskalikiana: I guess at least a warning in the API doc would be good enough (and telling to use Index + Query)12:25
=== tedg is now known as ted
=== _salem is now known as salem_
=== chriadam is now known as chriadam|away
notmorpheusAnyone know why attempting to read /bin/lesskey would hang (in Python, open() 'rb')?14:37
popeynotmorpheus: in an app in a click package14:39
popey?14:39
notmorpheusNah, Python script14:40
didrockszsombi: I'm sure I'm doing some wrong things in term of Layout, (like I don't understand why I need for things to look ok to set width: parent.width on a lot of components), but I wonder why setting visible: false and then visible: true without doing anything else may change some positionning?14:50
=== chihchun is now known as chihchun_afk
kalikianarhuddie: can you have a look at this? https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/147184814:54
ubot5Ubuntu bug 1471848 in ubuntu-ui-toolkit (Ubuntu) "Autopilot always wants to emulate Nexus10 on desktop for UITK gallery tests" [Undecided,New]14:54
zsombididrocks: well, if a component is marked not to be visible, you may not even want to occupy a space for it14:55
zsombididrocks: Positioners may however not take that into acount...14:55
didrockszsombi: but when restoring, it should restore at the same place, isn't it?14:56
zsombididrocks: there were lots of bugs around that upstream, not sure whether it has been fixed everuwhere14:56
zsombididrocks: not necessarily, depends on the positioning policy14:56
didrockszsombi: I'm sure that my bugs results by a bad way of dealing with width/height, I would be happy when you get some time to get some advice/cleanup14:56
didrocks(not sure when would be a good time for you)14:57
zsombididrocks: :D never and always is good14:57
rhuddiekalikiana, sure, I'll take a look later on14:58
kalikianarhuddie: thanks!14:58
didrockszsombi: heh, I pushed it to https://github.com/didrocks/splitthebill. You can see that the 2 Total lines (corresponding to Total.qml) have their content switched out of the window after changing the section header back and force14:59
didrockszsombi: Basically Main.qml includes DetailsPage which includes a bunch of components (one of them being Total.qml)15:00
didrockszsombi: you will see a lot of:15:00
didrocks    width: parent.width15:00
didrocks    Layout.maximumWidth: parent.width15:00
didrocksI'm unsure about the best practice, but I bet the issue can come from this15:00
didrocks(width and height have always to be set it seems, right? they don't get an implicit width/height from their children?)15:01
zsombididrocks: without looking on your code, if you use Layout attached property, it doesn't make any sense to set the width of the component, as Layout attached widths will overrule those15:24
zsombididrocks: then, if you have a Positioner (Row, Column, etc) you don't have to set their width, height as those are set based on their children's size15:26
zsombididrocks: RowLayout or ColumnLayout are not positioners, those are layouters, so they should have a width, and they do adjust their content based on what you specify in the Layout attached properties15:27
didrockszsombi: that's what I was thinking, but I saw that if I didn't set the height on some elements, this didn't really work to me15:34
didrockszsombi: so, let me do a pass on the code, cleaning that as it's the logical way to me, and then, we can fix together my "wronglyness"? ;)15:34
zsombididrocks: if you are dealing with a RowLayout, you need to set the height, or you can use Layout.preferredHeight15:35
didrockszsombi: ah, that starts to make sense, why is that btw?15:35
didrocks(Row doesn't need height, but RowLayout needs?)15:35
zsombididrocks: well, as said, Row is a positioner, it distributes teh items based on the width15:36
zsombididrocks: but RowLayout is not a positioner, si a layout distribution element15:36
zsombididrocks: Row does only care on teh widths, but RowLayout also needs to know what height should an element have, and it takes those values from the Layout.xxxxHeight and Layout.xxxWidth oproperties15:37
didrockszsombi: so, RowLayout enables to have multiple heights elements contrary to Row, am I correct?15:38
zsombididrocks: you can also simply set Layout.fillHeight, then you can be sure the element will take the full height of the RowLayout15:38
zsombididrocks: no, RowLayout has to have the height, Row doesn't care about those15:38
didrockszsombi: I think I did read the qml help too quickly or some explanation on this positions/layout distribution element are missing (at least, in my mind), do you have good refs so that I can get the concept?15:39
zsombididrocks: the only time Row uses the height (implicitHeight) when it calculates how much height shoudl it have, and that is talken from the childrenRect.height15:39
didrocksbut RowLayout can't do that automatically? You need to say Layout.fillHeight to have the same "behavior" then?15:39
zsombididrocks: well, not more than the QtQuick.Layouts has or eventually the QWidget layout boxes...15:39
didrocksso that it's using the implicitHeight based on childrenRect.height?15:40
zsombididrocks: as said, RowLayout has to have a height, and a width, so it knows where to render its children :)15:40
zsombididrocks: Row arranges the items in a row taking into account the item width15:40
zsombididrocks: RowLayout *can* resize each element when its size is changed15:41
didrocksyeah, I understood that difference (and for the width, it makes sense to me)15:41
zsombididrocks: for instance, a RowLayout whith 3 children, where the first one's minWidth = maxWidth=prefWidth, the third one minWidth=40GU, maxWidth=50GU and f=prefWidth=40GU15:42
didrocksI've more issues to understand why it doesn't have another behavior for the height15:42
didrockszsombi: yeah, no worry on the width, I understood the difference on that one (and it matches most of the Box models that exists in other toolkits)15:42
zsombididrocks: the the mid (second) one is having fillWidth, when you resize the RowLayout you will see the first column size not changing, the third one width changing between 40GU and 50GU, and the mid one filling th erest of the space available15:43
didrocksyeah, I'm using this kind of behavior (that's why I'm using RowLayout instead of Row)15:43
zsombididrocks: but as these elements can have different height, the same applies on the height of each element15:43
zsombididrocks: you and there, in RowLayout, you can decide whether you use height: parent.height or - and I'd suggest this one - use Layout.fillHeight: true so you can be sure your sizing is correct15:44
didrockszsombi: I would expect such behavior in GridLayout, not in RowLayout TBH (at least, that the default would be Layout.fillHeight: true)15:46
didrocksbut I can use this anyway, now that I know there is no magic for this15:46
zsombididrocks: each Row/ColumnLayout is derived from GridLayout, so perhaps that;'s why they work like this15:46
zsombididrocks: but never the less, you have to specify a height15:46
zsombididrocks: even for a Row, you have to specify a height for each element you put in the row15:47
didrockszsombi: they never inflate based on content height?15:47
zsombididrocks: :)15:48
zsombididrocks: you still don't get it, don't you?15:48
zsombididrocks: check how a Row { Item{...} Item {...} Item {...}} works15:48
didrockszsombi: well, I get what needs to be done (like setting it), I don't understand why it's not explicit15:48
didrocksimplicit*15:48
zsombididrocks: if you do it like that, Row will get its height/width set implicitly15:49
zsombididrocks: ok?15:49
didrocksuntil here, yeah :)15:49
zsombididrocks: because it is a Positioner15:49
zsombiit does positioning15:49
zsombididrocks: now RowLayout *must have* a width/height set, because it is NOT a positioner15:50
zsombididrocks: it is a layout element15:50
zsombieach layout element must have a size15:50
zsombilike Item, Rectangle, etc15:50
zsombididrocks: ok?15:50
didrocksbecause the "content" size doesn't change their own size (and that's by definition), am I correct?15:51
zsombididrocks: exactly15:51
didrocksand the content can as well (if you don't set clip: true) get outside of the parent element15:51
didrocksso ok, only positioners can get some implicit height/width15:51
zsombididrocks: not from the Row/ColumnLayout15:51
zsombididrocks: only from Row/Column15:51
didrocksyeah15:52
zsombididrocks: so, none of the layout element sdo force their children to take an implicit size, ever15:52
zsombididrocks: therefore you have to specify these manually15:53
zsombididrocks: if you use the width/height, you lose the dynamic resizing capabilities of the layout15:53
didrocksok, but children can change their sizes to accomodate the parent layout element15:53
zsombibecause you can only set a value15:53
zsombiyes, they can15:53
didrocksok, starting to make sense15:54
zsombididrocks: so, for height, you can do this in a RowLayout15:54
zsombididrocks: for width, you may want to evenly fill the content available, and have a dynamic resizing... so you use the attached properties15:54
didrocksattached properties, you mean Layout.<...>?15:55
zsombididrocks: yes15:59
didrockszsombi: I think I get it now, thanks for this explanation (wasn't that clear from the Qt doc to me at least :)). Let me fix my example tomorrow morning and if you don't mind, I would love you checking that I got it right so that I don't spread misinformation16:01
zsombididrocks: sure, just ping me, I'll find a slot to check it ;)16:01
didrockszsombi: thanks a lot! :)16:02
zsombididrocks: yw16:02
* rickspencer3 tries creating a 15.04 armhf kit16:04
* rickspencer3 braces16:04
=== karni is now known as karni-away
cwaynehiya, are there any docs/guides to writing an html5 app that can use location service?20:19
deekayhi20:47
deekaycan someone help me with the autostart at ubuntu phone?20:47
deekaywana use syncthing20:47
deekayits work well, but i need to start it automatic or by a webapp ...20:48
deekaythe dir /usr/share/upstart/sessions/ is read-only20:49
=== javiercrowsoft1 is now known as javiercrowsoft
=== salem_ is now known as _salem

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