Replace Desktop Kit with LXD solution

Bug #1553827 reported by Michael Sheldon
64
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Client Developer Experience
Fix Released
High
Zoltan Balogh
Ubuntu SDK IDE
Fix Released
High
Zoltan Balogh

Bug Description

The new "Ubuntu SDK Desktop Kit" appears to be missing most QML imports besides the core UITK and Qt ones. From a quick test it appears to be missing at least:

Ubuntu.Connectivity
Ubuntu.Content
Ubuntu.DownloadManager
Ubuntu.OnlineAccounts
Ubuntu.Web
Ubuntu.Thumbnailer
U1db

Which prevents many applications from being usable with the kit.

Tags: fix-with-lxd
description: updated
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

This is incredibly annoying while developing the music-app, currently I cannot run the music-app on the desktop until I upgrade to 16.04.

This is because the music-app depends on mediascanner2, media-hub and thumbnailer. All of which are not installed in the ubuntu sdk desktop kit.
Furthermore I cannot install these packages on the 'desktop' and use the 'desktop' kit, due to it using the new background playlists which support was backported/included in QtMultimedia 5.6, which is not included in Wily as it is of a greater Qt version.

So we need to be able to install extra packages into the Ubuntu SDK desktop kit :-) Or I hope future solutions, such as the possible route of LXD will allow this?

Stuart Langridge (sil)
description: updated
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

The fix for this is actually to remove the desktop kit as we are not able to provide the correct experience there.

Changed in canonical-developer-experience:
assignee: nobody → Zoltan Balogh (bzoltan)
importance: Undecided → High
status: New → In Progress
Changed in ubuntu-sdk-ide:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Zoltan Balogh (bzoltan)
summary: - Ubuntu SDK Desktop Kit missing a large number of SDK imports
+ Replace Desktop Kit with LXD solution
Revision history for this message
Zoltan Balogh (bzoltan) wrote :

@Andrew

The Ubuntu Desktop Kit is made for UI prototyping and it contains a limited set of Qt APIs. Please keep in mind that it is technically impossible to backport _ALL_ platform APIs of the latest OTA images to 14.04 desktop. That would require to rebuild and repackage almost the whole archive.

If you want to understand more how Kits are made and what they are for please read this blog post: https://developer.ubuntu.com/en/blog/2015/03/18/everything-you-always-wanted-know-about-kits-were-afraid-ask/

At the moment if you want a desktop runtime environment your only option is to be at least on 16.04.

The ultimate and permanent solution will be indeed the LXD based build and runtime Kit. The LXD containers will do contain all APIs and all runtime tools. So the SDK will be totally decoupled from the host desktop.

Changed in canonical-developer-experience:
status: In Progress → Invalid
Changed in ubuntu-sdk-ide:
status: In Progress → Invalid
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I changed the title so lets continue to track this bug

Changed in canonical-developer-experience:
status: Invalid → In Progress
Changed in ubuntu-sdk-ide:
status: Invalid → In Progress
tags: added: fix-with-lxd
Zoltan Balogh (bzoltan)
Changed in ubuntu-sdk-ide:
status: In Progress → Fix Committed
Changed in canonical-developer-experience:
status: In Progress → Fix Committed
Revision history for this message
Zoltan Balogh (bzoltan) wrote :
Revision history for this message
Anthony (danthonyd) wrote :

When I launch webbrowser-app I get:
$ webbrowser-app

(webbrowser-app:3956): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.

(webbrowser-app:3956): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.

(webbrowser-app:3956): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.
file:///usr/share/webbrowser-app/webbrowser/ContentPickerDialog.qml:22:1: module "Ubuntu.Content" is not installed
file:///usr/share/webbrowser-app/webbrowser/ContentDownloadDialog.qml:22:1: module "Ubuntu.Content" is not installed
file:///usr/share/webbrowser-app/ContentHandler.qml:20:1: module "Ubuntu.Content" is not installed
file:///usr/share/webbrowser-app/webbrowser/DownloadHandler.qml:20:1: module "Ubuntu.DownloadManager" is not installed
[0906/134130:ERROR:oxide_qt_gl_context_dependent.cc(82)] Unable to create adopted GL context for platform: xcb - unexpected result from QPlatformNativeInterface::nativeResourceForContext
shm_open() failed: Permission denied
[0906/134130:ERROR:gl_context_glx.cc(59)] Failed to create GL context with glXCreateContextAttribsARB.
[0906/134130:ERROR:gpu_info_collector.cc(46)] gl::init::CreateGLContext failed
[0906/134130:ERROR:gpu_info_collector.cc(114)] Could not create context for info collection.
[0906/134130:ERROR:oxide_browser_main_parts.cc(289)] gpu::CollectContextGraphicsInfo failed
qml: Loaded 5 UA override(s) from file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Web/ua-overrides-mobile.js
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)
Aborted (core dumped)

Changed in canonical-developer-experience:
status: Fix Committed → Fix Released
Changed in ubuntu-sdk-ide:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.