[Bug 663726] Re: pynotify.set_timeout() ignores timeout

Blair Houghton blair at houghton.net
Mon Apr 25 15:54:43 UTC 2016


If you set it lower than 10 seconds it still remains onscreen for 10
seconds. Except if you set it to 0 it gives you a dialog box that
remains onscreen until you dismiss it instead of the momentary
notification. (Currently on xenial.)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to notify-python in Ubuntu.
https://bugs.launchpad.net/bugs/663726

Title:
  pynotify.set_timeout() ignores timeout

Status in notify-python package in Ubuntu:
  Won't Fix

Bug description:
  We have to display notifications longer than 10 seconds. But pynotify
  seems to ignore the timeout.

  Here's my sample code:

  #!/usr/bin/python
  # -*- coding: utf-8 -*-

  import pynotify
  pynotify.init("Test")
  n = pynotify.Notification("Test", "<b>Test</b>")
  n.set_urgency(pynotify.URGENCY_NORMAL)
  n.set_timeout(5000) # 60 seconds
  n.show()

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



More information about the foundations-bugs mailing list