/srv/irclogs.ubuntu.com/2014/02/23/#ubuntu-unity.txt

=== rsalveti_ is now known as rsalveti
=== xnox_ is now known as xnox
=== OutOfControl is now known as benonsoftware
=== popey_ is now known as popey
=== Guest77944 is now known as kklimonda
=== achiang` is now known as achiang
=== john-mca` is now known as john-mcaleely
G__81Hi. I see reports stating that Ubuntu Unity 8 would be QML based so does that mean all default applications (gnome-terminal, Nautlius etc) would be changed to Konsole, dolphin and so on ?15:54
G__81is my understanding right ?15:56
G__81so  which means, the kubuntu distribution and Ubuntu would be completely based on QT and both using QT stuff alone15:57
kklimondanot really15:58
kklimondathe problem is, konsole, dolphin and the rest of KDE apps are.. well, KDE16:00
kklimondaand nothing is stopping them from shipping gnome-terminal & co. with QML Unity816:00
G__81kklimonda: so in 14.10 would the default apps undergo change16:01
G__81?16:01
G__81or simply put would Ubuntu ditch everything with gnome and move completely to QT based apps ?16:02
kklimondaubuntu doesn't have resources to ditch all the gnome apps and rewrite them in Qt16:02
kklimondaso I don't think there is going to be a major shuffle in default apps16:03
kklimondaI'm actually really curious to see how well will they integrate Gtk+ with Qt/QML16:03
G__81oh ok16:03
G__81i was under the impression that 14.10 will have Konsole instead of gnome-terminal and dolphin instead of Nautilus and so on16:04
Saviqkklimonda, same way we integrate non-gnome compiz/unity7 right now, it doesn't really matter what the shell's written in17:39
Saviqbut no, there's no plan to switch to KDE for default apps17:40
kklimondaSaviq: what about gvfs? are there plans to get it working well with Qt? last time I checked the open/save dialog in Qt apps behaved slightly differently17:49
Saviqkklimonda, nothing is on the road map right now, but that would probably be one of the things that need happening - depending on the end goal17:51
Saviqkklimonda, right now we're focusing on the phone model, where there's not meant to be a "file" chooser in that sense, rather a "content" chooser, that will be mediated content exchange between two apps, with UIs implemented by the apps themselves17:52
kklimondayeah, really sad about you focusing on the phone :(17:52
Saviqkklimonda, in that world on the desktop one of those apps could be a file chooser, though17:53
kklimondamhm17:53
Saviqkklimonda, why's that, most of the world seems quite happy ;) we've focused on the desktop for quite some time now ;D17:53
Saviqbut that's a dying market, consumer devices move towards tablets/phones more and more17:53
kklimondawell, I don't need a phone os, but there are bugs in unity that are making my life harder than needed17:53
kklimondaand some of those have basically been declined for fix in unity 7.x17:54
Saviqkklimonda, depending on the nature of those bugs, they might be declined from unity 8 too, if they're incoherent with our design vision17:55
Saviqkklimonda, other than that, it's open source, really17:55
kklimondano, my problem is that unity under compiz is intercepting the super key17:55
kklimondaand it's messing up with VMs17:55
Saviqkklimonda, the, unfortunately abrasive, but true, answer is "patches welcome"17:55
Saviqkklimonda, we have to focus on some things, VMs isn't a general enough usecase that we'd like to spend time on it17:56
kklimondacool, it's a bug though - not a new feature17:57
kklimondawould be nice to know that you are commited to fixing those17:58
kklimondaand from what I've read in the bug report, it's a compiz limitation, and may go away once unity 8 is released - but it's been like 2 or 3 years since it got reported, so yeah..17:58
Saviqkklimonda, yeah, we're definitely going to try and not bring those kind of bugs over to the Mir / Unity8 world17:59
Saviqkklimonda, if it was easy to fix in compiz, it would have been fixed - but since it has not, by neither us nor the community, it must be somewhat difficult (I don't know compiz code, but that's a general thing)18:00
Saviqgtg18:01
gatoxSaviq, hi, still around?19:17
gatoxmhr3, hi19:20
mhr3hey19:20
gatoxmhr3, hi, do you have a minute, we were having some problems with the scope regarding the scope api19:21
mhr3gatox, shoot19:21
* Saviq around, too19:22
mhr3Saviq, btw latest everything is so pretty ;)19:23
Saviqmhr3, it wasn't like that yesterday ;D19:23
mhr3i didn't want to kill myself even after using it for like an hour :)19:23
gatoxSaviq, mhr3, the list of Results that is created to show apps in the dash has the proper info to launch the app for installed apps..... BUT, when we want to install a new app, we don't go through the dash again to parse the .desktop files, etc..... so, when you open a preview for an uninstalled app and choose to install, you move to the progress preview, and then to installed preview, which shows the OPEN button, but when you press that b19:24
gatoxutton, that RESULT object, still has the uri as the http://search.apps... fromm the server..... we have a function to retrieve the path to to the desktop file parsing the manifest19:24
gatoxSaviq, mhr3 the problem is that we don't have anyway to change the uri in the result object that is received by the perform_action function in the Scope, so it keeps trying to open that url in the browser when you press open19:25
Saviqgatox, couldn't you send appid:/// in the last preview?19:25
mhr3ah, hmmm19:26
gatoxSaviq, what?19:26
Saviqmhr3, ah that's mapped from the result itself?19:26
gatoxyes19:26
mhr3yea, scope doesn't really have a chance to change the result for which it is doing a preview19:26
gatoxfor a perform_action creating a ActionResponse with NotHandled, so the app is opened from the Dash it use the result info19:26
* mhr3 thinks about a workaround19:27
gatoxany ideas how to fix that? is it possible to do somethig from the scope?19:27
Saviqgatox, you could url-dispatch the appid:///19:28
Saviqmhr3, unless you have some better idea to handle it unity-side19:28
mhr3gatox, we want to support scope-free actions, much like we had previously19:28
mhr3so action could specify a uri, and dash would deal with that uri19:29
mhr3bypassing the standard result uti19:29
mhr3uri*19:29
gatoxmhr3, but that is not possible now, right?19:29
mhr3not right away19:29
mhr3only a patch away though19:29
mhr3a pretty simple patch for that manner19:30
mhr3matter19:30
gatoxmhr3, a patch where? unity-scope-api?19:31
mhr3gatox, no, shell plugin19:31
gatoxmhr3, anyone who could do it today? should i move to Saviq suggestion for now?19:32
mhr3Saviq, wouldn't doing that loose animations and stuff?19:32
gatoxSaviq, for what you suggest..... should i just: QDesktopServices::openUrl(QUrl("appid:///desktop_file")); ??19:34
Saviqgatox, yes19:35
Saviqgatox, well, not desktop_file19:35
Saviqgatox, for desktop_file you'd do application:///desktop_file19:35
Saviqgatox, see https://wiki.ubuntu.com/URLDispatcher19:35
Saviqmhr3, shouldn't19:35
gatoxSaviq, thx!!19:36
Saviqmhr3, we url-dispatch apps all the time19:36
Saviqmhr3, and it should be fully supported19:36
mhr3in that case, that's the easier solution for now19:36
SaviqI think so, yeah19:36
Saviqgatox, ugh, that doc is outdated quite a bit19:37
gatoxSaviq, mhr3 thanks both! i'll try that now19:37
mhr3gatox, another option would be to use for uninstalled apps uris which == installed ones19:40
gatoxmhr3, maybe..... but that would require LOTS of changes right now, for retrieving the info from the server, etc.... maybe that could be done in a future interation19:41
mhr3isn't it just appid:///app_id ? :)19:42
mhr3but i can see that doing that would require more changes19:42
Saviqmhr3, any pointers on debugging a dying scope? I'm testing gatox's tweak for launching apps, but when I click Open, I get back to dash (which might be correct 'cause he's returning HideDash), but then the scope seems to die (no results until scope-registry restart)21:06
mhr3oooooh21:06
mhr3i know what is that21:06
gatoxmhr3, really?! :D21:06
mhr3calling openUrl from non-gui application crashes qt21:07
mhr3i've seen that in shell plugin tests21:07
gatoxmhr3, that sounds like a reason here21:08
mhr3Saviq, but otherwise you can just ps aux, look for the scope cmd line, kill it and respawn with gdb21:09
Saviqmhr3, right, makes sense21:10
mhr3sorry that i didn't think about that an hour ago21:11
Saviqmhr3, nw21:12
Saviqgatox, you could use liburl-dispatcher directly21:13
gatoxSaviq, yap.... i'll try that21:14
gatoxSaviq, mhr3 thx both again!21:14
mhr3wouldn't it be enough to just invoke `upstart-app-launch ...`?21:14
mhr3Usage: upstart-app-launch <app id> [uris]21:14
Saviqgatox, or that ↑21:14
Saviqmhr3, :/, I get "usage: scoperunner runtime.ini configfile.ini [configfile.ini ...]"21:18
mhr3Saviq, `scoperunner "" foo.ini`21:18
Saviqmhr3, ah21:19
mhr3not easily visible in ps that the second arg is empty :)21:19
Saviqmhr3, indeed21:20
Saviqmhr3, gatox, yeah crashes in openUrl21:20
Saviqso should be that21:20
gatoxgood to know21:20
gatoxSaviq, i'm having some issues with cmake (not my area of expertise)... do you know of any projeect using liburl-dispatcher that i can look how they link it?21:46
Saviqgatox, qtubuntu most probably, checking21:48
Saviqcrap, it's in qmae21:49
Saviqqmae21:49
Saviqqmake21:49
Saviqah actually... platform-api?21:49
* Saviq checks21:50
Saviqgatox, http://bazaar.launchpad.net/~phablet-team/platform-api/trunk/view/head:/src/ubuntu/application/url_dispatcher/CMakeLists.txt21:51
gatoxSaviq, thanks!21:52
mhr3gatox, why are you complicating your life? QProcess::execute("upstart-app-launch", {"app.id"});22:05
gatoxSaviq, if it's not much trouble, could you check if it works now in the device? same branch22:06
gatoxmhr3, i was trying to avoid qt calls for this, because we need to use some special functions to execute that.... it the dispatcher doesn't work, i'll use qt (believe me, i would like to just use qt functions :P)22:07
Saviqgatox, on it22:11
gatoxthx22:11
mhr3gatox, so you're assuming that url-dispatcher is actually thread safe, but i doubt that :P22:11
Saviqgatox, it's working!22:23
gatoxSaviq, yeyyyyyyyyyyyy22:23
Saviqgatox, uninstalling doesn't, still, unfortunately22:24
Saviqgatox, so how do we want to get it to the ppa? are you landing it to distro?22:25
gatoxSaviq, yes.... uninstalling seems that needs more work22:25
gatoxSaviq, i'll try to look at it, but without being able to test it here is hard22:26
gatoxSaviq, are you looking at the messages in #u1-client?22:28
=== asac` is now known as asac
=== Trevinho__ is now known as Trevinho

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