/srv/irclogs.ubuntu.com/2013/11/29/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== chriadam is now known as chriadam|away
dholbachgood morning07:58
Mirvbzoltan1: tsdgeos: after lp:~aacid/ubuntu-ui-toolkit/no_two_qapps_same_time getting that one fixed but more test failures exist https://launchpadlibrarian.net/157570125/buildlog_ubuntu-trusty-armhf.ubuntu-ui-toolkit_1%3A0.1.46%2B14.04.20131118-0~858~ubuntu14.04.1_FAILEDTOBUILD.txt.gz09:07
Mirvregarding layouts09:08
tsdgeosMirv: wrong link?09:08
tsdgeosMirv: this one is the one with09:08
tsdgeosQFATAL : tst_UCArguments::testNoArguments(NO ARGUMENTS) ASSERT failure in QCoreApplication: "there should be only one application object", file kernel/qcoreapplication.cpp, line 69909:08
tsdgeoswhich is what my branch fixes09:09
Mirvsorry, yes09:09
Mirvtsdgeos: https://launchpadlibrarian.net/157869464/buildlog_ubuntu-trusty-armhf.ubuntu-ui-toolkit_1%3A0.1.46%2B14.04.20131126.1-0ubuntu1~870~ubuntu14.04.1%2Bfixqt52~test1_FAILEDTOBUILD.txt.gz09:09
tsdgeosMirv: interesting, what do you want to do, open a new bug? reopen the existing one?09:10
Mirvtsdgeos: I'll open a new one, makes things less confusing09:10
tsdgeos+109:10
Mirvbug #125623509:11
ubot2Launchpad bug 1256235 in Ubuntu UI Toolkit "Layout tests failing in ui-toolkit when building against Qt 5.2" [Critical,New] https://launchpad.net/bugs/125623509:11
=== irv_ is now known as irv
JamesTaitGood morning all; happy Friday and happy Electronic Greetings Day! :-D09:54
ogra_popey, do you have an idea if we will ever see the docviewer app enter the store ?10:19
* ogra_ is close to write his own pdf viewer10:19
popeyit should.. yes.10:19
popeybut hey, multiple doc viewers aren't a bad thing ☻10:19
ogra_lol10:19
ogra_i just want to be able to read my ebooks without having to convert them to html all the time10:20
popeyberu is nice10:21
popeybut that's epub only10:21
ogra_right, doesnt help me ... all my ebooks are pdf10:22
ogra_(and i ave a few 100)10:22
ogra_also i think beru doesnt allow rotation lock ... kind of essential if you read sideways in bed10:23
popeyfile bugs / patches welcome etc10:24
popeyits on github10:24
* ogra_ sighs ... 10:26
ogra_i think my grouper battery is giving up10:27
=== _salem is now known as salem_
=== MacSlow is now known as MacSlow|lunch
seb128hey sdk friends, question for you12:52
seb128I've a  ListItem.ItemSelector {} I'm using with a list that goes over the screen12:52
=== MacSlow|lunch is now known as MacSlow
seb128does using "containerHeight: height" seems the right thing to do?12:53
seb128shouldn't that be the default?12:53
seb128(that would make scrolling work out of the box, where it doesn't at the moment)12:53
=== _salem is now known as salem_
t1mpseb128: ask nic-doffay13:35
seb128t1mp, let's see if he replies to your ping an join the channel ;-) (thanks for pinging him btw)13:35
=== salem_ is now known as _salem
=== _salem is now known as salem_
seb128nic-doffay__, hey14:44
nic-doffay__seb128, what's up14:45
seb128nic-doffay__, I've a  ListItem.ItemSelector {} I'm using with a list that goes over the screen14:47
seb128does using "containerHeight: height" seems the right thing to do?14:47
seb128shouldn't that be the default?14:47
seb128(that would make scrolling work out of the box, where it doesn't at the moment)14:47
=== Ursinha is now known as Ursinha-afk
nic-doffay__seb128, containerHeight is the height of the ListView by default.14:48
nic-doffay__Unless you set a custom height.14:48
nic-doffay__Which then enables scrolling inside the selector.14:48
seb128wouldn't it make sense to have it being the height of the ItemSelector by default?14:49
seb128so scrolling works out of the box?14:49
seb128what's the point of making it > to the visible content?14:49
nic-doffay__seb128, by default the containerHeight is the height of all the options in the ListView.14:52
nic-doffay__The height of the ItemSelector can change.14:52
seb128nic-doffay__, right, but why? shouldn't it be the height of the visible part (so scrolling works)?14:53
nic-doffay__seb128, I'm not sure what you mean by the visible part.14:53
seb128nic-doffay__, http://paste.ubuntu.com/6494365/ doesn't work as it should14:54
seb128nic-doffay__, e.g you can scroll down the list14:54
seb128nic-doffay__, it works if you add "containerHeight: height" ... but that's not obvious/appdev friendly14:54
seb128why can't that be the default value so the example works, including scrolling?14:55
seb128sorry, I might be overlooking something obvious14:55
hikiko-lpthello :)14:55
seb128nic-doffay__, can->can't scroll, sorry14:55
hikiko-lptanybody with free time to help me a little with a few general qml/qtcreator questions?14:56
nic-doffay__seb128, I'll take a look in a test app quickly...15:00
t1mphikiko-lpt: just ask, and see if someone answers :)15:00
seb128nic-doffay__, http://paste.ubuntu.com/6494365/15:01
seb128nic-doffay__, that's my test app15:01
seb128nic-doffay__, thanks ;-)15:01
hikiko-lptwell I've seen that wiki explains a lot about qml but I wonder if there's any documentation on the basics, for example :) I imported the gallery app to the qtcreator and I can't figure out how to use the qml analyzer and what is it for15:02
nic-doffay__seb128, that use case is interesting you're right, scrolling should be enabled then. A check of the parent's height would have to be made.15:04
nic-doffay__hikiko-lpt, I've never used the analyzer yet.15:05
seb128nic-doffay__, what wouldn't work if the default was containerHeight = height?15:06
seb128nic-doffay__, sorry, I'm just trying to understand why it needs to be the height of the elements15:06
nic-doffay__seb128, there was a reason, I'm just trying to recall, it's been a while.15:06
nic-doffay__seb128, I'll get back to you soon. With a  concrete response.15:07
nic-doffay__It might be I was wrong.15:07
seb128nic-doffay__, https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/125635615:09
ubot2Launchpad bug 1256356 in Ubuntu UI Toolkit "ListItem.ItemSelector, scrolling doesn't work by default" [Undecided,New]15:09
nic-doffay__seb128, ah the reason it's set to what it is, is because the height of the actual OptionSelector is set to the column15:09
nic-doffay__The column includes the label and spacing.15:09
seb128nic-doffay__, label and spacing of what?15:11
nic-doffay__seb128, the optionselector is a column.15:11
nic-doffay__Which includes the label above the ListView.15:11
hikiko-lptmmm cool there's a qtcreator doc that has everything :D15:11
nic-doffay__There is a spacing between the label and the ListView container.15:12
seb128nic-doffay__, oh, I see15:13
seb128nic-doffay__, so it should be "heigth - label_height - spacing"?15:13
nic-doffay__seb128, that's probably preferable yeah. I just hadn't taken into consideration this use case when I was doing it!15:14
seb128nic-doffay__, anyway, filed https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1256356, thanks for considering it ;-)15:14
ubot2Launchpad bug 1256356 in Ubuntu UI Toolkit "ListItem.ItemSelector, scrolling doesn't work by default" [Undecided,New]15:14
nic-doffay__seb128, thanks for filing it!15:15
seb128Laney, ^ btw15:15
Laneyseb128: decent, thanks15:16
seb128yw15:16
dholbachhey popey - so I'm slightly rearranging and adding speaker notes to the content we have for the app dev school events right now - I'm done with the talk dpm gave at Øredev and was wondering if (we split it up properly) it was something we'd also want to screencast? (http://people.canonical.com/~dholbach/tmp/apps-presentations/Ubuntu,%20the%20new%20force%20in%20mobile.odp)15:35
dholbachyou have more experience with screencast and suggested we should keep them down to 5 minutes each15:36
dholbachso I wasn't quite sure15:36
popeyyeah, that sounds reasonable15:38
dholbachpopey, ok, so I'll take a look and see how we can break it up into digestible pieces and bring it up in a mail15:39
popeyawesome15:39
dholbachpopey, mhall119: I noticed https://lists.ubuntu.com/archives/ubuntu-app-devel/ isn't really used much15:40
popeyi didnt realise it existed15:41
dholbachI was wondering if we should use it for discussions like this, so folks could probably get involved with things like the app dev school materials and stuff15:41
dholbachas the info doesn't drown in loads of other things like on ubuntu-touch15:41
dholbacherr15:41
dholbachubuntu-phone, sorry15:41
popeydo we know how many people are on that list?15:42
dholbachmhall119, ^ do you have access for ubuntu-app-devel or do we have to ask David? :)15:43
mhall119dholbach: I don't think I do15:44
dholbachI'll mail dpm then15:44
dholbachthanks mhall11915:45
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
nic-doffay__seb128, you know that use case where you did containerHeight: height16:36
nic-doffay__that's not working for me as I suspected.16:37
nic-doffay__It's just setting the height of the selector as itself?16:37
nic-doffay__nothing happens...16:37
seb128nic-doffay__, the example I pastebined work with "containerHeight: height", you can scroll down the list16:37
seb128not for you?16:37
nic-doffay__seb128, I think the actually height calculation is a problem too.16:38
nic-doffay__It should be set to the height of the parent, what are your thoughts?16:38
seb128nic-doffay__, that wouldn't work in a column?16:39
seb128e.g16:39
seb128Standar16:39
seb128Standard16:39
nic-doffay__seb128, no it wouldn't...16:39
nic-doffay__that's the thing.16:39
seb128ItemSelector16:39
=== Ursinha is now known as Ursinha-afk
nic-doffayseb128, fixed16:49
nic-doffayI'll try get it landed on Monday.16:49
seb128nic-doffay, thanks!16:50
nic-doffayseb128, mind giving the branch a spin and leaving a comment?16:54
seb128nic-doffay, sure, I can do that16:59
nic-doffayseb128, thanks: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/125635617:00
ubot2Launchpad bug 1256356 in Ubuntu UI Toolkit "ListItem.ItemSelector, scrolling doesn't work by default" [Undecided,Confirmed]17:00
nic-doffaybranch is linked there.17:00
seb128great17:00
=== Ursinha-afk is now known as Ursinha
seb128nic-doffay, that branch doesn't work17:40
seb128file:///usr/lib/i386-linux-gnu/qt5/qml/Ubuntu/Components/ListItems/ItemSelector.qml:154: ReferenceError: label is not defined17:40
nic-doffayseb128, yeah the label id was missing from the ItemSelector.17:59
nic-doffayseb128, I'd really like to merge those two classes, egh.17:59
labsinpopey, Was the Falling Blocks app any good on the phone?18:10
seb128nic-doffay, still not working fine, it's buggy in the case there is no "text" (e.g no title)18:16
nic-doffayseb128, argh forgot about that use case. I'll have to look into it on monday.18:26
=== salem_ is now known as _salem
aquariusmarcoceppi, ping about discourse and juju and azure19:08
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
aquariusmarcoceppi, brief note: "juju add relation discourse postgresql:db-admin" in http://marcoceppi.com/2013/07/deploying-discourse-in-production-lessons-learned/ should be add-relation. I was a bit shocked at first :)20:28
=== andrea is now known as Guest57337
=== salem_ is now known as _salem

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