Make story message boxes closeable with enter

Bug #1460725 reported by wl-zocker
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Wishlist
Unassigned

Bug Description

In the tutorials and campaigns, there are message boxes which give instrucitons/tell the story. They can only be closed by clicking on OK. When there are several message boxes in a row, it is cumbersome to have to move the mouse pointer to every button.

It would therefore be great when these message boxes could be closed by a hotkey, e.g. enter or space.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I agree this would be nice. I keep forgetting enter doesn't work on the dialogs. :p

I was certain there was an ancient feature request on this, but all I could find was bug 536388. For the campaign dialogs it is a lot clearer which dialog would respond to the hotkey (being only one), and I think players would expect it based on experience from other games.

Changed in widelands:
importance: Undecided → Wishlist
GunChleoc (gunchleoc)
tags: added: lowhangingfruit
Revision history for this message
SirVer (sirver) wrote : Re: [Bug 1460725] Re: Make story message boxes closeable with enter

It was on purpose that these could not be closed with a hot key. In the early days they were and users often closed them accidentally the moment they opened though they just wanted to activate the build help.

This applies to all hotkeys really. I think another solution is needed for the nuisance factor here. What do other games do?

> Am 23.10.2015 um 19:33 schrieb GunChleoc <email address hidden>:
>
> ** Tags added: lowhangingfruit
>
> --
> You received this bug notification because you are subscribed to
> widelands.
> https://bugs.launchpad.net/bugs/1460725
>
> Title:
> Make story message boxes closeable with enter
>
> Status in widelands:
> New
>
> Bug description:
> In the tutorials and campaigns, there are message boxes which give
> instrucitons/tell the story. They can only be closed by clicking on
> OK. When there are several message boxes in a row, it is cumbersome to
> have to move the mouse pointer to every button.
>
> It would therefore be great when these message boxes could be closed
> by a hotkey, e.g. enter or space.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/widelands/+bug/1460725/+subscriptions

Revision history for this message
Nasenbaer (nasenbaer) wrote :

Setting to opinion.
I agree with SirVer that a hotkey brings more downsides than upsides. Further it would be nice to have a "choose either side A or side B" dialog - at least in such a dialog, a hotkey wouldn't be a good idea.

Changed in widelands:
status: New → Opinion
Revision history for this message
wl-zocker (wl-zocker) wrote :

Currently, most (all?) dialogs only have the OK button, and Enter is not used for anything in the game. We could disallow using a hotkey for dialog windows with different options (I do not dare to ask for things like Tab + Enter).

What exactly are the downsides? The only arguement brought so far is inadvertant closing, but I think I never press Enter (neither on purpose nor by accident) while playing Widelands, so I think this arguement is somewhat weak.

Revision history for this message
SirVer (sirver) wrote :

Enter is also not very intuitive then. As you said it is not used for anything yet - especially it does not close any windows. How would you advertise this feature to the players?

Changed in widelands:
status: Opinion → Incomplete
Revision history for this message
wl-zocker (wl-zocker) wrote :

Many other programs (including OSs) allow closing message boxes with Enter. I am pretty sure I tried it when I had just started playing Widelands, and I still sometimes hit Enter to close such a message box (which does not work). So, I think this feature does not really need advertising, players will find out (probably even expect) this behavior. Just to be sure, we could add a sentence to the first tutorial (either in the very beginning or in the message box which says: " All windows in Widelands can be closed that way [by right-clicking], except the ones with instructions, like this one.").

Revision history for this message
GunChleoc (gunchleoc) wrote :

We could generally link "OK" to Enter and "Back" or "Cancel" to Escape throughout Widelands, including the fullscreen menus.

I have been fiddling with a branch to make our hotkeys configurable, and this would be a general hotkey used everywhere.

Revision history for this message
SirVer (sirver) wrote :

+1 for #7.

Changed in widelands:
status: Incomplete → Confirmed
Revision history for this message
GunChleoc (gunchleoc) wrote :

I just tested this and closing these windows with Enter was implemented at some point, so I'll set this to Fix Committed.

Changed in widelands:
status: Confirmed → Fix Committed
milestone: none → build20-rc1
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build20-rc1

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.