[interface] Add new menu items to bottom of context menu
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
[interface] Add new menu items to bottom of context menu
Basically, the idea is that the WML tag
Adding a menu item at the top (the current behavior) moves all other menu items away from their expected locations; for example, the "Undo" menu item is usually at the top, but when
This page has a good description of usability issues when adding menu items to an existing menu (warning: may contain strong language):
https://www.jwz.org/blog/2013/10/how-to ... menu-item/
[url=https://wiki.wesnoth.org/InterfaceActionsWML#.5Bset_menu_item.5D]set_menu_item[/url]
should add new menu items to the bottom of the context menu rather than the top.Adding a menu item at the top (the current behavior) moves all other menu items away from their expected locations; for example, the "Undo" menu item is usually at the top, but when
set_menu_item
is used the new menu item shows up in the place where "Undo" usually is, so it is easy to click the new item by mistake when intending to click "Undo". This would not happen if the new menu item were added to the bottom of the menu.This page has a good description of usability issues when adding menu items to an existing menu (warning: may contain strong language):
https://www.jwz.org/blog/2013/10/how-to ... menu-item/
Re: [interface] Add new menu items to bottom of context menu
Iirc you can change the position of the wml menu items in the rght click menu by editor the cfg file of the default theme, no guarentee though.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
Re: [interface] Add new menu items to bottom of context menu
Yes, editinggfgtdf wrote:Iirc you can change the position of the wml menu items in the rght click menu by editor the cfg file of the default theme, no guarentee though.
data/themes/default.cfg
works (tested in 1.13.4):Code: Select all
[menu]
is_context_menu=true
items=wml,undo,redo,...,delayshroud,updateshroud
[/menu]
wml
to the end of the list:Code: Select all
[menu]
is_context_menu=true
items=undo,redo,...,delayshroud,updateshroud,wml
[/menu]
Re: [interface] Add new menu items to bottom of context menu
I think that's a good idea
Re: [interface] Add new menu items to bottom of context menu
I usually only ever use the context menu for custom menu items. For the default stuff I use keyboard shortcuts.
Re: [interface] Add new menu items to bottom of context menu
same as pauxlo, since the custom menu items are the most used menu items here, i think they should stay at the top of the list.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.