← Back to team overview

dx-packages team mailing list archive

[Bug 1071738] Re: Indicator scroll event says direction UP on 12.10 even when scrolling down

 

Hello Peter, or anyone else affected,

Accepted libappindicator into trusty-proposed. The package will build
now and be available at
http://launchpad.net/ubuntu/+source/libappindicator/12.10.1+13.10.20130920-0ubuntu4.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Also affects: libappindicator (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: libappindicator (Ubuntu Trusty)
       Status: New => Fix Committed

** Tags added: verification-needed

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

Title:
  Indicator scroll event says direction UP on 12.10 even when scrolling
  down

Status in “libappindicator” package in Ubuntu:
  Fix Released
Status in “libappindicator” source package in Trusty:
  Fix Committed

Bug description:
  * Impact
  Scrolling on indicators report the wrong scroll event

  * Test case
  run the program from comment #6, scroll on the indicator, check that the right direction information is outputed

  * Regression potentiel
  check that scrolling on indicators still work where it used to do something

  -------

  I am using AppIndicator via Python. On Ubuntu 12.10 (stock install,
  python-appindicator: Installed: 12.10.0-0ubuntu1) when I listen for
  scroll event signals, the direction is always reported as UP, never as
  DOWN - even when scrolling down. This was working on 12.04.

  My application variety depends on this functionality, here is the
  relevant bug report for it:
  https://bugs.launchpad.net/variety/+bug/1071598

  Here is sample code to demonstrate the problem (OK on 12.04, buggy on
  12.10):

  from gi.repository import Gtk, Gdk, AppIndicator3

  if __name__ == "__main__":
      menu = Gtk.Menu()
      quit = Gtk.MenuItem("Quit")
      quit.connect("activate", Gtk.main_quit)
      menu.append(quit)
      menu.show_all()

      def scroll(ind, steps, direction):
          print steps, direction
          if direction != Gdk.ScrollDirection.UP:
              print "Things seem ok"

      indicator = AppIndicator3.Indicator.new('testscroll', '', AppIndicator3.IndicatorCategory.APPLICATION_STATUS)
      indicator.set_status(AppIndicator3.IndicatorStatus.ACTIVE)
      indicator.set_icon("/usr/share/pixmaps/firefox.png")
      indicator.connect("scroll-event", scroll)
      indicator.set_menu(menu)
      Gtk.main()

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