Bug 340978 - scroll-event not received with libappindicator Kubuntu 14.04
Summary: scroll-event not received with libappindicator Kubuntu 14.04
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: 4.11.11
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-15 11:05 UTC by foudil.newbie+kdebugs
Modified: 2018-06-08 18:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description foudil.newbie+kdebugs 2014-11-15 11:05:26 UTC
The scroll-event of of an AppIndicator (http://developer.ubuntu.com/api/devel/ubuntu-12.04/c/appindicator/libappindicator-app-indicator.html#AppIndicator-scroll-event) is not received by the AppIndicator.

From a higher perspective, I wonder how well AppIndicators are supported in KDE, because for instance the left-click (activate) does not trigger the associated popup menu. I haven't tested, but maybe this has been fixed in Plasma5/plasmashell.

Reproducible: Always

Steps to Reproduce:
1. make sure libappindicator3-1 is installed (with python bindings)
2. run the attached/following script
3. scroll on the AppIndicator (system tray icon)

Actual Results:  
Nothing happens

Expected Results:  
Some output to the console ("SCROLL").

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 "SCROLL"

    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()
Comment 1 Nate Graham 2018-06-08 18:39:21 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug has already been resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham