[Touch-packages] [Bug 2008279] Re: glib2.0 2.75.3-3 breaks text input for Firefox & Chromium snaps if IBus is turned on

2023-03-07 Thread James Henstridge
I've created https://github.com/snapcore/snapd/pull/12627 as a proposed fix for the issue. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ibus in Ubuntu. https://bugs.launchpad.net/bugs/2008279 Title: glib2.0 2.75.3-3

[Touch-packages] [Bug 2008279] Re: glib2.0 2.75.3-3 breaks text input for Firefox & Chromium snaps if IBus is turned on

2023-03-07 Thread James Henstridge
Okay. In a clean Lunar VM with glib 2.75.3 installed and ibus enabled as described in the bug description, I could reproduce the input problems in Firefox. I saw the following AppArmor denial in the dmesg logs: [ +0.343553] audit: type=1400 audit(1678248386.012:62): apparmor="DENIED"

[Touch-packages] [Bug 2008279] Re: glib2.0 2.75.3-3 breaks text input for Firefox & Chromium snaps if IBus is turned on

2023-03-07 Thread James Henstridge
This seems like the most likely culprit: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3005 This basically means that code that would have created an abstract namespace socket in glib 2.74.x now creates a regular unix domain socket in 2.75.x. We have AppArmor rules in snapd's

[Touch-packages] [Bug 2008279] Re: glib2.0 2.75.3-3 breaks text input for Firefox & Chromium snaps if IBus is turned on

2023-03-07 Thread James Henstridge
I think last time we had problems like this it was due to changes in the location of the socket for ibus's private D-Bus bus. Looking into the glib diffs for clues. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ibus in

[Touch-packages] [Bug 1794064] Re: Clicking a hyperlink in a PDF fails to open it if the default browser is a snap

2022-04-06 Thread James Henstridge
> Is there any option to do this via portals - ie can evince use > org.freedesktop.portal.OpenURI to open the URI? Would then this > allow to avoid going via xdg-open? Evince is using g_app_info_launch_default_for_uri(), which can use the portal interface:

[Touch-packages] [Bug 1886854] Re: Race in load-module snap policy check in classic confinement

2020-09-22 Thread James Henstridge
This is the in-progress fix I've been working on. It does not quite work right though: switching to an async hook for these commands is resulting in the daemon killing the client on a protocol error. This might be a problem with the hooks patch set itself. I need to investigate a bit further.

[Touch-packages] [Bug 1886854] Re: Race in load-module snap policy check in classic confinement

2020-09-16 Thread James Henstridge
Sorry for taking so long to get back to you. I now understand the non- deterministic behaviour you're seeing. I'm working on a fix for the server side to allow classic snaps to access these commands. It will require a small change to your Pulse Audio client library to fix the non-determinism

[Touch-packages] [Bug 1886854] Re: Race in load-module snap policy check in classic confinement

2020-07-22 Thread James Henstridge
I think I need to dig into this further. The fact you're seeing a few successful module loads with different module indexes would indicate it is the same Pulse Audio instance. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1886854] Re: Race in load-module snap policy check in classic confinement

2020-07-22 Thread James Henstridge
I think there's two issues at play here. The hooks we added for module loading/unloading as part of USN-4355-1 simply check if the client has an AppArmor label that looks like it belongs to a snap and denies access if found. This will also deny access to classic snaps, which is probably a

[Touch-packages] [Bug 1876237] [NEW] QDesktopServices::openUrl() fails when called on local files from within a snap

2020-04-30 Thread James Henstridge
Public bug reported: This is something we might want to fix to help people who build snaps based on Focal's Qt. The QGenericUnixServices implementation of openUrl() passes an O_PATH file descriptor to xdg-desktop-portal when it detects it is running under snap confinement. This is rejected

[Touch-packages] [Bug 1856428] Re: Disable TLS below 1.2 by default

2020-02-18 Thread James Henstridge
For anyone who finds this bug, and wonders about the "Users can override this behaviour with a config file" part, here's what I did to get an OpenSSL-using application to talk to an old server that only supported TLSv1 (in my case, an old Mumble server): 1. create an "openssl.cnf" file somewhere

[Touch-packages] [Bug 1856054] Re: pulseaudio now depends on libsnapd-glib1 which recommends snapd

2019-12-12 Thread James Henstridge
If you are worried about what the Pulse Audio change is actually doing, here's a description: 1. there is a new "snap-policy" PA module that is loaded by default. 2. when a client attempts to use the microphone and has a "snap.*" AppArmor label, it contacts snapd to check whether that app has

[Touch-packages] [Bug 1781428] Re: please enable snap mediation support

2019-11-11 Thread James Henstridge
The two packages are in the upload queue now: https://launchpad.net/ubuntu/xenial/+queue?queue_state=1_text=pulseaudio https://launchpad.net/ubuntu/bionic/+queue?queue_state=1_text=pulseaudio One additional acceptance test would be to verify that the policy module continues to work

[Touch-packages] [Bug 1781428] Re: please enable snap mediation support

2019-11-08 Thread James Henstridge
required by the snap policy module due to a symbol name clash with libjson-glib. - 0805-remove-libjson-c-dependency.patch: new file. -- James Henstridge Tue, 05 Nov 2019 17:16:22 +0800 ** Bug watch added: freedesktop.org Bugzilla #95135 https://bugs.freedesktop.org/show_bug.cgi?id=9

[Touch-packages] [Bug 1781428] Re: please enable snap mediation support

2019-11-07 Thread James Henstridge
efault configuration. - Build depend on libsnapd-glib-dev. * Remove module-trust-store patch set: - 0409-Trust-store-patch.patch: trimmed down to pulsecore changes. - 0410-Add-thread-to-activate-trust-store-interface.patch: removed. - 0417-increase-timeout-check-apparmor.patch: removed.

[Touch-packages] [Bug 1781428] Re: please enable snap mediation support

2019-11-07 Thread James Henstridge
The xenial backport is non-functional due to a symbol collision between libjson-c.so (required by libpulse) and libjson-glib.so (required by snapd-glib). This doesn't affect the Bionic backport though. -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1803534] Re: Backport uuid based cache file naming scheme

2018-11-20 Thread James Henstridge
** Description changed: Fontconfig 2.13.0 changed the cache file naming scheme to be based on the contents of ".uuid" file in the directory rather than a hash of the directory name. On a pure debs system this doesn't really matter since everything is using the same libfontconfig.so.

[Touch-packages] [Bug 1803534] Re: Backport uuid based cache file naming scheme

2018-11-15 Thread James Henstridge
A backport of the UUID cache file directory feature from fontconfig 2.13. ** Patch added: "fontconfig_2.12.6-0ubuntu2_2.12.6-0ubuntu3.diff" https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1803534/+attachment/5213086/+files/fontconfig_2.12.6-0ubuntu2_2.12.6-0ubuntu3.diff -- You

[Touch-packages] [Bug 1803534] [NEW] Backport uuid based cache file naming scheme

2018-11-15 Thread James Henstridge
Public bug reported: Fontconfig 2.13.0 changed the cache file naming scheme to be based on the contents of ".uuid" file in the directory rather than a hash of the directory name. On a pure debs system this doesn't really matter since everything is using the same libfontconfig.so. When snaps are

[Touch-packages] [Bug 1787324] Re: Snap policy module denies recording access to classic snaps

2018-08-28 Thread James Henstridge
Here is a debdiff based on the attached branch. ** Patch added: "pulseaudio_12.2-0ubuntu2_12.2-0ubuntu3.diff" https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1787324/+attachment/5181694/+files/pulseaudio_12.2-0ubuntu2_12.2-0ubuntu3.diff -- You received this bug notification

[Touch-packages] [Bug 1787324] Re: Snap policy module denies recording access to classic snaps

2018-08-16 Thread James Henstridge
** Merge proposal linked: https://code.launchpad.net/~ubuntu-audio-dev/pulseaudio/+git/pulseaudio/+merge/353214 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1787324

[Touch-packages] [Bug 1787324] [NEW] Snap policy module denies recording access to classic snaps

2018-08-16 Thread James Henstridge
skype.skype /usr/bin/parecord foo.wav Stream error: Access denied [note that the Skype app itself still functions because it bypasses PulseAudio all together] The above command should result in audio being recorded from the microphone. ** Affects: pulseaudio (Ubuntu) Importance: High

[Touch-packages] [Bug 1781428] Re: pulseaudio built with --enable-snappy but 'Enable Snappy support: no'

2018-08-10 Thread James Henstridge
Attached is a debdiff for a 1:12.2-0ubuntu2 release of pulseaudio with an updated snap policy module and the default configuration modified to enable it. I also took the opportunity to remove the Ubuntu Phone era trust-store module, which hasn't been built since February. ** Patch added:

[Touch-packages] [Bug 1720331] Re: Whoopsie continually relaunching

2017-10-12 Thread James Henstridge
(Ubuntu) Importance: Medium => Low ** Changed in: whoopsie-preferences (Ubuntu) Assignee: (unassigned) => James Henstridge (jamesh) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to whoopsie in Ubuntu.

[Touch-packages] [Bug 1720331] Re: Whoopsie continually relaunching

2017-10-11 Thread James Henstridge
** Also affects: whoopsie-preferences (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to whoopsie in Ubuntu. https://bugs.launchpad.net/bugs/1720331 Title: Whoopsie

[Touch-packages] [Bug 1720331] Re: Whoopsie continually relaunching

2017-10-09 Thread James Henstridge
So I think I've got things sorted out by (a) switching to call SetReportCrashes async to avoid blocking the UI, and (b) not calling SetReportCrashes if we're asked to set it to the current (cached) value of the property. I've noticed that if whoopsie-preferences exits while the privacy panel is

[Touch-packages] [Bug 1720331] Re: Whoopsie continually relaunching

2017-10-06 Thread James Henstridge
rol-center (Ubuntu) Assignee: (unassigned) => James Henstridge (jamesh) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to whoopsie in Ubuntu. https://bugs.launchpad.net/bugs/1720331 Title: Whoopsie continually relaunching St

[Touch-packages] [Bug 1720331] Re: Whoopsie continually relaunching

2017-10-06 Thread James Henstridge
** Also affects: gnome-control-center (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to whoopsie in Ubuntu. https://bugs.launchpad.net/bugs/1720331 Title: Whoopsie

[Touch-packages] [Bug 1665160] Re: MachineSuite.TestMachineWorkers timed out waiting for workers zesty because dbus is in interactive mode

2017-04-19 Thread James Henstridge
With Chris's help we got the tests to get past the D-Bus errors on Zesty by creating a file /etc/polkit-1/localauthority/50-local.d/manage- units.pkla on the test system with the following contents: # Allow the "ubuntu" user to manage systemd units unconditionally for testing [Allow

[Touch-packages] [Bug 1665160] Re: MachineSuite.TestMachineWorkers timed out waiting for workers zesty because dbus is in interactive mode

2017-04-19 Thread James Henstridge
Anastasia asked me to take a look at this. I'm still not sure what the underlying cause is, but here is some of what I've discovered so far. 1. There has been a change in policykit-1 that sounds like it might be relevant. Namely: [ Martin Pitt ] * Use PAM's common-session-noninteractive

[Touch-packages] [Bug 1672657] [NEW] unity::util::unique_gobject() and friends have ambiguous ownership semantics

2017-03-14 Thread James Henstridge
Public bug reported: The unique_gobject() helper has ownership semantics that are likely to introduce bugs in code using it. It's current logic is essentially: 1. if the object passed as an argument has a floating reference, increment its ref count. 2. if not, steal the caller's reference.

[Touch-packages] [Bug 1669810] [NEW] Drag operations can get stuck with two mouse devices

2017-03-03 Thread James Henstridge
Public bug reported: I was occasionally noticing stuck drag operations (e.g. window resizing, or scrolling the settings app) on my ThinkPad laptop using Unity 8, and finally managed to work out how to reliably reproduce it. 1. Ensure you've got two mouse-like devices attached to the system. On

[Touch-packages] [Bug 1620635] Re: libapparmor's aa_query_label() always returns allowed = 0 for file rules containing the "owner" conditional

2017-02-05 Thread James Henstridge
John: that would be useful. Our code already tracks the peer's UID, so it will hopefully be quite easy to hook up what ever you've come up with. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu.

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-02-03 Thread James Henstridge
A pull request for a "thumbnailer" snappy interface: https://github.com/snapcore/snapd/pull/2783 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1660242 Title:

[Touch-packages] [Bug 1620635] Re: libapparmor's aa_query_label() always returns allowed = 0 for file rules containing the "owner" conditional

2017-02-03 Thread James Henstridge
I had a go writing a custom interface to allow thumbnailer to access the private files of another snap here: https://github.com/snapcore/snapd/pull/2783 Unfortunately access to ~/snap/$name is also guarded by the "owner" modifier, so it suffers from the same problems as checking for access

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-30 Thread James Henstridge
Looks like snapcraft-desktop-helpers has been updated to mostly fix these problems. Still some rough edges, but the above script should become unnecessary soon. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-30 Thread James Henstridge
And yet another version that updates xdg-mime too: http://paste.ubuntu.com/23892565/ After generating the mime data and pixbuf loaders for both snaps, I was able to successfully perform an album art request from one snap to the other. So that's the minimum functionality working. ** Description

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
Fixed version of script: http://paste.ubuntu.com/23892004/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1660242 Title: Thumbnailer should be packaged as a snap

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
Script to temporarily work around the gdk-pixbuf bug: http://paste.ubuntu.com/23891990/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1660242 Title: Thumbnailer

[Touch-packages] [Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
thumbnailer-admin can't talk to thumbnailer-service. Ideally communication like this between apps from a single snap should be unrestricted: https://bugs.launchpad.net/snappy/+bug/1659724 thumbnailer-service hits problems due to missing gdk-pixbuf loader cache. Seems to be an issue with

[Touch-packages] [Bug 1660242] [NEW] Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
Public bug reported: We need to package Thumbnailer as a snap. Some requirements are: 1. package should use strict confinement 2. service should be usable from other strictly confined snaps 3. ??? ** Affects: thumbnailer (Ubuntu) Importance: High Status: Triaged ** Bug

[Touch-packages] [Bug 1656042] Re: unity-scopes-api FTBFS with Qt 5.7.1

2017-01-13 Thread James Henstridge
We have changes in lp:unity-scopes-api/devel to work with the new version of googletest/googlemock that haven't been landed on trunk yet. So fixing this is probably going to be as simple as building a new release. -- You received this bug notification because you are a member of Ubuntu Touch

[Touch-packages] [Bug 1649313] Re: frieza_arm64, staging #99: SD card not mounted

2016-12-19 Thread James Henstridge
** Summary changed: - Mediascanner is not working + frieza_arm64, staging #99: SD card not mounted -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title:

[Touch-packages] [Bug 1649313] Re: Mediascanner is not working

2016-12-15 Thread James Henstridge
** Also affects: udisks2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not

[Touch-packages] [Bug 1649313] Re: Mediascanner is not working

2016-12-15 Thread James Henstridge
Victor: Looking over the output, I can't see any entry that would correspond to the SD card (all the mmcblk0p* entries are the internal flash. Is the SD card actually mounted and visible under /media/phablet? -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1649313] Re: Mediascanner is not working

2016-12-14 Thread James Henstridge
Okay, so according to the log the only mounted volumes are "/", "/android/protect_f", "/android/data" and "/android/cache". It hasn't detected any mounts like "/media/phablet/something", which is where the SD card should be mounted. The fact that it listed some volumes indicates that it is

[Touch-packages] [Bug 1649313] Re: Mediascanner is not working

2016-12-12 Thread James Henstridge
I don't have access to this device, so it is a bit difficult to tell what is going on. The following would be helpful in debugging the problem: 1. could you attach the log file (~/.cache/upstart/mediascanner-2.0.log). 2. If you run "restart mediascanner-2.0" from the terminal or an "adb shell"

[Touch-packages] [Bug 1646695] Re: MediaFile::hasThumbnail() reports true for music files with art that is not cover art

2016-12-01 Thread James Henstridge
** Changed in: mediascanner2 (Ubuntu) Importance: Undecided => Low ** Changed in: mediascanner2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.

[Touch-packages] [Bug 1646695] [NEW] MediaFile::hasThumbnail() reports true for music files with art that is not cover art

2016-12-01 Thread James Henstridge
Public bug reported: Some media formats allow for the storage of multiple pieces of artwork tagged with an image type. This includes: 1. ID3v2's APIC artwork 2. FLAC pictures 3. vorbiscomment's METADATA_BLOCK_PICTURE (which is just a base64 encoded FLAC picture). Thumbnailer will only

[Touch-packages] [Bug 1640326] Re: FTBFS on zesty

2016-11-09 Thread James Henstridge
** Branch linked: lp:~michihenning/thumbnailer/zesty-test-suppression -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to taglib in Ubuntu. https://bugs.launchpad.net/bugs/1640326 Title: FTBFS on zesty Status in taglib

[Touch-packages] [Bug 1639175] [NEW] Please add an "account-plugin-nextcloud" package

2016-11-04 Thread James Henstridge
Public bug reported: Please add an account-plugin-nextcloud package. For now, this could essentially be a copy of the ownCloud provider code with different branding. Having both providers side-by-side has a few benefits: 1. we can pick which one to install to get desired branding 2. if the

[Touch-packages] [Bug 1619281] Re: Text.color can't be compared reliably

2016-09-16 Thread James Henstridge
QColor stores RGB colour with 16 bits per channel, so "0.5" would convert to 32768 (i.e. round(0.5 * 65535)), or 0x8000. If you convert down to 8 bits per channel, you'll have 0x80. If you convert that value back up to 16 bits per channel, you'll have 0x8080. And finally, converting that to

[Touch-packages] [Bug 1489489] Re: The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method is deprecated

2016-09-14 Thread James Henstridge
Tyler: thanks for the package debdiff. It has now been landed in stable-phone-overlay together with the updated mediascanner2 packages. The attached branch may be of help in fixing other dbus-cpp use cases (media-hub and content-hub?) -- You received this bug notification because you are a

[Touch-packages] [Bug 1489489] Re: The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method is deprecated

2016-09-09 Thread James Henstridge
** Branch linked: lp:~jamesh/mediascanner2/bug-1489489 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-system-settings- online-accounts in Ubuntu. https://bugs.launchpad.net/bugs/1489489 Title: The

[Touch-packages] [Bug 1621002] Re: Mediascanner2 test failure on yakkety/{armhf, arm64, ppc64el} with latest dbus-cpp

2016-09-07 Thread James Henstridge
This is looking like a case of the code being miscompiled under optimisation. To reproduce, build mediascanner2 using the "RelWithDebInfo" build type and then run: ./test/test_dbus --gtest_filter=*filter_codec The test program segfaults when calling Variant::as() on a variant that should

[Touch-packages] [Bug 1621002] [NEW] Mediascanner2 test failure on yakkety/{armhf, arm64, ppc64el} with latest dbus-cpp

2016-09-07 Thread James Henstridge
Public bug reported: When trying to build a new mediascanner2 release, tests failed on a number of architectures when building under Yakkety. Some relevant logs: https://launchpadlibrarian.net/281862518/buildlog_ubuntu-yakkety-armhf.mediascanner2_0.112+16.10.20160831-0ubuntu1_BUILDING.txt.gz

[Touch-packages] [Bug 1618390] Re: dbus-cpp crash on arm64 in core::dbus::Object::get_property

2016-09-01 Thread James Henstridge
I'm not convinced my bug is the same as this one. That said, the changes in the latest dbus-cpp package don't look particularly ABI compatible, which may be the cause of this bug: https://launchpadlibrarian.net/279409841/dbus-

[Touch-packages] [Bug 1489489] Re: The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method is deprecated

2016-08-31 Thread James Henstridge
So is there any chance of getting a libapparmor backport in the overlay PPA? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-system-settings- online-accounts in Ubuntu. https://bugs.launchpad.net/bugs/1489489 Title:

[Touch-packages] [Bug 1618390] Re: dbus-cpp crash on arm64 in core::dbus::Object::get_property

2016-08-31 Thread James Henstridge
I'm not sure if it is related, but I've encountered test failures in my mediascanner2 silo for dbus-cpp code that previously ran without issue: https://launchpadlibrarian.net/281863370/buildlog_ubuntu-yakkety- arm64.mediascanner2_0.112+16.10.20160831-0ubuntu1_BUILDING.txt.gz It also failed on

[Touch-packages] [Bug 1615614] Re: dash is empty, scopes are missing

2016-08-25 Thread James Henstridge
Before anyone suggests it: while we do have a copy of Boost 1.58 in stable-phone-overlay, actually using it for libunity-scopes would be an ABI break if we have any scopes that link directly to boost libraries themselves (you'd get a little 1.55 and a little 1.58 in the same address space using

[Touch-packages] [Bug 1445755] Re: Provide a way to hide images from a particular location

2016-08-22 Thread James Henstridge
Doing a grep over the gallery-app source code, it doesn't look like it is using mediascanner. Note that if you stick .nomedia files in the music folder, mediascanner will respect those and make that music disappear from the music scope and app though. Mediascanner is driving the local photos

[Touch-packages] [Bug 1606927] Re: Qt 5.6.1 causes some powerpc tests to fail

2016-08-04 Thread James Henstridge
I encountered similar failures on a new unity-api build, with test programs segfaulting on powerpc: https://launchpadlibrarian.net/276663009/buildlog_ubuntu-yakkety-powerpc .unity-api_7.116+16.10.20160804.1-0ubuntu1_BUILDING.txt.gz ** Also affects: unity-api (Ubuntu) Importance: Undecided

[Touch-packages] [Bug 1598968] Re: Blurry album art

2016-07-07 Thread James Henstridge
Victor: are you sure this is a thumbnailer problem? When playing around with music-app, the one place where large cover art is displayed is in the "now playing" screen. Looking at the source code, this corresponds to NowPlayingFullView.qml: http://bazaar.launchpad.net/~music-app-dev/music-

[Touch-packages] [Bug 1598968] Re: Blurry album art

2016-07-07 Thread James Henstridge
** Changed in: music-app Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1598968 Title: Blurry album art Status in Ubuntu Music App:

[Touch-packages] [Bug 1598933] Re: ShapeImages in scope ini file is ignored

2016-07-06 Thread James Henstridge
The ShapeImages key is exposed by libunity-scopes. It looks like the dash isn't doing anything with it: I don't see any reference to it in ScopeStyle.qml. ** Also affects: unity8 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member

[Touch-packages] [Bug 1590904] Re: after ota-11, now TER scope and SNCF scope not able to get the GPS position

2016-06-22 Thread James Henstridge
@Foucrier: are these the two apps you're talking about? https://uappexplorer.com/app/com.ubuntu.developer.thiebaud2001.sncf-unofficial https://uappexplorer.com/app/ter.plop3 If so, both of these are web apps rather than scopes, so it isn't a unity-scopes-shell bug. It is more likely to be an

[Touch-packages] [Bug 1512128] Re: System reboot when granting access to location on arale

2016-06-13 Thread James Henstridge
This is the last line of the logcat output prior to the reboot: E/libEGL ( 4160): call to OpenGL ES API with no current context (logged once per thread) So presumably something in that process triggering some drawing from the wrong thread? -- You received this bug notification because you

[Touch-packages] [Bug 1512128] Re: System reboot when granting access to location

2016-06-10 Thread James Henstridge
And here's a logcat taken while triggering the trust prompt reboot ** Attachment added: "logcat.log" https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1512128/+attachment/4680926/+files/logcat.log -- You received this bug notification because you are a member of Ubuntu Touch

[Touch-packages] [Bug 1512128] Re: System reboot when granting access to location

2016-06-10 Thread James Henstridge
And a tail of /var/log/syslog from another repeat of the reboot. ** Attachment added: "syslog.log" https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1512128/+attachment/4680927/+files/syslog.log -- You received this bug notification because you are a member of Ubuntu Touch

[Touch-packages] [Bug 1512128] Re: System reboot when granting access to location

2016-06-10 Thread James Henstridge
Pawel asked me to attach the logs from my tests of silo 65 on Arale. I brought up the "Near by" scope, which claimed not to have location access. When I tried reloading it, I got the trust store prompt. Clicking allow resulted in the device restarting. ** Attachment added: "silo-65-logs.tar.gz"

[Touch-packages] [Bug 1570335] Re: MusicBrainz integration

2016-05-22 Thread James Henstridge
I'm not sure how well MusicBrainz would work at taking the existing file's metadata tags and improve them. When I've updated my own music using Picard, to get good results I've had to pass it a collection of music that is part of the same album and occasionally choose something other than its

[Touch-packages] [Bug 1286596] Re: mediascanner-service-2.0 crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler()

2016-05-10 Thread James Henstridge
If you have discovered a problem with mediascanner2, please file a new bug report rather than adding comments to closed bugs. You are almost certainly seeing a different problem in newer releases. This 2014 bug report was caused by the code throwing an exception when it could no longer create

[Touch-packages] [Bug 1565694] Re: Mediascanner ties up SD cards

2016-04-05 Thread James Henstridge
*** This bug is a duplicate of bug 1565633 *** https://bugs.launchpad.net/bugs/1565633 ** This bug has been marked a duplicate of bug 1565633 BQ E4.5 (OTA-9.1): microSD card can't be unmounted/formatted - mediascanner keeps it busy and no feedback to user -- You received this bug

[Touch-packages] [Bug 1565633] Re: BQ E4.5 (OTA-9.1): microSD card can't be unmounted/formatted - mediascanner keeps it busy and no feedback to user

2016-04-05 Thread James Henstridge
** Also affects: mediascanner2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1565633 Title: BQ E4.5 (OTA-9.1):

[Touch-packages] [Bug 1538471] Re: scope-runner-dbus.py assert failure: *** Error in `/usr/bin/python3': free(): invalid next size (fast): 0x0000000001ca17b0 ***

2016-03-23 Thread James Henstridge
One last comment: I tried downloading upstream pygobject 3.20.0 (which was released two days ago), and the scopes run fine using the Xenial typelib. So I think the underlying problem is that we've got a problem of version skew, with the versions of gobject-introspection and pygobject currently in

[Touch-packages] [Bug 1538471] Re: scope-runner-dbus.py assert failure: *** Error in `/usr/bin/python3': free(): invalid next size (fast): 0x0000000001ca17b0 ***

2016-03-23 Thread James Henstridge
So, the XML version of the gir information in /usr/share/gir-1.0/Unity-7.0.gir appears to be identical between the Wily and Xenial, so I think Vala is off the hook. Instead, it seems to be g-ir-compiler producing different output from the same XML file between Wily and Xenial. The

[Touch-packages] [Bug 1538471] Re: scope-runner-dbus.py assert failure: *** Error in `/usr/bin/python3': free(): invalid next size (fast): 0x0000000001ca17b0 ***

2016-03-23 Thread James Henstridge
And sure enough. If I copy the /usr/lib/girepository-1.0/Unity-7.0.typelib file from the latest Wily package of gir1.2-unity-5.0 onto my Xenial system, the Python scope runs correctly. I haven't investigated what exactly is different in the typelib or why it changed though. -- You received

[Touch-packages] [Bug 1538471] Re: scope-runner-dbus.py assert failure: *** Error in `/usr/bin/python3': free(): invalid next size (fast): 0x0000000001ca17b0 ***

2016-03-23 Thread James Henstridge
So, I'm not sure exactly what is causing this. While the crash is occurring in the python3-gi package, I suspect that it is innocent: this particular code path would be hit many times in programs using these bindings. It's behaviour is dependent on the gobject-introspection typelibs though, so I

[Touch-packages] [Bug 1538471] Re: scope-runner-dbus.py assert failure: *** Error in `/usr/bin/python3': free(): invalid next size (fast): 0x0000000001ca17b0 ***

2016-03-23 Thread James Henstridge
I was able to trigger the segfault just by running the scope from a terminal using the command line found in the dbus service activation file. For example: /usr/bin/python3 /usr/share/unity-scopes/scope-runner-dbus.py -s info/calculator.scope When run, I get the following error message:

[Touch-packages] [Bug 1554040] Re: Allow hiding authentication data in scope binary

2016-03-14 Thread James Henstridge
If you're patching client IDs into a program from the debian/ directory, surely it would be just as easy to patch them into the service file as into the source code though, right? As for Ubuntu One OAuth code, I agree that it's OAuth code is weirdly non-standard (I filed bug 978719 about it way

[Touch-packages] [Bug 1554040] Re: Allow hiding authentication data in scope binary

2016-03-14 Thread James Henstridge
Mardy: if this doesn't actually improve security, why is this bug marked high importance? Is there any particular user who is calling for this feature? Are there any online services we are talking to that require this kind of obfuscation? -- You received this bug notification because you are a

[Touch-packages] [Bug 1552245] Re: Mp4 video not supported

2016-03-08 Thread James Henstridge
> The problem appears to be that the metadata is encoded in the audio > stream of a video. If there is no audio stream, there is no metadata. That doesn't sound correct -- metadata is generally part of the container or a separate stream inside the container, rather than being handled at the codec

[Touch-packages] [Bug 1550706] Re: Thumbnails not working with qrc

2016-03-04 Thread James Henstridge
** Changed in: thumbnailer (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1550706 Title: Thumbnails not working with qrc

[Touch-packages] [Bug 1398614] Re: mediascanner-service-2.0 using large amounts of CPU

2016-03-03 Thread James Henstridge
The recent 0.111 release in xenial and the Ubuntu Phone vivid overlay should improve things somewhat: 1. we are using taglib directly for scanning of music files (videos still go through GStreamer). 2. batch index updates during the "initial scan" phase when the daemon starts up or removable

[Touch-packages] [Bug 1475417] Re: Cannot play symlinks

2016-03-03 Thread James Henstridge
We used to follow symlinks, but stopped doing so when we ran into problems when people used them to create cycles (e.g. "ln -s .. foo") that caused the scanner to go into a loop. Ignoring all symlinks avoided this problem but is a problem for your use case. It will index your media if you use a

[Touch-packages] [Bug 1550706] Re: Thumbnails not working with qrc

2016-03-01 Thread James Henstridge
Rather than looking at what is necessary to make files compiled into an executable visible to an external process, could we step back a bit to find out what we're trying to accomplish? What do you think will be done differently by having "qrc:///images /menu-background.jpg" passed through the

[Touch-packages] [Bug 1550165] Re: "My Music" Scope results appear bunched up as results load

2016-02-25 Thread James Henstridge
Similar for the "Albums" department. Once images start to load, only 9 results remain visible, with the rest pushed off the bottom. ** Attachment added: "screenshot20160226_072632259.png"

[Touch-packages] [Bug 1550165] Re: "My Music" Scope results appear bunched up as results load

2016-02-25 Thread James Henstridge
Screenshot taken while results for the "Tracks" department are loading. Note that the height of each result seems to be set based on the title, leaving the subtitle to overlap with the next result. ** Attachment added: "screenshot20160226_070916495.png"

[Touch-packages] [Bug 1550165] [NEW] "My Music" Scope results appear bunched up as results load

2016-02-25 Thread James Henstridge
Public bug reported: When testing out the music scope, I noticed that the results are initially sized as if the images were 0x0, before they fill in as they are loaded. This is most apparent in the "Tracks" department display, where the results end up overlapping. This is a bit surprising,

[Touch-packages] [Bug 1549616] [NEW] My Music scope attempts todownload artist biography, but biography is always empty.

2016-02-24 Thread James Henstridge
Public bug reported: The My Music scope tries to download artist biography from dash.ubuntu.com when displaying the artist overview page. It in turn tries to retrieve the biography via the 7digital API. However, the 7digital API always returns an empty string because they don't have a license

[Touch-packages] [Bug 1529896] Re: package unity-scope-mediascanner2 0.2+14.04.20140404-0ubuntu1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before

2016-02-23 Thread James Henstridge
This really looks like there is something corrupt in the local package database, which not really reproducible without knowing what happened prior to this error. This Ask Ubuntu question might help you with the problem if you still have it:

[Touch-packages] [Bug 1536832] Re: /usr/bin/mediascanner-service-2.0:6:__gnu_cxx::__verbose_terminate_handler:__cxxabiv1::__terminate:std::terminate:__cxxabiv1::__cxa_throw:std::__throw_logic_error

2016-02-23 Thread James Henstridge
This is caused by a nullptr -> std::string conversion somewhere in extract_tag_info (the only match for the missing stack frame). But it is difficult to tell which conversion is the cause. There are two places where this could occur: (1) the tag name passed to the callback is NULL, or (2) a

[Touch-packages] [Bug 1548718] Re: Need to update micro version in shlibs file when symbols are added

2016-02-23 Thread James Henstridge
The version numbers in at the end of the shlibs lines refer to package version numbers. Every binary package produced from the source package will share the same version number. Given that unity-scopes-api 0.2 seems to date from 2014, which is long before the Qt library was written, it certainly

[Touch-packages] [Bug 1468585] Re: the photo which in photo scope the display time don't accordance with the device time of it was took

2016-02-23 Thread James Henstridge
I've got code in silo 75 at the moment that switches the order of EXIF tags checked for the date. Picking DateTimeOriginal as first preference should avoid this bug on krillin, and seems closer to the semantic meaning we place on the field for other media types. -- You received this bug

[Touch-packages] [Bug 1548718] Re: Need to update micro version in shlibs file when symbols are added

2016-02-23 Thread James Henstridge
A bit more info: I ran the gen-debian-files.sh script, and it produced the following files: libunity-scopes-1.0.2.shlibs libunity-scopes-qt0.2.0.shlibs Neither of these match the binary package names (libunity-scopes1.0 and libunity-scopes-qt0.2 respectively), which is probably why they

[Touch-packages] [Bug 1548718] Re: Need to update micro version in shlibs file when symbols are added

2016-02-23 Thread James Henstridge
I'm not seeing it in the final packages though: $ apt-cache policy libunity-scopes1.0 libunity-scopes1.0: Installed: 1.0.3+16.04.20160209-0ubuntu1 Candidate: 1.0.3+16.04.20160209-0ubuntu1 Version table: *** 1.0.3+16.04.20160209-0ubuntu1 500 500

[Touch-packages] [Bug 1548718] Re: Need to update micro version in shlibs file when symbols are added

2016-02-23 Thread James Henstridge
The shlibs file should read something like: libunity-scopes 1.0 libunity-scopes1.0 (>= 1.0.x) Where 1.0.x is the last release where new ABI was introduced (currently it omits the version assertion on the end). For mediascanner2, I am not generating the shlibs file from anything, but instead

[Touch-packages] [Bug 1468585] Re: the photo which in photo scope the display time don't accordance with the device time of it was took

2016-02-22 Thread James Henstridge
** Also affects: mediascanner2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/1468585 Title: the photo which in

[Touch-packages] [Bug 1546911] Re: Please recompile sqlite 3.11 with -DSQLITE_ENABLE_FTS3_TOKENIZER

2016-02-22 Thread James Henstridge
Well, one other major user of this API is Thunderbird. In fact, the tokenizer we use in mediascanner is based on the one they developed. It looks like a number of other people had also extracted the Mozilla tokenizer too, since none of the built-in options give the same multi- language

[Touch-packages] [Bug 1546911] Re: Please recompile sqlite 3.11 with -DSQLITE_ENABLE_FTS3_TOKENIZER

2016-02-18 Thread James Henstridge
Tyler: no it isn't. The one argument version allows you to query for the existence of a particular named tokenizer. The two argument version is needed to register a new named tokenizer. When they disabled this they didn't offer an alternative for fts3/fts4 users, so the documentation just says

  1   2   3   >