Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Context menu
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|User interface element}} {{Refimprove|date=November 2009}} [[File:Context menu in LibreOffice Writer 24.2.png|thumb|300px|A context menu from [[LibreOffice Writer]], appearing when the user right-clicks on a page element]] [[File:Context menu in Ubuntu 24.10.png|thumb|300px|A context menu from [[Ubuntu]] desktop]] A '''context menu''' (also called '''contextual''', '''shortcut''', and '''pop up''' or '''pop-up''' '''menu''') is a [[Menu (computing)|menu]] in a [[graphical user interface]] (GUI) that appears upon user interaction, such as a right-click [[Mouse (computing)#Operation|mouse operation]]. A context menu offers a limited set of choices that are available in the current state, or context, of the operating system or application to which the menu belongs. Usually the available choices are actions related to the [[Selection (user interface)|selected object]]. From a technical point of view, such a context menu is a [[graphical control element (software)|graphical control element]]. == History == Context menus first appeared in the [[Smalltalk]] environment on the [[Xerox Alto]] computer, where they were called ''pop-up menus''; they were invented by [[Dan Ingalls]] in the mid-1970s.<ref>{{cite book |url=https://books.google.com/books?id=auAXfVwNAJoC&q=Dan+Ingalls+pop+up+menu&pg=PA252 |title=Explaining Creativity: The Science of Human Innovation |author=R. Keith Sawyer |publisher=Oxford University Press |location=USA |year=2012|isbn=9780199737574 }}</ref><ref>{{cite book |url=https://books.google.com/books?id=nneBa6-mWfgC&q=Dan+Ingalls+pop+up+menu&pg=PA373 |title=Coders at Work: Reflections on the Craft of Programming |author=Peter Seibel |publisher=Apress |date=September 16, 2009|isbn=9781430219484 }}</ref> [[Microsoft Office]] v3.0 introduced the context menu for copy and paste functionality in 1990. [[Borland]] demonstrated extensive use of the context menu in 1991 at the Second Paradox Conference in Phoenix Arizona. [[Lotus 1-2-3]]/G for [[OS/2]] v1.0 added additional formatting options in 1991. Borland [[Quattro Pro]] for Windows v1.0 introduced the Properties context menu option in 1992. ==Implementation== Context menus are opened via various forms of user interaction that target a region of the GUI that supports context menus. The specific form of user interaction and the means by which a region is targeted vary: * On a computer running [[Microsoft Windows]], [[macOS]], or [[Unix]] running the [[X Window System]], clicking the secondary mouse button (usually the right button) opens a context menu for the region that is under the mouse pointer. * For quickness, implementations may additionally support hold-and-release selection, meaning the pointer is held down and dragged, and released at desirable menu entry. * On systems that support one-button mice, context menus are typically opened by pressing and holding the primary mouse button (this works on the icons in the Dock on [[macOS]]) or by pressing a keyboard/mouse button combination (e.g. Ctrl-mouse click in [[Classic Mac OS]] and macOS). A keyboard alternative for macOS is to enable [[Mouse keys]] in [[Universal Access]]. Then, depending on whether a laptop or compact or extended keyboard type is used, the shortcut is {{keypress|Function}}+{{keypress|Ctrl}}+5 or {{keypress|Ctrl}}+5 (numeric keypad) or {{keypress|Function}}+{{keypress|Ctrl}}+i (laptop). * On systems with a [[multi-touch]] interface such as MacBook or Surface, the context menu can be opened by pressing or tapping with two fingers instead of just one. * Some cameras on smartphones for example recognize a [[QR code]] when a picture is taken. Then a pop-up appears if you want to 'open' the QR content. This could be anything like a website or to configure your phone to connect to [[Wi-Fi]]. See image. * On some user interfaces, context menu items are accompanied by icons for quicker recognition upon navigation.<ref>{{cite web |title=Samsung Galaxy S4 Internet Browser FAQ and User's Guide |url=https://www.webcazine.com/6136/samsung-galaxy-s4-internet-browser-faq-and-users-guide/ |website=WEBcazine |date=8 May 2013}}</ref> * Context menus can also have a top row of icons only for quick access to most frequently used options.<ref>{{cite web |title=Context menu items |url=https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Context_menu_items |website=MDN Web Docs |date=6 November 2023 |language=en}}</ref> Windows mouse click behavior is such that the context menu doesn't open while the mouse button is pressed, but only opens the menu when the button is released, so the user has to click again to select a context menu item. This behavior differs from that of macOS and most free software GUIs. * In Microsoft Windows, pressing the [[Menu key|Application key]] or Shift+F10 opens a context menu for the region that has [[Focus (computing)|focus]]. Context menus are sometimes hierarchically organized, allowing navigation through different levels of the menu structure. The implementations differ: [[Microsoft Word]] was one of the first applications to only show sub-entries of some menu entries after clicking an arrow icon on the context menu, otherwise executing an action associated with the parent entry. This makes it possible to quickly repeat an action with the parameters of the previous execution, and to better separate options from actions. === X Window Managers === The following [[window manager]]s provide context menu functionality: * [[Awesome (window manager)|Awesome]] * [[IceWM]]β[[middle-click]] and [[right-click]] context menus on [[Desktop environment|desktop]], [[menu bar]], [[title bar]]s, and [[title icon]] * [[olwm]] * [[openbox]] * [[Sawfish (window manager)|sawfish]] ==Usability== Context menus have received some criticism from [[usability]] analysts when improperly used, as some applications make certain features ''only'' available in context menus, which may confuse even experienced users (especially when the context menus can only be activated in a limited area of the application's client window). Context menus usually open in a fixed position under the [[Elements of graphical user interfaces#Pointer|pointer]], but when the pointer is near a screen edge the menu will be displaced - thus reducing consistency and impeding use of [[muscle memory]]. If the context menu is being triggered by keyboard, such as by using Shift + F10, the context menu appears near the focused widget instead of the position of the pointer, to save recognition efforts. ==In documentation== Microsoft's guidelines call for always using the term ''context menu'', and explicitly deprecate ''shortcut menu''.<ref name="msmenu">{{cite web|year=2011|title=Menus|url=https://msdn.microsoft.com/en-us/library/windows/desktop/dn742392.aspx|work=Windows desktop applications - Guidelines|publisher=Microsoft}}</ref> == See also == * [[Menu key]] * [[Pie menu]] * [[Screen hotspot]] == References == {{reflist}} ==External links== {{Wiktionary}} {{Commons category}} {{Graphical control elements}} [[Category:Graphical control elements]] [[Category:Graphical user interface elements]] [[Category:Macintosh operating systems user interface]] [[Category:Windows administration]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Cite book
(
edit
)
Template:Cite web
(
edit
)
Template:Commons category
(
edit
)
Template:Graphical control elements
(
edit
)
Template:Keypress
(
edit
)
Template:Refimprove
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Wiktionary
(
edit
)
Search
Search
Editing
Context menu
Add topic