[Desktop-packages] [Bug 1028115] Re: Gdk.cairo_region_create_from_surface() raises an error in GI

2014-04-13 Thread Mirco Müller
Just want to add my 2 cents of information from messing with this
subject over the weekend...

To properly use cairo.Region() in Python one needs at least pycairo
1.8.10 (1.10.0 is current) for Python 3.x. For Python 2.x pycairo does
not support/implement cairo.Region().

I've an example implementing "click-through" using cairo.Region() and
cairo.RectangleInt() available here:

http://bazaar.launchpad.net/~macslow/cairo-
countdown/trunk/view/head:/countdown.py

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/1028115

Title:
  Gdk.cairo_region_create_from_surface() raises an error in GI

Status in Python bindings for GObject:
  Confirmed
Status in “py3cairo” package in Ubuntu:
  Fix Released
Status in “pygobject” package in Ubuntu:
  Fix Released
Status in “py3cairo” package in Debian:
  Fix Released

Bug description:
  This happens on current 12.10 daily:

  >>> from gi.repository import Gdk
  >>> import cairo
  >>> surface = cairo.ImageSurface(0, 100, 100)
  >>> Gdk.cairo_region_create_from_surface(surface)
  Traceback (most recent call last):
File "", line 1, in 
File "/usr/lib/python2.7/dist-packages/gi/types.py", line 47, in function
  return info.invoke(*args, **kwargs)
  TypeError: Couldn't find conversion for foreign struct 'cairo.Region'

  Upstream has some additional info and a couple of patches for this:
  https://bugzilla.gnome.org/show_bug.cgi?id=667959
  https://bugs.freedesktop.org/show_bug.cgi?id=44336

To manage notifications about this bug go to:
https://bugs.launchpad.net/pygobject/+bug/1028115/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1373404] Re: No warning of high volume level

2014-10-09 Thread Mirco Müller
I agree with Charles. As all-embracing as mpt's solution for the
convoluted EU-regulations is, that will not be doable in the RTM-
timeframe.

Still for the warning-at-75% stop-gap suggestion, I need a design-
sanctioned mockup.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1373404

Title:
  No warning of high volume level

Status in Sound Menu:
  New
Status in Ubuntu UX bugs:
  Fix Committed
Status in “indicator-sound” package in Ubuntu:
  New
Status in “pulseaudio” package in Ubuntu:
  Triaged
Status in “ubuntu-system-settings” package in Ubuntu:
  Triaged
Status in “unity8” package in Ubuntu:
  In Progress

Bug description:
  The EU has a legal requirement for personal music players to prevent hearing 
damage.
  http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32009D0490&rid=1
  

  For the purpose of this Decision, a ‘personal music player’ means a
  portable device, that is not covered by Directive 1999/5/EC or
  Directive 2006/95/EC, with headphones or earphones, used to listen to
  recorded, generated or broadcasted sound.

  1. For the purpose of Article 4(1)(a) of Directive 2001/95/EC, the
  safety requirement for personal music players shall be the following:
  Personal music players shall be designed and manufactured in a manner
  that ensures that, under reasonably foreseeable conditions of use,
  they are inherently safe and do not cause hearing damage.

  2. The requirement set out in paragraph 1 shall include in particular
  the following:

  (1) Exposure to sound levels shall be time limited to avoid hearing
  damage. At 80 dB(A) exposure time shall be limited to 40 hours/week,
  whereas at 89 dB(A) exposure time shall be limited to 5 hours/week.
  For other exposure levels a linear intra- and extrapolation applies.
  Account shall be taken of the dynamic range of sound and the
  reasonably foreseeable use of the products.

  (2) Personal music players shall provide adequate warnings on the risks 
involved in using the device and to the ways of avoiding them and information 
to users in cases where exposure poses a risk of hearing damage.
  

  Related documents:
  http://ec.europa.eu/health/opinions/en/hearing-loss-personal-music-player-mp3/
  http://europa.eu/rapid/press-release_IP-08-1492_en.htm
  http://ec.europa.eu/news/environment/090928_en.htm
  http://europa.eu/rapid/press-release_IP-09-1364_en.htm

  Design:

  : "Whenever you are using
  headphones, Ubuntu should frequently measure the volume of sound
  output. Whenever it is over 47 dB(A), your quota should be reduced
  accordingly..."

  [Originally reported in private bug 1370591.]

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-sound/+bug/1373404/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1373404] Re: No warning of high volume level

2014-10-09 Thread Mirco Müller
Current implementation in action...
https://www.youtube.com/watch?v=J_tvCQ5hHxI

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1373404

Title:
  No warning of high volume level

Status in Sound Menu:
  New
Status in Ubuntu UX bugs:
  Fix Committed
Status in “indicator-sound” package in Ubuntu:
  New
Status in “pulseaudio” package in Ubuntu:
  Triaged
Status in “ubuntu-system-settings” package in Ubuntu:
  Triaged
Status in “unity8” package in Ubuntu:
  In Progress

Bug description:
  The EU has a legal requirement for personal music players to prevent hearing 
damage.
  http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32009D0490&rid=1
  

  Desired resolution:

  - For RTM the design spec'ed in the following section of the Sound
  wiki page should be implemented
  
https://wiki.ubuntu.com/Sound#Warnings_.28note:_This_section_should_be_implemented_for_RTM.29

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-sound/+bug/1373404/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1373404] Re: No warning of high volume level

2014-10-10 Thread Mirco Müller
** Branch linked: lp:~macslow/unity8/synchronous-notification

** Branch linked: lp:~macslow/unity-notifications/synchronous-
notification

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1373404

Title:
  No warning of high volume level

Status in Sound Menu:
  New
Status in Ubuntu UX bugs:
  Fix Committed
Status in “indicator-sound” package in Ubuntu:
  New
Status in “pulseaudio” package in Ubuntu:
  Triaged
Status in “ubuntu-system-settings” package in Ubuntu:
  Triaged
Status in “unity8” package in Ubuntu:
  In Progress

Bug description:
  The EU has a legal requirement for personal music players to prevent hearing 
damage.
  http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32009D0490&rid=1
  

  Desired resolution:

  - For RTM the design spec'ed in the following section of the Sound
  wiki page should be implemented
  
https://wiki.ubuntu.com/Sound#Warnings_.28note:_This_section_should_be_implemented_for_RTM.29

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-sound/+bug/1373404/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1373404] Re: No warning of high volume level

2014-10-13 Thread Mirco Müller
** Branch linked: lp:~macslow/unity-settings-daemon/max-volume-
notification-warning

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1373404

Title:
  No warning of high volume level

Status in Sound Menu:
  In Progress
Status in Ubuntu UX bugs:
  Fix Committed
Status in “indicator-sound” package in Ubuntu:
  In Progress
Status in “pulseaudio” package in Ubuntu:
  Invalid
Status in “ubuntu-system-settings” package in Ubuntu:
  Invalid
Status in “unity-notifications” package in Ubuntu:
  In Progress
Status in “unity8” package in Ubuntu:
  In Progress
Status in “unity-notifications” package in Ubuntu RTM:
  In Progress
Status in “unity8” package in Ubuntu RTM:
  In Progress

Bug description:
  The EU has a legal requirement for personal music players to prevent hearing 
damage.
  http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32009D0490&rid=1
  

  Desired resolution:

  - For RTM the design spec'ed in the following section of the Sound
  wiki page should be implemented
  
https://wiki.ubuntu.com/Sound#Warnings_.28note:_This_section_should_be_implemented_for_RTM.29

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-sound/+bug/1373404/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1373404] Re: [notification] No warning of high volume level

2014-11-11 Thread Mirco Müller
** Changed in: unity8 (Ubuntu)
   Status: In Progress => Fix Released

** Changed in: unity-notifications (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1373404

Title:
  [notification] No warning of high volume level

Status in Ubuntu UX bugs:
  Fix Committed
Status in “indicator-sound” package in Ubuntu:
  Fix Released
Status in “pulseaudio” package in Ubuntu:
  Invalid
Status in “ubuntu-system-settings” package in Ubuntu:
  In Progress
Status in “unity-notifications” package in Ubuntu:
  Fix Released
Status in “unity8” package in Ubuntu:
  Fix Released
Status in “indicator-sound” package in Ubuntu RTM:
  Fix Released
Status in “unity-notifications” package in Ubuntu RTM:
  Fix Released
Status in “unity8” package in Ubuntu RTM:
  Fix Released

Bug description:
  The EU has a legal requirement for personal music players to prevent hearing 
damage.
  http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32009D0490&rid=1
  

  Desired resolution:

  - For RTM the design spec'ed in the following section of the Sound
  wiki page should be implemented
  
https://wiki.ubuntu.com/Sound#Warnings_.28note:_This_section_should_be_implemented_for_RTM.29

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1373404/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 829635] Re: apport-gtk crashed with TypeError in function(): markup_escape_text() takes at most 1 argument (2 given)

2011-09-14 Thread Mirco Müller
I still get this with apport-gtk 1.23-0ubuntu1, therefore I reopened it.

** Changed in: apport (Ubuntu)
   Status: Fix Released => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/829635

Title:
  apport-gtk crashed with TypeError in function(): markup_escape_text()
  takes at most 1 argument (2 given)

Status in “apport” package in Ubuntu:
  New

Bug description:
  Seems to be the same as bug 828010, but I've installed all updates and
  restarted since that bug was marked Fix Released.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: apport-gtk 1.21.3-0ubuntu4
  ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
  Uname: Linux 3.0.0-8-generic x86_64
  NonfreeKernelModules: wl
  ApportLog:
   ERROR: apport (pid 14238) Fri Aug 19 17:47:19 2011: called for pid 1529, 
signal 11
   ERROR: apport (pid 14238) Fri Aug 19 17:47:19 2011: executable: 
/usr/bin/compiz (command line "compiz")
   ERROR: apport (pid 14238) Fri Aug 19 17:47:35 2011: wrote report 
/var/crash/_usr_bin_compiz.1000.crash
  Architecture: amd64
  Date: Wed Aug 17 14:34:56 2011
  ExecutablePath: /usr/share/apport/apport-gtk
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64+mac 
(20110705.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/share/apport/apport-gtk
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/share/apport/apport-gtk']
  SourcePackage: apport
  Title: apport-gtk crashed with TypeError in function(): markup_escape_text() 
takes exactly 2 argument(s) (1 given)
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/829635/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 840971] Re: volume changes work correctly but the OSD always shows full volume and "plips" at the same level

2011-09-05 Thread Mirco Müller
** Also affects: gnome-settings-daemon (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: gnome-settings-daemon (Ubuntu)
 Assignee: (unassigned) => Mirco Müller (macslow)

** Changed in: gnome-settings-daemon (Ubuntu)
   Importance: Undecided => Medium

** Changed in: gnome-settings-daemon (Ubuntu)
   Status: New => Confirmed

** Changed in: gnome-settings-daemon (Ubuntu)
Milestone: None => ubuntu-11.10-beta-2

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/840971

Title:
  volume changes work correctly but the OSD always shows full volume and
  "plips" at the same level

Status in Gnome Settings Daemon:
  Unknown
Status in Sound Menu:
  Invalid
Status in “gnome-settings-daemon” package in Ubuntu:
  Confirmed
Status in “indicator-sound” package in Ubuntu:
  Invalid

Bug description:
  The volume controls on this machine work fine, but the visual feedback
  OSD display always shows the highest value and "plips" at the same
  highest volume indication.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: indicator-sound 0.7.6.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
  Uname: Linux 3.0.0-10-generic i686
  NonfreeKernelModules: wl
  Architecture: i386
  Date: Sun Sep  4 13:42:07 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: indicator-sound
  UpgradeStatus: Upgraded to oneiric on 2011-08-05 (29 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/840971/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp