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

                 Summary: Picker on Ctrl does not exit when Ctrl is released
(Picker's auto-grab conflicts with unambiguous mapping code)
                 Project: MyPaint
            Submitted by: achadwick
            Submitted on: Mon Jan 28 12:59:01 2013
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.1.0+git
         Planned Release: None
        Operating System: 

    _______________________________________________________

Details:

When the picker mode is entered with an unambiguous modifier key, e.g. Ctrl
when other button mapping which use Ctrl are removed from the config,
releasing the Ctrl key does not exit the mode as it should. *Steps to
reproduce:*

1. Start with a blank config


mypaint -c /tmp/cfg$$


2. Edit > Preferences > Buttons, and remove all mappings which use <Primary>
(or <Control>) other than "Pick Color". This makes the Ctrl key unambiguously
bound to the action, which means the hander takes a shortcut and enters the
mode directly.

3. Press OK, and then try to pick using Ctrl.

*Expected behaviour:* pressing Ctrl enters the picker mode, and releasing it
exits picker mode (even when you haven't picked anything with a
button-press).

*Observed behaviour:* pressing Ctrl enters the picker mode, but releasing it
does not exit picker mode when you haven't picked anything. The desired
springload behaviour (mode exists when both Ctrl _and_ the initiating button
are released) only occurs after the first button press.

Setting as minor because the picker mode still works, and can be exited using
normal user input related to its use.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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