Following up with my previous comment, this affects playing music or
videos in Totem, which is included in the default Ubuntu install.  Even
if the player window is minimized, no notifications will display.
Someone unsuspecting might be led to think notifications are broken.

As before, if I should file a new bug, or any of the other options
mentioned in the last comment, I'd be happy to do so!

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1440825

Title:
  dnd_is_screensaver_inhibited no longer works

Status in notify-osd package in Ubuntu:
  Fix Released

Bug description:
  Notifications are still shown even if the system inhibits
  screensaver(expecting dnd_is_screensaver_inhibited state).

  The code seems to expect "GetInhibitors" method is in
  "org.gnome.ScreenSaver", but the method is no longer there. The
  equivalent is "IsInhibited" method in org.gnome.SessionManager.

  
https://people.gnome.org/~mccann/gnome-session/docs/gnome-session.html#org.gnome.SessionManager.IsInhibited
  ## unit32:8 = (Inhibit the session being marked as idle)
  $ dbus-send --print-reply --dest=org.gnome.SessionManager 
/org/gnome/SessionManager org.gnome.SessionManager.IsInhibited uint32:8
  method return sender=:1.24 -> dest=:1.284 reply_serial=2
     boolean true

  [src/dnd.c]
      100 static DBusGProxy*
      101 get_screensaver_proxy (void)
      102 {
      103         if (gsmgr == NULL)
      104         {
      105                 DBusGConnection *connection = dbus_get_connection ();
      106                 gsmgr = dbus_g_proxy_new_for_name (connection,
      107                                                    
"org.gnome.ScreenSaver",
      108                                                    
"/org/gnome/ScreenSaver",
      109                                                    
"org.gnome.ScreenSaver");
      110         }
      111 
      112         return gsmgr;
      113 }       
      114 
      115 gboolean
      116 dnd_is_screensaver_inhibited ()
      117 {
      118         GError  *error = NULL;
      119         gboolean inhibited = FALSE;
      120         char **list;
      121 
      122         if (! get_screensaver_proxy ())
      123                 return FALSE;
      124 
      125         if (dbus_g_proxy_call_with_timeout (
      126                     gsmgr, "GetInhibitors", 2000, &error,
      127                     G_TYPE_INVALID,
      128                     G_TYPE_STRV, &list,
      129                     G_TYPE_INVALID))

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: notify-osd 0.9.35+15.04.20150126-0ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-12.12-generic 3.19.3
  Uname: Linux 3.19.0-12-generic x86_64
  ApportVersion: 2.17-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Apr  7 01:49:02 2015
  DesktopSession: 'ubuntu'
  EcryptfsInUse: Yes
  GtkTheme: 'Ambiance'
  IconTheme: 'ubuntu-mono-dark'
  InstallationDate: Installed on 2015-02-28 (37 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150228)
  MachineType: FUJITSU FMVS54KR
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-12-generic.efi.signed 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   xserver-xorg             1:7.7+7ubuntu4
   libgl1-mesa-glx          10.5.2-0ubuntu1
   libdrm2                  2.4.59-0ubuntu1
   xserver-xorg-video-intel 2:2.99.917-1~exp1ubuntu2build1
   xserver-xorg-video-ati   1:7.5.0-1ubuntu2
  SourcePackage: notify-osd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/07/2013
  dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
  dmi.bios.version: Version 1.06
  dmi.board.name: FJNB24F
  dmi.board.vendor: FUJITSU
  dmi.board.version: D2
  dmi.chassis.type: 10
  dmi.chassis.vendor: FUJITSU
  dmi.modalias: 
dmi:bvnFUJITSU//PhoenixTechnologiesLtd.:bvrVersion1.06:bd01/07/2013:svnFUJITSU:pnFMVS54KR:pvr:rvnFUJITSU:rnFJNB24F:rvrD2:cvnFUJITSU:ct10:cvr:
  dmi.product.name: FMVS54KR
  dmi.sys.vendor: FUJITSU
  glxinfo: Error: [Errno 2] No such file or directory: 'glxinfo'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/1440825/+subscriptions

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

Reply via email to