Merge lp://staging/~kevang/mnemosyne-proj/number_keys_show_answer into lp://staging/~peter-bienstman/mnemosyne-proj/trunk
Proposed by
Kilian Evang
Status: | Merged |
---|---|
Merge reported by: | Peter Bienstman |
Merged at revision: | not available |
Proposed branch: | lp://staging/~kevang/mnemosyne-proj/number_keys_show_answer |
Merge into: | lp://staging/~peter-bienstman/mnemosyne-proj/trunk |
Diff against target: |
21 lines (+3/-1) 1 file modified
mnemosyne/mnemosyne/pyqt_ui/review_wdgt.py (+3/-1) |
To merge this branch: | bzr merge lp://staging/~kevang/mnemosyne-proj/number_keys_show_answer |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Peter Bienstman | Pending | ||
Review via email: mp+234210@code.staging.launchpad.net |
Description of the change
In the default review widget, the number keys can be used for showing the answer. While this behavior can be useful, it can also cause unintended showing and even unintended grading when the user accidentally presses a number key two or three times in a row.
This branch makes the abovementioned behavior dependent on the attribute "number_
To post a comment you must log in.
Not sure this is a good idea. I think it's much better to prevent the fact that pressing and holding a number key counts as two presses at the moment. For the enter key, pressing and holding counts as one, so I need to investigate why it does not work for the number keys.
Cheers,
Peter
> -----Original Message----- keys_show_ answer into lp:mnemosyne-proj keys_show_ answer into lp:mnemosyne-proj. /code.launchpad .net/~kevang/ mnemosyne- keys_show_ answer/ +merge/ 234210 keys_show_ answer" so that the behavior can easily be grades" , which controls the behavior of grading by pressing the /code.launchpad .net/~kevang/ mnemosyne- keys_show_ answer/ +merge/ 234210
> From: <email address hidden> [mailto:<email address hidden>] On Behalf
> Of Kilian Evang
> Sent: 10 September 2014 23:41
> To: <email address hidden>
> Subject: [Merge] lp:~kevang/mnemosyne-
> proj/number_
>
> Kilian Evang has proposed merging lp:~kevang/mnemosyne-
> proj/number_
>
> Requested reviews:
> Peter Bienstman (peter-bienstman)
>
> For more details, see:
> https:/
> proj/number_
>
> In the default review widget, the number keys can be used for showing the
> answer. While this behavior can be useful, it can also cause unintended
> showing and even unintended grading when the user accidentally presses a
> number key two or three times in a row.
>
> This branch makes the abovementioned behavior dependent on the
> attribute "number_
> changed by a plugin. This is analoguous to the already existing attribute
> "auto_focus_
> space bar.
> --
> https:/
> proj/number_
> You are requested to review the proposed merge of
> lp:~kevang/mnemosyne-proj/number_keys_show_answer into
> lp:mnemosyne-proj.