URL:
  <http://gna.org/bugs/?20364>

                 Summary: [GTK2?] brush selection window: if Intuos 5 is
plugged in, laptop Synaptics touchpad cannot be used to choose brushes
                 Project: MyPaint
            Submitted by: achadwick
            Submitted on: Wed Dec 12 20:41:31 2012
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: git 68d3f681 (12 Dec 2012)
         Planned Release: None
        Operating System: Debian Wheezy/testing

    _______________________________________________________

Details:

This really looks like a GTK2 bug, but it's odd enough to mention in the
tracker anyway. Just in case people ask.

If an Intuos5 (PTH-650) is plugged in, my laptop's touchpad cannot be used to
select brushes: clicks on the PixbufList don't seem to be getting through at
all. It doesn't matter if the Brushes window is docked or undocked, and brush
groups can still be chosen with the laptop touchpad. The laptop touchpad works
elsewhere, and can be used for painting.

Does not affect the touchpad when an older Bamboo tablet (MTE-450A) is
connected instead.


⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=13   [slave  pointer 
(2)]<<<
⎜   ↳ Wacom Intuos5 touch M Pen stylus          id=11   [slave  pointer 
(2)]<<<
⎜   ↳ Wacom Intuos5 touch M Pen eraser          id=16   [slave  pointer 
(2)]
⎜   ↳ Wacom Intuos5 touch M Pen cursor          id=17   [slave  pointer 
(2)]
⎜   ↳ Wacom Intuos5 touch M Pen pad             id=18   [slave  pointer 
(2)]
⎜   ↳ Wacom Intuos5 touch M Finger              id=19   [slave  pointer 
(2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Laptop_Integrated_Webcam_2M               id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
    ↳ ACPI Virtual Keyboard Device              id=14   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=15   [slave  keyboard (3)]


The popup "quick" brush selector, and the toolbar dropdown's brush list, are
unaffected.

Commenting out the following lines in gui/brushselectionwindow.py restores the
expected behaviour in PyGTK:


        ## Support device changing with the same event as that used
        ## for brush choice:
        #if not pygtkcompat.USE_GTK3:
        #    self.set_extension_events(gdk.EXTENSION_EVENTS_ALL)


Could this be a suitable workaround? There seems to be some cleverness in the
module for setting the device-specific brush at the point the button is
pressed.

GTK3 mode is unaffected by this bug; however if MYPAINT_ENABLE_GTK3 is not set
at runtime, the bug still presents when compiled with enable_gtk3=true.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20364>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to