/srv/irclogs.ubuntu.com/2014/11/09/#ubuntu-app-devel.txt

=== rwd is now known as rww
=== balloons is now known as Guest6771
=== ubot5` is now known as ubot5
rpadovanimzanetti, do you think we could move all js functions to an external file? It's becoming a mess to connect all functions in the view. E.G when I close the edittabview in tablet mode I have to open again the editnoteview and connect to the exiteditmode the displaynote() function that is in reminders.qml, that requires another function in reminder.sqml11:37
popeynik90: pong11:45
popeynik90: looks like you got your packaging question answered?11:46
popeyhttp://askubuntu.com/questions/545053/how-can-i-use-emacs-instead-of-ubuntu-sdk-to-write-ubuntu-touch-apps is fun11:54
popeyi can see some value in adding  plugins to $random_text_editor to call out to the sdk shell scripts11:54
vitimitiWell, since, for now, only the terminal is a good thing to develop in Unity8, I find that even useful11:55
vitimitiI can't install new apps in the unity8 shell, either, and the keyboard is US only11:56
weeman1337Hello, anyone here, who's familiar with unity 8 scope development?11:57
mzanettirpadovani: hmm... not sure how moving the js functions would help there...12:14
mzanettirpadovani: I'd like to get rid of the tablet mode tbh12:14
rpadovanimzanetti, mhh, makes sense tbh, it isn't such a great feature and only add a lot of complications writing code12:15
mzanettirpadovani: yeah... well, right now I'd prefer you don't move stuff around. I agree though that this is a problem we need to solve12:15
rpadovaniok, I'll stick with that code for now, I have to find a solution on how I can connect a function to exitEditMode from tagview12:16
mzanettirpadovani: maybe using a dialog instead?12:17
mzanettiso you don't have to mess with the pagestack12:17
mzanettiand can just open/close it on top of everything12:17
rpadovanicould be a solution, yes12:17
nik90popey: yeah I got my packaging question answered13:02
vitimitiI want to make a small panel that is dragged from the bottom and I want to create a little tab to indicate its existence just like in the apps menu from unity8 for the scopes. Where can I find an example on how to make that tab to indicate the presence of the panel=13:22
rpadovanivitimiti, do you mean the bottom edge? http://design.canonical.com/2014/03/loving-the-bottom-edge/14:03
qtrosHi all17:50
qtrosCan I talk with someone from SDK team?17:50
qtrosI want to note one thing - Qt Creator in SDK uses a lot of CPU resources when Ctrl is pressed. Seems that it tries to find definition of what is under mouse.18:06
bzoltanqtros:  shoot18:07
qtrosSimple Qt Creator from Qt binaries works better18:07
qtrosbzoltan shoot? :)18:07
bzoltanqtros: with Ubuntu phone app development?18:07
bzoltanqtros:  like "shoot the question"18:08
qtrosbzoltan yep, currently I am trying myself in scope development18:08
bzoltanqtros:  i will check tomorrow that Ctrl issue. I have never seen it as a problem, but it is possible18:08
qtrosbzoltan mb a lot of dependencies causes it18:09
bzoltanqtros: with the stock Qt binaries you will miss the Ubuntu plugin, what is important for deploying the app on a device or on an emulator and for packaging. But sure you can work these around in terminal.18:09
qtrosbzoltan but it's near to unworkable for me - I use ctrl+c and ctrl+v, ctrl+arrows very frequently18:09
qtrosbzoltan Qt Creator freezes fro few second any time I use such hotkeys (and when mouse is under something, not free space)18:10
bzoltanqtros: Let me figure out if it is a known bug in the QtCreator release we use in the SDK or it is something what is caused by the Ubuntu plugin... I suspect the first one18:11
qtrosbzoltan very strange bug, yes) Not a bug, performance issue18:11
bzoltanqtros:  for me on Utopic it hardly ever goes above 2% ... regardless how much I press Ctrl18:13
qtrosOk I will take screenshot for you)18:14
bzoltanqtros: I could increase the cpu usage by copying a block of code and push the CtrlV ... and kept it pushed for a long time .. it copied like hundred times.. then the CPU usage went up. But I guess it is normal. So single press does not do anything.18:15
bzoltanqtros:  no need for screenshot :) I do believe you.18:16
bzoltanqtros:  what env do you use? What HW, what Ubuntu?18:16
qtrosbzoltan I already made it, take a look https://yadi.sk/i/nBMfHGCOcbe3q18:17
qtrosbzoltan but be ready for Russian locale ;)18:17
bzoltanqtros:  I like Russian locale ;)18:18
qtrosbzoltan I pushed control, moved mouse a little under some code and tried to change cursor pos18:18
qtrosbzoltan  now image my feeling when I try to write some code :D18:18
bzoltanqtros:  OK, I got it18:18
qtrosbzoltan I really don't know why it happened18:19
bzoltanqtros:  I could repeat it ... I have a fairly strong machine so my qtcreator is not blacking out, but I see the COU usage growing18:20
qtrosbzoltan I use Qt Creator since Qt 4.6, never seen before such performance issue)18:20
bzoltanqtros:  you said it does not happen with the stock QtC, what version is that?18:20
qtrosbzoltan any, for example 3.1.218:21
qtrosbzoltan seems that someone added potentially time-consuming operation in UI thread18:22
bzoltanqtros:  we are on 3.1.118:23
bzoltanqtros:  I can tell you that our plugin does not do anything with the Crtl key ...18:24
qtrosbzoltan it's very strange)18:28
qtrosbzoltan it's first time I use cmake project18:29
qtrosbzoltan maybe because of it18:29
bzoltanqtros: It is strange but for sure it has nothing to do with the cmake project ... I was planning to build the latest QtC for our SDK from the git repo.. I will see tomorrow if it produces the same problem.ű18:30
qtrosbzoltan ok :) I am pretty happy that now someone is notified about this :)18:31
bzoltanqtros: When it comes to QtCreator in Ubuntu SDK it is either zbenjamin or me18:34
justcarakasanybody here that can help me with a qml question ?18:50
justcarakasI need to know the amount of items there are in my XmlListModel after is has reloaded but I always get the value of it before it was reloaded18:51
justcarakasis there a way to run a function after the reloading is completed ?18:53
dakerjustcarakas: http://qt-project.org/doc/qt-5/qml-qtquick-xmllistmodel-xmllistmodel.html#count-prop no ?19:49
justcarakasdaker it was that that I was looking at, but if you call that emediatly below the reload you get the numbe from before the reload because the reload is still running19:51
justcarakasdaker I solved it at by adding an onStatusChanged and there I do the checks that need to happen after the reload because if it is empy I need to show a error :)19:52
justcarakasbut Im not sure if that is the best solution19:52
newsageshi21:23
newsagesi cant use desing on SDK, error while reading typeinfo.................21:28
beunojdstrand, ack, I'll fix23:25
beunojdstrand, it's odd, the store things 14.10-qml is supported23:29
beunoI wonder if someone changed it23:29
mzanettipopey: do you know if its possible to use the content hub for importing from the camera app?23:38
dakermzanetti: yes i think i have seen that23:41
mzanettidaker: hmm.. do you remember where?23:41
dakermzanetti: one sec23:44
dakermzanetti: twitter webapp23:45
mzanetticool, thanks. will check it out23:45
dakeryw23:46
=== fginther` is now known as fginther
mzanettiok... don't really understand how those webapps work :D23:48
mzanettiI guess the content hub code is in some oxide plugin23:49
mzanettianyone knows of a QML app that can import pictores from the camera using contenthub?23:49
dakermzanetti: https://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/app/ContentPickerDialog.qml23:52
dakerhttps://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/app/ContentDownloadDialog.qml23:52
dakerhttps://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/app/ContentShareDialog.qml23:52
mzanettioh, nice23:52
mzanettiaha!23:52
mzanettiI think I see what I'm doing wrong23:53
* mzanetti tries23:53
dakermzanetti: that's your part https://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/app/ContentPickerDialog.qml#L10223:56

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