[Bug 266894] New: KKeySequenceWidget: Stop recording when focus is lost.

GerbilSoft gerbilsoft at verizon.net
Tue Feb 22 15:19:59 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=266894

           Summary: KKeySequenceWidget: Stop recording when focus is lost.
           Product: kde
           Version: 4.6
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: gerbilsoft at verizon.net


Created an attachment (id=57446)
 --> (http://bugs.kde.org/attachment.cgi?id=57446)
KKeySequenceWidget: Cancel recording if focus is lost.

Version:           4.6 (using KDE 4.6.0) 
OS:                Linux

Currently, KKeySequenceWidget only stops recording if either a key sequence is
entered or the timeout expires. If a KKeySequenceButton is clicked and then
another window is focused, the KKeySequenceWidget will keep recording the
sequence, even though it doesn't have focus.

The attached patch cancels the recording if the KKeySequenceButton loses focus.

Reproducible: Always

Steps to Reproduce:
1. Click a KKeySequenceButton within a KKeySequenceWidget.
2. Move input focus to another window.
3. Press a key sequence.

Actual Results:  
The KKeySequenceButton captures the key sequence.

Expected Results:  
The KKeySequenceButton should ignore the key sequence.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list