** Changed in: address-book-app (Ubuntu) Status: New => In Progress
** Changed in: address-book-app (Ubuntu) Assignee: (unassigned) => Renato Araujo Oliveira Filho (renatofilho) ** Changed in: address-book-app (Ubuntu) Importance: Undecided => High ** Changed in: ubuntu-system-settings (Ubuntu) Status: New => In Progress ** Changed in: ubuntu-system-settings (Ubuntu) Importance: Undecided => High ** Changed in: ubuntu-system-settings (Ubuntu) Assignee: (unassigned) => Jonas G. Drange (jonas-drange) ** Changed in: webbrowser-app (Ubuntu) Status: New => In Progress ** Changed in: webbrowser-app (Ubuntu) Importance: Undecided => High ** Changed in: webbrowser-app (Ubuntu) Assignee: (unassigned) => Olivier Tilloy (osomon) ** Changed in: ubuntu-terminal-app (Ubuntu) Importance: Undecided => High ** Changed in: ubuntu-terminal-app (Ubuntu) Assignee: (unassigned) => Michael Sheldon (michael-sheldon) ** Changed in: dialer-app (Ubuntu) Importance: Undecided => High ** Changed in: dialer-app (Ubuntu) Assignee: (unassigned) => Gustavo Pichorim Boiko (boiko) ** Changed in: messaging-app (Ubuntu) Importance: Undecided => High ** Changed in: messaging-app (Ubuntu) Assignee: (unassigned) => Tiago Salem Herrmann (tiagosh) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to address-book-app in Ubuntu. https://bugs.launchpad.net/bugs/1629009 Title: Does not work inside a snap due to hardcoded paths Status in address-book-app package in Ubuntu: In Progress Status in dialer-app package in Ubuntu: New Status in messaging-app package in Ubuntu: New Status in ubuntu-system-settings package in Ubuntu: In Progress Status in ubuntu-terminal-app package in Ubuntu: New Status in unity8 package in Ubuntu: New 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/+source/address-book-app/+bug/1629009/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp