Shift key not shown

Bug #770233 reported by Marco Hunsicker on 2011-04-25
36
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Screenkey
Undecided
Unassigned

Bug Description

Pressing a keyboard shortcut that involves the Shift meta key, only displays any other keys. E.g. Shift+Alt+F only displays Alt+F.

The problem seems to be in the "key_normal_mode" routine in listenkbd.py around line 234 where the mod variable is not updated. Should be trivial to fix.

=== modified file 'Screenkey/listenkbd.py'
--- Screenkey/listenkbd.py 2012-02-14 20:16:23 +0000
+++ Screenkey/listenkbd.py 2015-04-10 03:16:38 +0000
@@ -261,6 +261,8 @@
                     mod = mod + _("Ctrl+")
                 if self.cmd_keys['alt']:
                     mod = mod + _("Alt+")
+ if self.cmd_keys['shift']:
+ mod = mod + _("Shift+")
                 if self.cmd_keys['super']:
                     mod = mod + _("Super+")

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers