bugBattle for Wesnoth - Bugs: bug #15567, Default hotkey for Mute (ctrl-alt...

Show feedback again

bug #15567: Default hotkey for Mute (ctrl-alt m) doesn't work

Submitted by:  Max <max2008>
Submitted on:  Tue Mar 9 19:03:13 2010  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: User Interface
Status: FixedPrivacy: Public
Assigned to: Anonymissimus <anonymissimus>Open/Closed: Closed
Release: 1.7.11Operating System: XP, Win7

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Fri Sep 25 09:40:39 2015, comment #6:

This is fixed with the hot-key rewrite for SDL2.

Wedge009 <wedge009>
Project Member
Thu Aug 13 13:34:03 2015, comment #5:

Turns out it's not related to Ctrl+m characters. It's related to the apparent inability to read Ctrl+Alt+[key] combinations from the default hot-keys in /data/core/hotkeys.cfg. This can be confirmed by attempting to add a custom hot-key of Ctrl+Alt+m - the game will not complain that it's already in use. In fact, as a work-around, one can manually add Ctrl+Alt+m as a hot-key for mute in order for it to work.

The only other default Ctrl+Alt combination is Repeat Recruit, which is Ctrl+Alt+r. This also does not work by default, but can be added manually as a work-around.

Wedge009 <wedge009>
Project Member
Thu Aug 13 11:44:18 2015, comment #4:

I wonder if this is related to something I'm investigating at the moment, which is that Ctrl+Enter is not detected correctly. Instead (depending on operating system, and therefore the EOL format used), it is detected as Ctrl+j or Ctrl-m, which correspond to LF and CR characters. This seems to be related to the choice to use 'character' instead of 'key code' to read keyboard input for the sake of being able to have something like (for example) Ctrl+M instead of Ctrl+Shift+m.

Wedge009 <wedge009>
Project Member
Fri Nov 21 23:16:59 2014, comment #3:

removed a leading space in the bug description.

Daniel <gfgtdf>
Project Member
Thu Dec 1 15:32:25 2011, comment #2:

see also bug #18868, bug #19084

Anonymissimus <anonymissimus>
Project MemberIn charge of this item.
Wed Oct 26 15:49:04 2011, comment #1:

In case someone wonders why this is assigned to me: It is a win-only problem and I have suspicions about the cause.

Anonymissimus <anonymissimus>
Project MemberIn charge of this item.
Tue Mar 9 19:03:13 2010, original submission:

Problem exists in every single version i've tried so far (1.6 up to latest 1.7). OS: xp, win7.

I'm also unable to set any ctrl-alt hotkey:
ctrl-alt-m results in a reset of the hotkey
ctrl-alt-q = ctrl-alt-@
ctrl-alt-w,e,r,t,... = ctrl-alt-`

once i set e.g. ctrl-alt-w it works (but for e, r, t and other keys as well).

here's a log (--log-debug=all) of following actions:
- deleted userdata folder
- tried ctrl-alt-m twice on the main screen
- open preferences dialog
- set hotkey to ctrl-alt m (hotkey is blank afterwards)
- set hokey to ctrl-alt i (shows as ctrl-alt `)
- back to main screen and tried ctr-alt i (followed by some other keys)

Max <max2008>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by vultraz (Updated the item)
  • -unavailable- added by wedge009 (Posted a comment)
  • -unavailable- added by gfgtdf (Updated the item)
  • -unavailable- added by anonymissimus (Posted a comment)
  • -unavailable- added by max2008 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Mar 5 14:09:22 2016vultrazStatusNone=>Fixed
    Fri Nov 21 23:16:11 2014gfgtdfSummary Default hotkey for Mute (ctrl-alt m) doesn\'t work=>Default hotkey for Mute (ctrl-alt m) doesn't work
    Thu Aug 11 14:39:04 2011anonymissimusAssigned toNone=>anonymissimus
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup