Update of bug #20358 (project mypaint):
Priority: 5 - Normal => 7 - High
Status: In Progress => Ready For Test
_______________________________________________________
Follow-up Comment #3:
Partly addressed in
https://gitorious.org/mypaint/mypaint/commit/f04c6128359f7a2e61885a209a39a426b0242b0d
- adding the gtk grab back restores continuous picking the first time.
However this doesn't cure the reported problem: that on second and subsequent
stylus-launched picks, the pointer remains grabbed; but only for the stylus,
not for the mouse. The gdk.pointer_ungrab() we call doesn't affect the stylus
in this case - perhaps it's not affecting an implicit grab which does have
device resolution?
Worked around the reported problem in
https://gitorious.org/mypaint/mypaint/commit/d1b6518ace20ff8832685461ef5f2ff6884f55a5
- however all this does is banish the popup window when responding to pointer
events.
The design of the popup state code is hindering me a bit here. I'd like to
experiment with doing the grab, and then showing the popup preview window, but
the reverse must happen for the current code to work.
-----
Perhaps redo it as a mode, and have some modes launched from keys persist for
as long as their key is held - i.e. a spring-load like setup. There are of
course two cases for press-then-release of a key:
- user presses and releases the key, expecting the mode to change and stay
changed.
- user presses the key and expects the mode to stay active for as long as
the key is held
not sure how to bridge the gap. Perhaps a timer and a short delay before
allowing the key-up event to cancel the mode?
----
This workaround may be OK for release. It's stupid and incomplete, but not
actively harmful as far as I can tell. Please test, as quickly as possible!
I'd like to know whether it's an acceptable way to address this problem, given
that reimplementing it as an InteractionMode may need a string change.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20358>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs