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

                 Summary: Cannot paint after cursor leaves drawing area on
Asus T101MT
                 Project: MyPaint
            Submitted by: sloeffler
            Submitted on: Sa 30 Apr 2011 14:48:36 GMT
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.9.0
         Planned Release: None
        Operating System: Ubuntu 11.04

    _______________________________________________________

Details:

When the mouse cursor is in the drawing area when the program is started, I
can paint normally. As soon as it exits that area (regardless whether the
widget actually loses focus) - LEAVE_NOTIFY is issued - and re-enters -
ENTER_NOTIFY is issued - painting no longer works. This is independent of
which input device I use (tried touchscreen, touchpad, and external USB
mouse). The same problem does not occur on my Lenovo Thinkpad SL510.

Curiously, when the issue occurs, painting *can* still occur, but only if the
cursor is *outside* the painting area. I.e., assume painting is no longer
working. Press and hold the mouse button (no BUTTON_PRESS occurs), then move
the cursor out of the drawing area (no LEAVE_NOTIFY, but instead MOTION_NOTIFY
occurs as soon as it leaves). Then, move the cursor across the drawing area to
the other side. No notifications occur, but as soon as the mouse cursor exits
on the other side, a straight line is drawn from the place it entered to the
place it exited. Similarly, zooming (via scrolling) only works when the mouse
is outside the drawing area. Even stranger, if another window occludes part of
the drawing area, the following can be done: over the drawing area, press and
hold the mouse button; move the mouse over the other window and start
"drawing". When you release the mouse button and move the occluding window
aside, what you have been drawing is visible!

All in all, it seems that events are erroneously reported when the mouse is
outside the drawing area if it has left it at least once. This sounds like a
low-level problem to me, but I don't have enough experience with this kind of
python program to debug myself. FWIW, the pygtk scribble example
(http://www.pygtk.org/pygtk2tutorial/ch-Scribble.html) works as expected.

Attached is the output of `xinput list`.

Classifying as "Important" as all drawing functionality is lost completely.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sa 30 Apr 2011 14:48:36 GMT  Name: xinput.txt  Size: 1kB   By:
sloeffler

<http://gna.org/bugs/download.php?file_id=12934>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to