dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #39851
[Bug 1629009] Re: Does not work inside a snap due to hardcoded paths
This bug was fixed in the package unity8 - 8.14+17.04.20161024-0ubuntu1
---------------
unity8 (8.14+17.04.20161024-0ubuntu1) zesty; urgency=medium
[ Albert Astals Cid ]
* Make PreviewProgress be thicker again (LP: #1629382)
* tst_PreviewZoomableImage: Wait for LazyImage transitions on init()
(LP: #1630136)
[ Andrea Azzarone ]
* Remove UbuntuShapeForItem and replace its use with the more standard
Ubuntu.Components.UbuntuShape.
[ Lukáš Tinkl ]
* Restore the double tap decoration to maximize feature (LP: #1627281)
* Hide the cursor for fullscreen apps after 3 seconds of inactivity
* Implement moving windows by Alt + left mouse button
[ Marco Trevisan (Treviño) ]
* MenuItemFactory: use more features from SlotsLayout based settings
components
[ Michael Terry ]
* Grab launcher icon information from ubuntu-app-launch, not directly
from desktop files.
* Adjust root paths if we're running inside a snap. (LP: #1629009)
[ Michael Zanetti ]
* Merge all Stages into one single codebase. Apply new spread visuals.
(LP: #1489517, #1603914, #1635800)
-- Michael Zanetti <michael.zanetti@xxxxxxxxxxxxx> Mon, 24 Oct 2016
11:37:28 +0000
** Changed in: unity8 (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-transfer in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1629009
Title:
Does not work inside a snap due to hardcoded paths
Status in Ubuntu File Manager App:
Fix Committed
Status in address-book-app package in Ubuntu:
Fix Committed
Status in dialer-app package in Ubuntu:
New
Status in history-service package in Ubuntu:
New
Status in indicator-bluetooth package in Ubuntu:
New
Status in indicator-keyboard package in Ubuntu:
New
Status in indicator-location package in Ubuntu:
New
Status in indicator-messages package in Ubuntu:
New
Status in indicator-network package in Ubuntu:
New
Status in indicator-power package in Ubuntu:
New
Status in indicator-session package in Ubuntu:
New
Status in indicator-sound package in Ubuntu:
New
Status in indicator-transfer package in Ubuntu:
New
Status in messaging-app package in Ubuntu:
New
Status in ubuntu-system-settings package in Ubuntu:
Fix Committed
Status in ubuntu-terminal-app package in Ubuntu:
New
Status in ubuntu-touch-session package in Ubuntu:
New
Status in unity-scope-scopes package in Ubuntu:
New
Status in unity-scopes-api package in Ubuntu:
In Progress
Status in unity-scopes-shell package in Ubuntu:
In Progress
Status in unity8 package in Ubuntu:
Fix Released
Status in webbrowser-app package in Ubuntu:
In Progress
Bug description:
Some apps can't find their main qml file. Error messages like:
"file:///build/messaging-app-gcXPE6/messaging-
app-0.1+16.04.20160831/src/qml/messaging-app.qml: File not found"
(in my case, the file was in /snap/unity8-session/x24/usr/share
/messaging-app/messaging-app.qml)
Seems due to code like the following in config.h.in. Probably needs
to consider the value of $SNAP or just be a little more forgiving.
inline bool isRunningInstalled() {
static bool installed = (QCoreApplication::applicationDirPath() ==
QDir(("@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@")).canonicalPath());
return installed;
}
inline QString messagingAppDirectory() {
if (isRunningInstalled()) {
return QString("@CMAKE_INSTALL_PREFIX@/@MESSAGING_APP_DIR@/");
} else {
return QString("@CMAKE_SOURCE_DIR@/src/qml/");
}
}
inline QString ubuntuPhonePluginPath() {
if (isRunningInstalled()) {
return QString::null;
} else {
return QString("@CMAKE_SOURCE_DIR@/");
}
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-filemanager-app/+bug/1629009/+subscriptions