/srv/irclogs.ubuntu.com/2013/06/19/#ubuntu-app-devel.txt

=== salem_ is now known as _salem
=== chriadam|away is now known as chriadam
dpmgood morning all06:05
=== marlinc|away is now known as marlinc
=== marlinc is now known as marlinc|away
dholbachgood morning06:35
=== hunger_ is now known as hunger
dpmhi jppiiroinen, I've got a very basic question on Qt Creator/qmake: if I add an install rule to a .pro file, is there a way I can invoke that rule from within Qt Creator, or do I have to do it on the command line (i.e. qmake && make install) ?07:43
jppiiroinendpm: good question, never tried07:45
dpmjppiiroinen, I know there is a big button to build the project, but I wonder if there is support for running other targets from within Qt Creator07:46
jppiiroinendpm: not that i would have seen one07:47
dpmjppiiroinen, hm then I guess there isn't a way07:48
jppiiroinendpm: you might want to ask it in #qt-creator07:48
dpmthanks, joining that channel07:48
nerochiarooSoMoN: good morning, I managed to get the ubuntu-ui-extras package to build, and am modifying webbrowser-app to use it. so far it works, but i have a problem: since i have been working on other stuff too in the meantime, there are extra changes in your tree that i haven't ported to the component (for example the tabs support). i will need help with those, I think08:02
oSoMoNnerochiaro: sure08:05
oSoMoNnerochiaro: the thing is, I’m leaving on holidays tonight, and I don’t think I’ll have time today (working hard on the history view)08:06
guschnerochiaro: I have two camera MRs https://code.launchpad.net/~schwann/camera-app/camera-video-duration-orientation/+merge/170267 and https://code.launchpad.net/~schwann/camera-app/camera-video-orientation/+merge/17005308:53
nerochiarotimp: zsombi: Kaleo: i finally managed to put together an ubuntu-ui-extras branch that works. can any of you during the following days spend some time validating that it's up to standards, works fine, etc ? lp:~amanzi-team/ubuntu-ui-extras/ubuntu-ui-extras-initial09:04
nerochiarotimp: zsombi: Kaleo: i will get back to it on monday, so take your time, but make sure everything is there by that day so i can hack on it straight away09:05
nerochiarogusch: the orientation for video MR basically makes sure the orientation is always set before starting a recording, right ?09:06
guschnerochiaro: correct - before it was only for photos09:07
guschnerochiaro: all the rest for the orientation support is reviewd by jim09:07
nerochiarogusch: ok09:07
nerochiarogusch: ok, both reviews comment-approved, one has a little nitpick that you may or may not want to fix09:08
nerochiarogusch: other than that, i think you're good to go once someone verifies on device09:08
guschnerochiaro: I use "d" as id - inspired by Qt C++ - but if you prefer another name, no problem - suggest one09:09
nerochiarogusch: that's ok, it's just not very clear to me, and i think we have this best practice of always trying to have self-explanatory variable and object names09:11
nerochiarogusch: but as i said: nitpick09:11
dholbachJamesTai2, thanks a bunch for sending the update!09:16
zsombinerochiaro: took a quick look on it09:18
nerochiarozsombi: thanks, i emailed you all about it too09:19
zsombinerochiaro: SelectionPopover seems to be pretty similar to ActionSelectionPopover...09:19
nerochiarozsombi: what i meant was not to review the Browser code itself, was more to validate the structure of the plugin and package in terms of directories, where things are installed, package names etc09:20
nerochiarozsombi: but that comment regarding the Browser is probably valid and oSoMoN should have a look into that09:20
zsombinerochiaro: should this be a separate package or should it be included in the Ubuntu Components?09:20
nerochiarozsombi: separate, in a ubuntu-ui-extras package as it does not need to meet sdk full standards, according to Kaleo09:21
JamesTai2dholbach, I need to keep on top of them, hopefully make them weekly.09:21
dholbachgreat :)09:21
zsombinerochiaro: then perhaps Ubuntu.Extras as module would be better as Ubuntu.Components and anything under it should meet SDK standards...09:21
nerochiarozsombi: we discussed this with Kaleo and he was ok with Ubuntu.Components.Extras but i'm up for changing things if he agrees09:22
oSoMoNnerochiaro: which comment?09:22
zsombinerochiaro: at least that's my opinion... but he's the boss :)09:22
nerochiarozsombi: in any case, i have to run for now, i might be back later. ideally if it's possible to create an lp:ubuntu-ui-extras and request a merge of my branch into it, then we can have proper MR comments that i can go and check when i'm back09:23
nerochiarozsombi: Kaleo was the one i discuss all this with, i'm including you and timp as i know he doesn't have tons of time, but you 3 should discuss it together and then someone review i guess09:24
JamesTai2Good morning all - have a happy, relaxed World Sauntering Day. :)09:24
nerochiarozsombi: i sent you 3 an email with more details09:24
zsombinerochiaro: well, in the case it doesn' tneed to meet SDK standards, I don't think we have anything to ask :)09:24
zsombinerochiaro: I saw it09:24
nerochiarooSoMoN: <zsombi> nerochiaro: SelectionPopover seems to be pretty similar to ActionSelectionPopover...09:24
oSoMoNnerochiaro: can you please file a bug to track that?09:25
nerochiarozsombi: :) well, i'm not sure how you guys want to do it, i just thought that since it is still related to sdk you would need to be somehow the gatekeepers of it09:25
zsombinerochiaro: right :)09:25
nerochiarooSoMoN: i'll let zsombi file it as he knows better what he meant with that comment09:26
nerochiarooSoMoN: if you and him don't mind ;)09:26
oSoMoNsure09:26
zsombioSoMoN: where should I file the bug? There' snothing released, no MR to comment yet...09:26
nerochiarozsombi: i would've asked Kaleo only but I thought i would include you too as well as you always have more time and good input09:27
oSoMoNzsombi: https://bugs.launchpad.net/webbrowser-app/+filebug09:27
nerochiarooSoMoN: zsombi: anyway, time for me to go for now, thanks for all the help09:28
zsombinerochiaro: cheers!09:28
oSoMoNcheers, have a good rest of the week09:28
nerochiaroyou too guys09:28
nerochiaroand oSoMoN happy holidays09:29
zsombioSoMoN: shoudl I assign to U?09:30
oSoMoNzsombi: please do09:30
zsombioSoMoN: https://bugs.launchpad.net/webbrowser-app/+bug/119250709:31
ubot2Ubuntu bug 1192507 in webbrowser-app "Ubuntu.Component.Extras SelectionPopover looks similar to ActionSelectionPopover" [Undecided,New]09:31
timpwhat's the ubuntu-ui-extras for?09:31
timpit makes me wonder, is ubuntu-ui-toolkit the only project using qmake instead of cmake? perhaps we should consider switching to cmake09:32
=== ckpringle_ is now known as ckpringle
oSoMoNzsombi: thanks09:34
=== JamesTai2 is now known as JamesTait
mzanettitmoenicke: hey10:05
mzanettitmoenicke: I'm trying to debug why maliit-server crashes when introspecting with autopilot10:06
mzanettitmoenicke: but Can't see any debug output.10:06
mzanettitmoenicke: any idea if that's disabled somewhere in maliit?10:06
timpzsombi: will you review https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/toolbarItems/+merge/170070 ?10:18
zsombitimp: yes10:19
timpthanks10:19
tmoenickemzanetti: yes, it redirects it somehow10:20
tmoenickemzanetti: export MALIIT_DEBUG=enabled10:20
mzanettitmoenicke: thanks!10:20
mzanettitmoenicke: I found out that qWarning()s are printed10:20
tmoenickeyep, just not qDebug()10:21
LaneyKaleo: here? Can you take a look at http://paste.ubuntu.com/5780061/ and tell me if I'm using the SES right?10:41
Laneybecause it doesn't get rounded goodness10:41
=== MacSlow is now known as MacSlow|lunch
KaleoLaney: it's right but you are not hiding the original image11:18
KaleoLaney: so you still see it on top11:18
Kaleohttp://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-shadereffectsource.html#hideSource-prop11:19
LaneyKaleo: That just seems to make it disappear completely11:20
=== jppiiroinen is now known as jppiiroinen|afk
KaleoLaney: if you remove the whos SES and Image do you see the Shape?11:21
LaneyKaleo: There's no border, no11:23
LaneyDoes that make a difference?11:23
KaleoLaney: yes11:23
LaneyUbuntuShape.qml does some stuff which looks to be setting that up11:23
KaleoLaney: try setting a baseColor, a gradientColor and radius: "medium"11:23
KaleoLaney: and visible: true11:23
LaneyOK so I'm copying some stuff from UbuntuShape11:25
LaneyKaleo: ItemStyle.class seemed to be the key one11:29
LaneyKaleo: So I have the border now but still no image11:30
timpLaney: try adding radius: frame.radius to the Shape11:32
timpuhm, sorry not frame.radius11:32
timpbut "small"11:32
timpor "medium" :)11:33
timpas Kaleo said11:33
LaneyI had medium, that's how I got the border to work11:33
Laneyit's just the image contained within it that doesn't appear11:33
timpLaney: shadereffectsource doesn't have a width/height11:34
timptry to set that explicitly11:34
Laneytimp: no good :/11:36
Laneysorry11:36
Laneyhttp://paste.ubuntu.com/5780177/11:37
LaneyI'll get back to integrating CrossFadeImage for now11:39
KaleoLaney: http://pastebin.ubuntu.com/5780204/11:47
KaleoLaney: that works11:47
KaleoLaney: the reason why it was not working is that the SES needs to be instantiated outside of the Shape for some reason11:48
KaleoLaney: I also had to add a hack so that the SES is not visible11:48
KaleoLaney: width and height: 111:48
Laneyaha11:49
Laneyalso the fillMode is ignored11:49
KaleoLaney: yes so look at how it's done in UbuntuShape to respect it11:49
=== greyback is now known as greyback|lunch
=== chriadam is now known as chriadam|away
dpmseb128, I'm writing a scope for a tutorial on d.u.c. One of the parts is to create a dbus .service file that contains an Exec= line with the path to the executable. The path is /usr/lib/[arch-triplet]/blahblah - do you know if there is any clever trick to express that [arch-triplet] part in there so that it's valid for all architectures, or do I need to get the build system to determine it and replace it at build time?12:40
seb128dpm, you need the build system to do it12:41
dpmI thought so, bummer12:41
seb128dpm, well just install ot /usr/lib/<software> if you want to make things easier12:42
dpmseb128, thanks for confirming. Hm, no, I want to make it easier for app devs, but they should really install in the same location as the other scopes12:43
=== MacSlow|lunch is now known as MacSlow
=== dholbach_ is now known as dholbach
=== _salem is now known as salem_
=== jppiiroinen|afk is now known as jppiiroinen
=== greyback|lunch is now known as greyback
* timp sent e-mail to ubuntu-phone about toolbar API update.13:35
timpgusch: the updates I made to the toolbar are now in UITK trunk.13:46
timpgusch: so you if you have no further comments on https://code.launchpad.net/~tpeeters/gallery-app/toolbarItems/+merge/170115 you can approve it.13:46
guschtimp: I did not yet really review it - will do it now13:47
timpgusch: one jenkins test is marked as UNSTABLE. I don't know why. Is it a jenkins issue or something with the MR?13:47
boikotimp: I'll go ahead and update the phone-app too13:48
timpgusch: I sent an e-mail to ubuntu-phone mailing list with a bit of background information13:48
guschtimp: I retrigger the jenkins job, and will have a look13:48
timpboiko: ok, great. let me know if you need help13:48
boikotimp: thanks13:49
timpgusch, boiko I don't know when the new uitk packages are built, but they should appear automatically13:49
boikotimp: if you happen to notice when it gets released, please let us know13:49
timpok13:50
boikotimp: (phone-app is in manual release mode still so we can control when to release it)13:50
=== ckpringle_ is now known as ckpringle
guschtimp: ok - looks good - I will update the UITK later today and test it13:59
timpgusch: thanks. you'll need version bzr550 of the uitk packages. current is 54914:04
=== om26er is now known as om26er|opt
=== om26er|opt is now known as om26er-otp
=== salem_ is now known as _salem
=== ckpringle_ is now known as ckpringle
nik90timp: Thanks for the update on the core-apps mailing list.14:57
nik90timp: I have some questions if you are free to answer14:57
timpnik90: sure15:00
timpqtdeclarative5-ubuntu-ui-toolkit-plugin: Installed: 0.1.46daily13.06.14bzr544raring0 Candidate: 0.1.46daily13.06.19bzr550raring015:02
timpboiko, gusch ^ 550 is there, so good to go.15:03
guschtimp: ok - thx15:04
nik90timp: I see that property bool visible has been deprecated. Does this mean that it wouldn15:04
nik90timp: wouldn't be able to hide toolbar buttons anymore?15:04
timpnik90: it is, but now you use a ToolbarButton inside a ToolbarItems to define the buttons.15:09
timpnik90: ToolbarButton inherits ActionItem, which inherits Item, which has a visible property15:10
timpnik90: so you can use visible in the ToolbarButton as you used in the Action before15:10
nik90timp: ah ok. that's nice15:10
nik90timp: one more thing15:10
nik90timp: In the email, you mentioned CHANGED in Page: property ToolbarActions tools TO property Item tools15:10
nik90timp: However, in the example you use items: ToolbarItems15:11
timpyes, that means that in theory you can put *any* Item in tools15:11
nik90timp: I am guessing you meant that the property has been changed to ToolbarItems15:11
nik90timp: oh ok15:11
timptools: Rectangle { anchors.fill: parent; color: "red" }, you'll have only a red rectangle in the toolbar15:11
timpnik90: no, it can be anything, including the deprecated ToolbarActions, so apps that are using ToolbarActions will not break (for now)15:12
nik90timp: ok. Nice finally it will be much easier to also write autopilot tests for these.15:12
nik90thnx for the update15:12
timpI'm glad to help :)15:12
timpnik90: also have a look at the API docs for ToolbarItem and ToolbarButton in the ubuntu-ui-toolkit-doc package (you need version bzr550)15:14
nik90timp: ok. I just got the update to the latest package15:14
=== om26er-otp is now known as om26er
=== dholbach_ is now known as dholbach
=== marlinc|away is now known as marlinc
marcoceppiSo, I'm reading http://developer.ubuntu.com/packaging/html/python-packaging.html and I know my app does not work with python3 yet, what should my debian/rules file look like?15:36
guschtimp: please merge with trunk from gallery15:41
guschtimp: there is a merge conflict15:41
timpgusch: ok15:44
timpgusch: done15:47
timppushed15:47
guschtimp: thx - now let's wait for jenkins15:48
=== davidcalle_ is now known as davidcalle
=== _salem is now known as salem_
nik90timp: I am unable to find an example of a back toolbar button in the docs16:54
nik90timp: the closest I could find was http://paste.ubuntu.com/5781002/16:55
nik90timp: however even that creates a custom back button.16:55
om26erboiko, is there a way I could make the telephony app think we are on a network ? so could get certain panels to show up ? like on clicking the 'dial' icon i would like to see the onCallPanel to get some data out of autopilot vis16:57
boikoom26er: other than running the ofono-phonesim?16:57
boikoom26er: https://docs.google.com/a/canonical.com/document/d/1bntPn5Jj7TI5KTMZmFSSbOmKydoRrRqz15eQ8sRvBJ4/edit#heading=h.4eqfacsvxava16:58
om26erboiko, yeah, I think that should work16:59
nik90timp: Another thing is that I am unable to hide the toolbar using code. This is the code that I have for the toolbar http://paste.ubuntu.com/5781023/17:04
nik90timp: However when you press the "Add City" ToolbarButton, onTriggered() it does not hide the toolbar17:05
nik90timp: Is this a bug or am I doing to completely wrong?17:05
om26erboiko, would that work on the desktop as well ?17:05
boikoom26er: yes, the ofono-phonesim is what salem_ and I were using to develop phone-app when the backend was not yet ready17:06
om26erboiko, i get this http://paste.ubuntu.com/5781031/17:08
boikoom26er: did you run the ofono-phonesim with the args as described in the doc?17:09
boikoom26er: do you have ofono running there?17:09
om26erboiko, yes, ofono-phonesim is running17:11
boikoom26er: and ofono iself? do you see it in the system dbus?17:11
guschtimp: to fix your gallery branch: https://pastebin.canonical.com/93110/17:38
timpnik90: it is a bug. can you report it on the ubuntu-ui-toolkit? thanks18:42
timpgusch: oops. I pushed an update.18:44
timpgusch: thanks18:44
* timp eod.18:45
guschtimp: ok18:45
=== dpm is now known as dpm-afk
nik90timp: sure18:51
AskUbuntuQt Creator's pop up gets frozen when click on Develop menu or Start Developing link | http://askubuntu.com/q/31030220:36
=== salem_ is now known as _salem
dmiller309Question: Is there a way to emit a PropertiesChanged signal using Q_PROPERTIES? I'm trying to implement this: http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties, as per http://www.mentby.com/Group/dbus/propertieschanged-signal-take-2.html.20:58
dmiller309I know that I could add a Q_SIGNAL to my Q_PROPERTY declaration, but I have multiple properties and I only want my client to have to subscribe to one signal.20:59
dmiller309I also know how that I could add a Q_SCRIPTABLE tag to a function called "propertiesChanged(QString interface_name, QMap<QString,QVariant> changed_properties, QList<QString> invalidated_properties)", but that's not ideal because then the method wouldn't be registered under the org.freedesktop.DBus.Properties interface.21:02
dmiller309Is this the correct place to ask a question like this? Is anyone here?21:03
AskUbuntuhi i would like to devellop my onw network based on the unbuntu linux distribution | http://askubuntu.com/q/31033122:14
dmiller309You have some spelling issues in your title.22:19
dmiller309Is there a way to emit a PropertiesChanged signal with DBus?23:18
TwitchTEKHowdy All!23:30
TwitchTEKLongtime Windows Network Admin, short term (noob) to Linux with a question regarding the existance of an app that does what I want and if not, how do i make it.  Anybody interested?23:31
TwitchTEKAnybody even here?23:32
fugue88TwitchTEK: Welcome to the channel.  Just ask your question, don't ask to ask.  :)23:32
TwitchTEKThanks fugue, dont want to be impolite...23:34

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