cemmanouilidis / naturalscrolling

Natural Scrolling for Linux
GNU General Public License v3.0
69 stars 11 forks source link

no context menu #16

Closed pythonpro closed 12 years ago

pythonpro commented 12 years ago

Ubuntu Natty 64bit. Current trunk. Debugging output:

zedtux commented 12 years ago
  ⎜   ↳ Logitech USB Receiver                     id=10   [slave  pointer  (2)]
  ⎜   ↳ Logitech USB Receiver                     id=12   [slave  pointer  (2)]

What is your configuration to have 2 different devices with the same name?

Have you 2 mouses? Or wireless device?

pythonpro commented 12 years ago

I have 2 different Logitech wireless mice. The both have their reveiver. One of the mice isn't switched on. Anyway that has nothing to do with the problem issue. I've tried: 1) Plug off the receiver of unused mouse, restarted the app - no context menu, no natural scrolling. 2) Plug off the second receiver and plug in an ordinal wired usb mouse. Received: $ ./bin/naturalscrolling Traceback (most recent call last): File "./bin/naturalscrolling", line 46, in naturalscrolling.main() File "/home/tier/src/naturalscrolling/naturalscrolling/init.py", line 46, in main Indicator().start() File "/home/tier/src/naturalscrolling/naturalscrolling/indicator.py", line 43, in init GConfSettings().initialize(udev_observator.gather_devices()) File "/home/tier/src/naturalscrolling/naturalscrolling_lib/gconfsettings.py", line 209, in initialize GConfKey(device.keys()[0], gconf.VALUE_BOOL).find_or_create() File "/home/tier/src/naturalscrolling/naturalscrolling_lib/gconfsettings.py", line 114, in init if key.startswith(GCONF_ROOT_DIR): AttributeError: 'NoneType' object has no attribute 'startswith'

pythonpro commented 12 years ago

0.3.1 works fine with any of my devices or their combination

pythonpro commented 12 years ago

After system reboot I've managed to see context menu and natural scrolling works fine with my Logitech mouse. So I'm closing the issue.

pythonpro commented 12 years ago

no bug

zedtux commented 12 years ago

I've downloaded Ubuntu Natty in order to test naturalscrolling. Don't you had this exception:

$ naturalscrolling 
Traceback (most recent call last):
  File "/usr/bin/naturalscrolling", line 46, in <module>
    naturalscrolling.main()
  File "/usr/lib/pymodules/python2.7/naturalscrolling/__init__.py", line 38, in main
    Indicator().start()
  File "/usr/lib/pymodules/python2.7/naturalscrolling/indicator.py", line 43, in __init__
    GConfSettings().initialize(udev_observator.gather_devices())
  File "/usr/lib/pymodules/python2.7/naturalscrolling_lib/gconfsettings.py", line 209, in initialize
    GConfKey(device.keys()[0], gconf.VALUE_BOOL).find_or_create()
  File "/usr/lib/pymodules/python2.7/naturalscrolling_lib/gconfsettings.py", line 114, in __init__
    if key.startswith(GCONF_ROOT_DIR):
AttributeError: 'NoneType' object has no attribute 'startswith'

Which version of Python are you using ?