[Touch-packages] [Bug 1500118] [NEW] ListItem feature request: Signal at end of live drag

2015-09-26 Thread Robert Schroll
Public bug reported:

When a ListItem is dragged, it emits "Started" and "Moving" events.  But
if each "Moving" event is accepted, as happens in a live drag case, no
"Dropped" event will be emitted when the item is finally dropped.  One
should be added.  The "to" and "from" parameters could both be set to
the final position, or they could be set to an invalid value.

Example use cases:
1) Updating an underlying data store.  The QML list model may present data 
stored on disk.  (In a database, for instance.)  Updating the model may be 
quick while updating the disk store is slow.  It would be nice to be able to 
give the feedback of the live updates but put off updating the data store until 
the drag is over.  The "Dropped" signal is necessary for this.
2) Changing styling during drag.  A developer may want to change some styling 
of elements other than the dragged element during the drag.  For instance, 
non-dragged items could be shaded so as to be less prominent, or additional 
information could be presented.  The "Dropped" signal is necessary to know when 
to reset the styles.
3) Consistency in a mixed drag action.  By choosing which "Moving" events to 
accept, a developer can create a situation in which parts of a drag are live 
and others are not.  Currently, the "Dropped" signal will be emitted for some 
of these drags and not for others.  In addition to being surprising, this may 
complicated clean-up code.  If the "Dropped" signal is always emitted, this 
situation would be simplified.

** Affects: ubuntu-ui-toolkit (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1500118

Title:
  ListItem feature request: Signal at end of live drag

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  When a ListItem is dragged, it emits "Started" and "Moving" events.
  But if each "Moving" event is accepted, as happens in a live drag
  case, no "Dropped" event will be emitted when the item is finally
  dropped.  One should be added.  The "to" and "from" parameters could
  both be set to the final position, or they could be set to an invalid
  value.

  Example use cases:
  1) Updating an underlying data store.  The QML list model may present data 
stored on disk.  (In a database, for instance.)  Updating the model may be 
quick while updating the disk store is slow.  It would be nice to be able to 
give the feedback of the live updates but put off updating the data store until 
the drag is over.  The "Dropped" signal is necessary for this.
  2) Changing styling during drag.  A developer may want to change some styling 
of elements other than the dragged element during the drag.  For instance, 
non-dragged items could be shaded so as to be less prominent, or additional 
information could be presented.  The "Dropped" signal is necessary to know when 
to reset the styles.
  3) Consistency in a mixed drag action.  By choosing which "Moving" events to 
accept, a developer can create a situation in which parts of a drag are live 
and others are not.  Currently, the "Dropped" signal will be emitted for some 
of these drags and not for others.  In addition to being surprising, this may 
complicated clean-up code.  If the "Dropped" signal is always emitted, this 
situation would be simplified.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1500118/+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


[Touch-packages] [Bug 1498138] [NEW] z-order weirdness when dragging ListItems

2015-09-21 Thread Robert Schroll
Public bug reported:

ListItems in a ListView start off with a z of 1.  When you start
dragging them, they get a z of 2.  This causes two bits of weirdness:

1) Section headers in the ListView also have a z of 2.  (See
http://doc.qt.io/qt-5/qml-qtquick-listview.html#section-prop)  This
causes inconsistent layering of the dragged item relative to headers.
Sometimes it appears above the headers, sometimes below.  I haven't
found a rhyme or reason to which occurs when, but I can eliminate the
problem by reducing the z index of the headers.  A better solution, in
my mind, would be to increase the z index of items while they are being
dragged.

2) The z index of items is not reset when the drag ends.  I haven't
noticed any problems caused by this in my testing, but this is the sort
of unexpected behavior that is almost guaranteed to cause confusion down
the line.

This is seen the the current stable image (r1 on flo).

** Affects: ubuntu-ui-toolkit (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1498138

Title:
  z-order weirdness when dragging ListItems

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  ListItems in a ListView start off with a z of 1.  When you start
  dragging them, they get a z of 2.  This causes two bits of weirdness:

  1) Section headers in the ListView also have a z of 2.  (See
  http://doc.qt.io/qt-5/qml-qtquick-listview.html#section-prop)  This
  causes inconsistent layering of the dragged item relative to headers.
  Sometimes it appears above the headers, sometimes below.  I haven't
  found a rhyme or reason to which occurs when, but I can eliminate the
  problem by reducing the z index of the headers.  A better solution, in
  my mind, would be to increase the z index of items while they are
  being dragged.

  2) The z index of items is not reset when the drag ends.  I haven't
  noticed any problems caused by this in my testing, but this is the
  sort of unexpected behavior that is almost guaranteed to cause
  confusion down the line.

  This is seen the the current stable image (r1 on flo).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1498138/+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


[Touch-packages] [Bug 1498143] [NEW] Separator missing when last ListItem dragged into middle of ListView

2015-09-21 Thread Robert Schroll
Public bug reported:

By default, there is a separator at the bottom of all but the last
ListItem in a ListView.  If drag-and-drop reordering is allowed, that
last item can be moved into the middle of the list.  It does not gain a
separator in this case, resulting in two items without a separator
between them.  It seems to me that this separator should appear
automagically.

The easy way to do this would be to include the separator on the last
ListItem as well.  This wouldn't be very noticeable at the bottom of the
list, and it would assure that these sorts of problems don't arise.

This is seen on the current stable image (r1 on flo).

** Affects: ubuntu-ui-toolkit (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1498143

Title:
  Separator missing when last ListItem dragged into middle of ListView

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  By default, there is a separator at the bottom of all but the last
  ListItem in a ListView.  If drag-and-drop reordering is allowed, that
  last item can be moved into the middle of the list.  It does not gain
  a separator in this case, resulting in two items without a separator
  between them.  It seems to me that this separator should appear
  automagically.

  The easy way to do this would be to include the separator on the last
  ListItem as well.  This wouldn't be very noticeable at the bottom of
  the list, and it would assure that these sorts of problems don't
  arise.

  This is seen on the current stable image (r1 on flo).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1498143/+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


[Touch-packages] [Bug 1462489] Re: Allow apps to keep the screen on

2015-08-10 Thread Robert Schroll
 It should be working on Nexus 4, 7 and 10

It's not working on my Nexus 7, but presumably that's because the flo
devel channel hasn't seen an update since April.  Has it been abandoned
again?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-system-compositor in
Ubuntu.
https://bugs.launchpad.net/bugs/1462489

Title:
  Allow apps to keep the screen on

Status in Canonical System Image:
  Fix Released
Status in Canonical Click Reviewers tools:
  Fix Released
Status in Ubuntu Developer Portal:
  New
Status in apparmor-easyprof-ubuntu package in Ubuntu:
  Fix Released
Status in qtsystems-opensource-src package in Ubuntu:
  Fix Released
Status in qtubuntu package in Ubuntu:
  Confirmed
Status in ubuntu-system-settings package in Ubuntu:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed
Status in unity-system-compositor package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu:
  Confirmed
Status in qtsystems-opensource-src package in Ubuntu RTM:
  Fix Released

Bug description:
  Support an interface in QML and HTML to allow an app to keep the
  screen on while the app is active. This has come up in several
  scenarios, such as an ebook reader, a clock in night mode.

  First step is to hook up QtSystemInfo screenSaverEnabled

  One solution to inhibit the screen blanking:

  Add a new dbus rule to the default template
  Provide a mediator (unity8) to control this, so it can restore the screen 
blanking when the app is not active or has been closed
  Prompt the user for confirmation the first time the app accesses it
  use the trust store to avoid prompts each time
  add to the System settings Other app access panel an entry for Screen or 
Display so the setting could be revoked

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1462489/+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


[Touch-packages] [Bug 1467937] [NEW] File input not supported in HTML5 container

2015-06-23 Thread Robert Schroll
Public bug reported:

Triggering a input type=file in the HTML5 launcher does not open a
file picker and results in the error, Content requested a file picker,
but the application hasn't provided one.

In contrast, the browser launches a Content Hub peer picker, accepts a
content import, and turns it into a HTML5 File object.

This is seen in the current devel channel (r2).

** Affects: ubuntu-html5-theme
 Importance: Undecided
 Status: New

** Affects: ubuntu-html5-theme (Ubuntu)
 Importance: High
 Assignee: Alexandre Abreu (abreu-alexandre)
 Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-html5-theme in
Ubuntu.
https://bugs.launchpad.net/bugs/1467937

Title:
  File input not supported in HTML5 container

Status in Ubuntu UI SDK for HTML5 Apps:
  New
Status in ubuntu-html5-theme package in Ubuntu:
  Confirmed

Bug description:
  Triggering a input type=file in the HTML5 launcher does not open a
  file picker and results in the error, Content requested a file
  picker, but the application hasn't provided one.

  In contrast, the browser launches a Content Hub peer picker, accepts a
  content import, and turns it into a HTML5 File object.

  This is seen in the current devel channel (r2).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-html5-theme/+bug/1467937/+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


[Touch-packages] [Bug 1444178] Re: Crash when creating a page with sections

2015-04-17 Thread Robert Schroll
I just flashed my device with devel r2, and now I can no longer
reproduce the crash.  Don't know if you want to close this as fixed or
not.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1444178

Title:
  Crash when creating a page with sections

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  See https://github.com/rschroll/beru/tree/section-crash for a test
  case.  This creates a page with a GridView and populates the gridview
  with images loaded in from a javascript file.  (This is to stand in
  for loading from a database in the original.)  This crashes most of
  the time it is loaded for me.  If the model line in the
  head.sections block is commented out, it never crashes.

  This is seen on a devel r1 image.

  When run under gdb, I get this:

  Program received signal SIGILL, Illegal instruction.
  0xb306e368 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
  (gdb) bt
  #0  0xb306e368 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
  #1  0xb306bec4 in OPENSSL_cpuid_setup ()
 from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
  #2  0xb6fe222e in ?? () from /lib/ld-linux-armhf.so.3
  #3  0x00039e60 in ?? ()
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)

  However, this seems to occur before anything gets loaded, whereas the
  usual crash happens as the images are loaded.  Setting handle SIGILL
  nostop gets it to the usual crash location, where it says:

  Program received signal SIGSEGV, Segmentation fault.
  0x in ?? ()
  (gdb) bt
  #0  0x in ?? ()
  #1  0xb67ee750 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
 from /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
  #2  0xb67f2520 in QApplication::notify(QObject*, QEvent*) ()
 from /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
  #3  0x00032df8 in ?? ()
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)

  The fact that images are being loaded seems to be important.  If I
  replace the images with simple rectangles, the crash goes away.  I
  can't imagine that they're directly related; perhaps there is a timing
  bug exposed by the time it takes to decode and render the images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1444178/+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


[Touch-packages] [Bug 1444178] Re: Crash when creating a page with sections

2015-04-15 Thread Robert Schroll
 Isn't that a bit old? For which device?

It was, until yesterday, the newest devel image available for flo.  But
r2 just came out, so I upgraded to test, and aa-clickhook is broken.
I'll let you know when I've figured out how to work around that one.

FWIW, I am unable to reproduce the crash on a stable r16 emulator.  This
may mean that the bug has been fixed.  But the emulator has a much lower
resolution than flo, so it could be that we're just not triggering the
same memory corruption issue.

Please remember to run the test case several times.  The crash is
somewhat stochastic.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1444178

Title:
  Crash when creating a page with sections

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  See https://github.com/rschroll/beru/tree/section-crash for a test
  case.  This creates a page with a GridView and populates the gridview
  with images loaded in from a javascript file.  (This is to stand in
  for loading from a database in the original.)  This crashes most of
  the time it is loaded for me.  If the model line in the
  head.sections block is commented out, it never crashes.

  This is seen on a devel r1 image.

  When run under gdb, I get this:

  Program received signal SIGILL, Illegal instruction.
  0xb306e368 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
  (gdb) bt
  #0  0xb306e368 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
  #1  0xb306bec4 in OPENSSL_cpuid_setup ()
 from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
  #2  0xb6fe222e in ?? () from /lib/ld-linux-armhf.so.3
  #3  0x00039e60 in ?? ()
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)

  However, this seems to occur before anything gets loaded, whereas the
  usual crash happens as the images are loaded.  Setting handle SIGILL
  nostop gets it to the usual crash location, where it says:

  Program received signal SIGSEGV, Segmentation fault.
  0x in ?? ()
  (gdb) bt
  #0  0x in ?? ()
  #1  0xb67ee750 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
 from /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
  #2  0xb67f2520 in QApplication::notify(QObject*, QEvent*) ()
 from /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
  #3  0x00032df8 in ?? ()
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)

  The fact that images are being loaded seems to be important.  If I
  replace the images with simple rectangles, the crash goes away.  I
  can't imagine that they're directly related; perhaps there is a timing
  bug exposed by the time it takes to decode and render the images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1444178/+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


[Touch-packages] [Bug 1444347] Re: /usr/bin/aa-clickhook:ImportError:/usr/bin/aa-clickhook@14:/usr/lib/python3/dist-packages/apparmor/click.py@15:/usr/lib/python3.4/ctypes/__init__.py@7

2015-04-15 Thread Robert Schroll
This appears to be the problem I encountered after upgrading from devel
r1 to devel r2.  The full traceback follows:

Fatal error: /tmp/com.ubuntu.developer.rschroll.beru_1.0.0_armhf.click failed 
to install.
WARNING:root:Signature check failed, but installing anyway as requested
Traceback (most recent call last):
  File /usr/bin/aa-clickhook, line 14, in module
from apparmor import click
  File /usr/lib/python3/dist-packages/apparmor/click.py, line 15, in module
import ctypes
  File /usr/lib/python3.4/ctypes/__init__.py, line 7, in module
from _ctypes import Union, Structure, Array
ImportError: 
/usr/lib/python3.4/lib-dynload/_ctypes.cpython-34m-arm-linux-gnueabihf.so: 
undefined symbol: _PyTraceback_Add
Traceback (most recent call last):
  File /usr/bin/click, line 86, in module
sys.exit(main())
  File /usr/bin/click, line 82, in main
return mod.run(args)
  File /usr/lib/python3/dist-packages/click/commands/install.py, line 66, in 
run
quiet=not options.verbose)
  File /usr/lib/python3/dist-packages/click/install.py, line 457, in install
path, user=user, all_users=all_users, quiet=quiet)
  File /usr/lib/python3/dist-packages/click/install.py, line 441, in _unpack
user_name=None)
GLib.Error: click_hooks_error-quark: Hook command '/usr/bin/aa-clickhook' 
failed: Child process exited with code 1 (6)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click-apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1444347

Title:
  /usr/bin/aa-clickhook:ImportError:/usr/bin/aa-
  clickhook@14:/usr/lib/python3/dist-
  packages/apparmor/click.py@15:/usr/lib/python3.4/ctypes/__init__.py@7

Status in click-apparmor package in Ubuntu:
  Confirmed

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem
  regarding click-apparmor.  This problem was most recently seen with
  version 0.3.6, the problem page at
  https://errors.ubuntu.com/problem/76f68536265ec2ed46837fd3f35abbda886cb568
  contains more details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click-apparmor/+bug/1444347/+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


[Touch-packages] [Bug 1444347] Re: /usr/bin/aa-clickhook:ImportError:/usr/bin/aa-clickhook@14:/usr/lib/python3/dist-packages/apparmor/click.py@15:/usr/lib/python3.4/ctypes/__init__.py@7

2015-04-15 Thread Robert Schroll
objdump doesn't exist on the device, so I copied the python3.4 binary
over to my desktop.  Running that command doesn't produce any output.
(Just objdump -T alone does, so I assume it's working but producing
nothing that grep matches.)

FWIW, it looks like the only use for ctypes in click.py is to import the
nih_dbus_path() function.  But you can just write it in python in about
as many lines as it took to import it:

def encode_byte(b):
if ord(b'a') = b = ord(b'z') or ord(b'A') = b = ord(b'Z') or ord(b'0') 
= b = ord(b'9'):
return bytes([b])
return ('_%0.2x' % b).encode()

def my_dbus_path(x, *args):
return b'/'.join(b''.join(encode_byte(b) for b in arg) for arg in args if 
arg is not None)

It probably doesn't fail in the same ways, but for a few tests with
valid imports, it seems to work.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click-apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1444347

Title:
  /usr/bin/aa-clickhook:ImportError:/usr/bin/aa-
  clickhook@14:/usr/lib/python3/dist-
  packages/apparmor/click.py@15:/usr/lib/python3.4/ctypes/__init__.py@7

Status in click-apparmor package in Ubuntu:
  Confirmed
Status in python3.4 package in Ubuntu:
  New

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem
  regarding click-apparmor.  This problem was most recently seen with
  version 0.3.6, the problem page at
  https://errors.ubuntu.com/problem/76f68536265ec2ed46837fd3f35abbda886cb568
  contains more details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click-apparmor/+bug/1444347/+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


[Touch-packages] [Bug 1444347] Re: /usr/bin/aa-clickhook:ImportError:/usr/bin/aa-clickhook@14:/usr/lib/python3/dist-packages/apparmor/click.py@15:/usr/lib/python3.4/ctypes/__init__.py@7

2015-04-15 Thread Robert Schroll
phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 2
device name: flo
channel: devel
alias: ubuntu-touch/vivid
last update: 2015-04-15 03:04:31
version version: 2
version ubuntu: 20150413
version device: 20150210
version custom: 20150413
phablet@ubuntu-phablet:~$ md5sum /usr/bin/python3.4
42cc689fa8d2332cefe133cd771fbe6b  /usr/bin/python3.4

I upgraded this from r1.  If you'd like, I can flash it anew and see if
that changes things.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click-apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1444347

Title:
  /usr/bin/aa-clickhook:ImportError:/usr/bin/aa-
  clickhook@14:/usr/lib/python3/dist-
  packages/apparmor/click.py@15:/usr/lib/python3.4/ctypes/__init__.py@7

Status in click-apparmor package in Ubuntu:
  Confirmed
Status in python3.4 package in Ubuntu:
  New

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem
  regarding click-apparmor.  This problem was most recently seen with
  version 0.3.6, the problem page at
  https://errors.ubuntu.com/problem/76f68536265ec2ed46837fd3f35abbda886cb568
  contains more details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click-apparmor/+bug/1444347/+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


[Touch-packages] [Bug 1444178] [NEW] Crash when creating a page with sections

2015-04-14 Thread Robert Schroll
Public bug reported:

See https://github.com/rschroll/beru/tree/section-crash for a test case.
This creates a page with a GridView and populates the gridview with
images loaded in from a javascript file.  (This is to stand in for
loading from a database in the original.)  This crashes most of the time
it is loaded for me.  If the model line in the head.sections block is
commented out, it never crashes.

This is seen on a devel r1 image.

When run under gdb, I get this:

Program received signal SIGILL, Illegal instruction.
0xb306e368 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
(gdb) bt
#0  0xb306e368 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
#1  0xb306bec4 in OPENSSL_cpuid_setup ()
   from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
#2  0xb6fe222e in ?? () from /lib/ld-linux-armhf.so.3
#3  0x00039e60 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

However, this seems to occur before anything gets loaded, whereas the
usual crash happens as the images are loaded.  Setting handle SIGILL
nostop gets it to the usual crash location, where it says:

Program received signal SIGSEGV, Segmentation fault.
0x in ?? ()
(gdb) bt
#0  0x in ?? ()
#1  0xb67ee750 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
#2  0xb67f2520 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
#3  0x00032df8 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

The fact that images are being loaded seems to be important.  If I
replace the images with simple rectangles, the crash goes away.  I can't
imagine that they're directly related; perhaps there is a timing bug
exposed by the time it takes to decode and render the images.

** Affects: ubuntu-ui-toolkit (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1444178

Title:
  Crash when creating a page with sections

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  See https://github.com/rschroll/beru/tree/section-crash for a test
  case.  This creates a page with a GridView and populates the gridview
  with images loaded in from a javascript file.  (This is to stand in
  for loading from a database in the original.)  This crashes most of
  the time it is loaded for me.  If the model line in the
  head.sections block is commented out, it never crashes.

  This is seen on a devel r1 image.

  When run under gdb, I get this:

  Program received signal SIGILL, Illegal instruction.
  0xb306e368 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
  (gdb) bt
  #0  0xb306e368 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
  #1  0xb306bec4 in OPENSSL_cpuid_setup ()
 from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
  #2  0xb6fe222e in ?? () from /lib/ld-linux-armhf.so.3
  #3  0x00039e60 in ?? ()
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)

  However, this seems to occur before anything gets loaded, whereas the
  usual crash happens as the images are loaded.  Setting handle SIGILL
  nostop gets it to the usual crash location, where it says:

  Program received signal SIGSEGV, Segmentation fault.
  0x in ?? ()
  (gdb) bt
  #0  0x in ?? ()
  #1  0xb67ee750 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
 from /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
  #2  0xb67f2520 in QApplication::notify(QObject*, QEvent*) ()
 from /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5
  #3  0x00032df8 in ?? ()
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)

  The fact that images are being loaded seems to be important.  If I
  replace the images with simple rectangles, the crash goes away.  I
  can't imagine that they're directly related; perhaps there is a timing
  bug exposed by the time it takes to decode and render the images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1444178/+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


[Touch-packages] [Bug 1429687] Re: Cannot import two files with the same name to ContentStore.App

2015-03-20 Thread Robert Schroll
Just to check my understanding, this change will cause an error when
trying to import a file with the same name as one that already exists.
Thus, there will be no way to import such a file while using a
ContentScope.  Correct?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1429687

Title:
  Cannot import two files with the same name to ContentStore.App

Status in Content sharing/picking infrastructure and service:
  Confirmed
Status in content-hub package in Ubuntu:
  Fix Released

Bug description:
  When you import a file using a ContentScope and ContentStore.App, it
  gets copied to ~/.local/share/appid/content-type/filename.  If
  you try to import another file with the same name and content type,
  the existing file will be left in place and the new file not copied
  over.  However, you get a ContentItem returned with the a URL pointing
  to the old imported file.

  My expectation is that the new file should be copied to file(1) or
  similar.  Perhaps this should only happen if the files are distinct.
  Failing this, ContentHub should throw an error and not let me think
  that the import succeeded.

To manage notifications about this bug go to:
https://bugs.launchpad.net/content-hub/+bug/1429687/+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


[Touch-packages] [Bug 1394480] Re: Need a mechanism to load more query results

2014-11-22 Thread Robert Schroll
For the record, I've implemented a workaround to provide a Load more
button at the bottom of the list of results.  It specially crafts a
query that the scope will use to load the next group of results.  There
are many problems with this approach (confusing queries displayed,
departments disappear even if you're browsing one, no way to return to
the previous page), but it's something.

See the code here: https://github.com/rschroll/gmail-
scope/commit/7288adc97953471863eee71fc65ca5582c974a90

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1394480

Title:
  Need a mechanism to load more query results

Status in Ubuntu UX bugs:
  New
Status in “unity-scopes-api” package in Ubuntu:
  Confirmed
Status in “unity-scopes-shell” package in Ubuntu:
  Confirmed
Status in “unity8” package in Ubuntu:
  Confirmed

Bug description:
  Many APIs return only partial results to a query, along with a token
  for requesting further results.  There should be a way for scopes to
  request those results when the user has viewed all of the current
  results.

  The obvious trigger would be when the user pulls up at the bottom of
  the results list.  This feels natural, and it would mirror the pull-
  down-at-top-to-refresh behavior.  But this could also happen
  automatically when the user approaches the bottom of the list, like
  infinite-scroll webpages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1394480/+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


[Touch-packages] [Bug 1394454] [NEW] Documentation for service_type in OnlineAccountClient is misleading

2014-11-19 Thread Robert Schroll
Public bug reported:

The documentation for the service_type argument in the
OnlineAccountClient is, 'The type of service (E.g. sharing).'  But in
examples of .service files, the service type is specified using the a
reverse-domain-name-esque string.  The documentation should be updated
to reflect this usage.

** Affects: unity-scopes-api (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1394454

Title:
  Documentation for service_type in OnlineAccountClient is misleading

Status in “unity-scopes-api” package in Ubuntu:
  New

Bug description:
  The documentation for the service_type argument in the
  OnlineAccountClient is, 'The type of service (E.g. sharing).'  But
  in examples of .service files, the service type is specified using the
  a reverse-domain-name-esque string.  The documentation should be
  updated to reflect this usage.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1394454/+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


[Touch-packages] [Bug 1394455] [NEW] 100ms timeout for query submission too brief

2014-11-19 Thread Robert Schroll
Public bug reported:

There is currently a 100 ms timeout between keypresses and query
submission.  This is rather short and ends up submitting many queries
while the user is still typing a delay of ~300 ms would eliminate many
of these submissions while still being barely noticeable.

See this thread for further discussion: https://lists.launchpad.net
/ubuntu-phone/msg10361.html

** Affects: unity-scopes-api (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1394455

Title:
  100ms timeout for query submission too brief

Status in “unity-scopes-api” package in Ubuntu:
  New

Bug description:
  There is currently a 100 ms timeout between keypresses and query
  submission.  This is rather short and ends up submitting many queries
  while the user is still typing a delay of ~300 ms would eliminate many
  of these submissions while still being barely noticeable.

  See this thread for further discussion: https://lists.launchpad.net
  /ubuntu-phone/msg10361.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1394455/+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


[Touch-packages] [Bug 1394479] [NEW] Add ability to place text in emblem position

2014-11-19 Thread Robert Schroll
Public bug reported:

Category renders will display an image as the emblem at the right end
of the title.  It should be possible to place text there instead of or
in addition to the image.  Thus, the emblem should be have like the
attributes.

Example use case: The Gmail scope displays the time of an email in the
emblem position, with the sender as the title.  Currently, this is done
with an SVG image displaying the text.  However, this means the text
size and alignment is incorrect.

** Affects: unity-scopes-api (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1394479

Title:
  Add ability to place text in emblem position

Status in “unity-scopes-api” package in Ubuntu:
  New

Bug description:
  Category renders will display an image as the emblem at the right
  end of the title.  It should be possible to place text there instead
  of or in addition to the image.  Thus, the emblem should be have like
  the attributes.

  Example use case: The Gmail scope displays the time of an email in the
  emblem position, with the sender as the title.  Currently, this is
  done with an SVG image displaying the text.  However, this means the
  text size and alignment is incorrect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1394479/+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


[Touch-packages] [Bug 1394480] [NEW] Need a mechanism to load more query results

2014-11-19 Thread Robert Schroll
Public bug reported:

Many APIs return only partial results to a query, along with a token for
requesting further results.  There should be a way for scopes to request
those results when the user has viewed all of the current results.

The obvious trigger would be when the user pulls up at the bottom of the
results list.  This feels natural, and it would mirror the pull-down-at-
top-to-refresh behavior.  But this could also happen automatically when
the user approaches the bottom of the list, like infinite-scroll
webpages.

** Affects: unity-scopes-api (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1394480

Title:
  Need a mechanism to load more query results

Status in “unity-scopes-api” package in Ubuntu:
  New

Bug description:
  Many APIs return only partial results to a query, along with a token
  for requesting further results.  There should be a way for scopes to
  request those results when the user has viewed all of the current
  results.

  The obvious trigger would be when the user pulls up at the bottom of
  the results list.  This feels natural, and it would mirror the pull-
  down-at-top-to-refresh behavior.  But this could also happen
  automatically when the user approaches the bottom of the list, like
  infinite-scroll webpages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1394480/+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


[Touch-packages] [Bug 1393470] Re: Service cache doesn't update as services change

2014-11-18 Thread Robert Schroll
Note that this can cause confusion for apps that ship with a .service
file.  A fix may not take effect, or a breakage may not be noticed,
since the old, working configuration persisted.  (This latter case bit
me.)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libaccounts-glib in
Ubuntu.
https://bugs.launchpad.net/bugs/1393470

Title:
  Service cache doesn't update as services change

Status in “libaccounts-glib” package in Ubuntu:
  Confirmed

Bug description:
  libaccounts-glib caches the list of current services inside its SQLite 
database, along with some basic information about the service (including the 
provider ID).
  However, if a .service file changes its provider element, libaccounts-glib 
does not detect the change and still keeps the outdated information in its DB.

  One possible solution for this is to add a function like
  ag_account_manager_rebuild_cache() which re-reads all the .service
  files, and invoke this function from our account-service hook
  program.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libaccounts-glib/+bug/1393470/+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


[Touch-packages] [Bug 1335761] Re: [Dash] Activating a preview with a scope URI for the current scope doesn't send you back to the results view

2014-11-07 Thread Robert Schroll
I have a simple scope that seems to exhibit the same problem:
https://code.launchpad.net/~rschroll/+junk/multiples

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1335761

Title:
  [Dash] Activating a preview with a scope URI for the current scope
  doesn't send you back to the results view

Status in “unity-scopes-shell” package in Ubuntu:
  Confirmed
Status in “unity8” package in Ubuntu:
  New

Bug description:
  You'll have to compile (prototype) the Youtube scope from source
  (https://launchpad.net/unity-scope-youtube/), as it's not in distro
  yet.

  Basically the workflow is:
  1) Search for something that has a result with a scope URI for the current 
scope. In the case of Youtube, search for queenofficial to get Queen's music 
channel.
  2) Preview the first item (the channel itself), and click the search button.
  3) This runs a new query for the current scope, but doesn't switch away from 
the preview view).
  4) You will see a preview of the first video in the new results list.

  Like when searching other scopes, the view should be returned to the
  results list, instead of saying in the preview view.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-shell/+bug/1335761/+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


[Touch-packages] [Bug 1384349] [NEW] apparmor denies app-specific download dorectpry

2014-10-22 Thread Robert Schroll
Public bug reported:

Oct 22 13:32:41 ubuntu-phablet kernel: [ 9393.918517] type=1400
audit(1413999161.373:361): apparmor=DENIED operation=open
profile=com.ubuntu.developer.rschroll.beru_beru_0.9.8
name=/home/phablet/.local/share/ubuntu-download-
manager/com.ubuntu.developer.rschroll.beru/Downloads/History%20of%20King%20Charles%20the%20Second%20of%20England%20-%20Abbot_%20Jacob.epub
pid=19786 comm=qmlscene requested_mask=r denied_mask=r fsuid=32011
ouid=32011

** Affects: apparmor-easyprof-ubuntu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu
in Ubuntu.
https://bugs.launchpad.net/bugs/1384349

Title:
  apparmor denies app-specific download dorectpry

Status in “apparmor-easyprof-ubuntu” package in Ubuntu:
  New

Bug description:
  Oct 22 13:32:41 ubuntu-phablet kernel: [ 9393.918517] type=1400
  audit(1413999161.373:361): apparmor=DENIED operation=open
  profile=com.ubuntu.developer.rschroll.beru_beru_0.9.8
  name=/home/phablet/.local/share/ubuntu-download-
  
manager/com.ubuntu.developer.rschroll.beru/Downloads/History%20of%20King%20Charles%20the%20Second%20of%20England%20-%20Abbot_%20Jacob.epub
  pid=19786 comm=qmlscene requested_mask=r denied_mask=r
  fsuid=32011 ouid=32011

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1384349/+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