Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-7648

Fix and improve key logging

    XMLWordPrintable

    Details

    • Tests Type:
      GUI automatic
    • Sprint:
      DEV-47-1, DEV-47-2, DEV-47-3, DEV-47-4, DEV-47-5, DEV-47-RELEASE, DEV-48-1, DEV-48-2, DEV-48-3, DEV-48-4, DEV-48-5, DEV-48-RELEASE, DEV-49-1, DEV-49-2, DEV-49-3, DEV-49-4, DEV-49-5, DEV-49-RELEASE, DEV-50-1, DEV-50-2, DEV-50-3, DEV-50-4, DEV-50-5, DEV-50-RELEASE
    • Affect Type:
      Userdefined

      Description

      1. The combination Alt+Shift+KEY appears in the log as
        press alt
        press alt + shift
        press alt + shift + a
        release alt + shift
        release alt
        

        But combinations of 2 modifiers, one of which is the Ctrl, are displayed incorrectly:

        press shift
        press shift + ctrl
        press ctrl + a
        release ctrl+shift
        release ctrl
        

        The Shift didn't show up. You need to make the line with the Ctrl the same as the others.

      1. According to the documentation, Qt::Key_Control corresponds to another key on the Mac. When pressing Qt::Key_Control on the Mac, it should display "Cmd".
      2. Add the Meta key. Sometimes in crash reports, especially from the Mac, the line "[User Actions] press Undefined key, code: 16777250" is logged. To call the context menu on the Mac, you can use the right mouse button or hold down the Ctrl, and then click the left mouse button or the touchpad. Users sometimes use the second option (as in the case of the crash 1995):
        [User Actions] press Undefined key, code: 16777250
        [User Actions] mouse_press Right_button 1106 342 CLASS_NAME: U2::MSAEditorSequenceArea OBJECT_NAME: msa_editor_sequence_area
        [User Actions] mouse_release
        [User Actions] release Undefined key, code: 16777250
        

        The key with the code 16777250 corresponds exactly to the "Ctrl" key on the Mac and the "Win-key" on the Windows. It is required to add this key with the appropriate names.

        Attachments

          Activity

            People

            Assignee:
            yalgaer Yuliya Algaer
            Reporter:
            biserova Evelina
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: