Сравнивайте с английским: нажмите на абзац — оригинал откроется в окне. Кнопка EN под абзацем показывает его прямо в тексте.
Содержание
Введение
Графическая функция пользовательского интерфейса от Apple
Graphical user interface feature by Apple
Dock — заметная функция графического пользовательского интерфейса macOS. Она используется для запуска приложений и переключения между запущенными приложениями. Dock также является заметной функцией предшественников macOS — операционных систем NeXTSTEP и OPENSTEP. Самые ранние известные реализации док-панели встречаются в операционных системах, таких как RISC OS и NeXTSTEP. iOS имеет собственную версию Dock для iPhone и iPod Touch, а iPadOS — для iPad. Apple подала заявку на патент США на дизайн Dock в 1999 году и получила патент в октябре 2008 года, спустя почти десять лет. Любое приложение можно перетащить на Dock, чтобы добавить его, и любое приложение можно перетащить с Dock, чтобы удалить его, за исключением Finder и Корзины, которые являются постоянными элементами, расположенными слева и справа (или сверху и снизу, если Dock ориентирован вертикально) соответственно. Является частью основных служб macOS и находится в .
The Dock is a prominent feature of the graphical user interface of macOS. It is used to launch applications and to switch between running applications. The Dock is also a prominent feature of macOS's predecessor NeXTSTEP and OPENSTEP operating systems. The earliest known implementations of a dock are found in operating systems such as RISC OS and NeXTSTEP. iOS has its own version of the Dock for the iPhone and iPod Touch, as does iPadOS for the iPad. Apple applied for a US patent for the design of the Dock in 1999 and was granted the patent in October 2008, nearly a decade later. Any application can be dragged and dropped onto the Dock to add it to the dock, and any application can be dragged from the dock to remove it, except for Finder and Trash, which are permanent fixtures as the leftmost and rightmost items (or highest and lowest items if the Dock is vertically oriented), respectively. Part of the macOS Core Services, is located at .
Обзор
В NeXTSTEP и OPENSTEP Dock — это запускатель приложений, содержащий значки для часто используемых программ. Значок для Диспетчера рабочих пространств и Корзины всегда виден. Dock указывает, что программа не запущена, отображая многоточие под её значком. Если программа запущена, многоточия на значке нет. В macOS работающие приложения идентифицировались по-разному: небольшим чёрным треугольником (Mac OS X 10.0–10.4), синей светящейся точкой (Mac OS X 10.5–10.7), горизонтальной светящейся полосой (OS X 10.8 и 10.9) и простой чёрной или белой точкой (начиная с OS X 10.10). Однако в macOS Dock используется как хранилище для любой программы или файла в операционной системе. Он может содержать любое количество элементов и динамически изменять их размер для соответствия, используя увеличение для лучшего отображения мелких элементов. По умолчанию он отображается в нижней части экрана, но пользователь может разместить его на левом или правом краю экрана. Приложения, которые обычно не хранят значки в Dock, всё равно будут отображаться там при запуске и останутся там до закрытия. Эти функции отличаются от Dock в операционных системах NeXT, где ёмкость Dock зависит от разрешения экрана. Это может быть попыткой восстановить некоторую функциональность Shelf, поскольку macOS не наследует другие подобные технологии от NeXTSTEP. (Минимальная функциональность Shelf реализована в Finder.) Изменения в Dock также приближают его функциональность к Button Bar операционной системы Newton OS от Apple, как в серии MessagePad 2x00 и подобных устройствах. Приложения можно было перетаскивать в и из папки Extras, похожей на Finder, на эту панель. Кроме того, при переводе экрана в альбомный режим пользователь мог выбрать размещение Button Bar справа или слева от экрана, как и Dock в macOS. В Dock macOS также есть расширенные меню для управления приложениями без их отображения на экране. В большинстве приложений есть простые опции, такие как «Выйти», «Оставить в Dock», «Удалить из Dock» и другие, хотя некоторые приложения используют эти меню для других целей, например iTunes, которое использует это меню для управления определёнными параметрами воспроизведения. Другие приложения включают изменение статуса онлайн-алиаса (MSN, AIM/iChat и т. д.) или автоматическое сохранение изменений, внесённых в документ (в настоящее время нет приложений с этой функцией, доступных для macOS). Docklings (в Mac OS X 10.4 или более ранних версиях) также можно было открыть с помощью правой кнопки мыши, если она есть, но чаще всего клик с удержанием или Control-клик вызывали меню. В Mac OS X Leopard docklings были заменены на Stacks. Stacks «укладывают» файлы в небольшую организованную папку на Dock, и их можно открыть левым щелчком мыши. Stacks можно было отображать тремя способами: «веер», «сетка» или «список», что похоже на docklings. В режиме сетки папки в Stacks можно открывать непосредственно в Stacks без открытия Finder. В iOS Dock используется для хранения приложений и, начиная с iOS 4, папок, содержащих приложения. В отличие от Dock macOS, на iPhone и iPod Touch в Dock можно разместить максимум 4 значка. Максимальное количество значков для iPad — 16 (13 приложений и 3 недавно открытых приложения). Размер Dock в iOS нельзя изменить. При запуске приложения на Dock, нажав на него, оно будет подпрыгивать до завершения загрузки программного обеспечения. Кроме того, когда приложению требуется внимание пользователя, оно будет подпрыгивать ещё выше, пока на его значок не нажмут и пользователь не отреагирует на его запрос.
In NeXTSTEP and OPENSTEP, the Dock is an application launcher that holds icons for frequently used programs. The icon for the Workspace Manager and the Recycler are always visible. The Dock indicates if a program is not running by showing an ellipsis below its icon. If the program is running, there isn't an ellipsis on the icon. In macOS, running applications have been variously identified by a small black triangle (Mac OS X 10.0 10.4) a blue tinted luminous dot (Mac OS X 10.5 10.7), a horizontal light bar (OS X 10.8 and 10.9), and a simple black or white dot (OS X 10.10 present). In macOS, however, the Dock is used as a repository for any program or file in the operating system. It can hold any number of items and resizes them dynamically to fit while using magnification to better view smaller items. By default, it appears on the bottom edge of the screen, but it can also instead be placed on the left or right edges of the screen if the user wishes. Applications that do not normally keep icons in the Dock will still appear there when running and remain until they are quit. These features are unlike those of the dock in the NeXT operating systems where the capacity of the Dock is dependent on display resolution. This may be an attempt to recover some Shelf functionality since macOS inherits no other such technology from NeXTSTEP. (Minimal Shelf functionality has been implemented in the Finder.) The changes to the dock bring its functionality also close to that of Apple's Newton OS Button Bar, as found in the MessagePad 2x00 series and the likes. Applications could be dragged in and out of the Extras Drawer, a Finder like app, onto the bar. Also, when the screen was put into landscape mode, the user could choose to position the Button Bar at the right or left side of the screen, just like the Dock in macOS. The macOS Dock also has extended menus that control applications without making them visible on screen. On most applications it has simple options such as Quit, Keep In Dock, Remove From Dock, and other options, though some applications use these menus for other purposes, such as iTunes, which uses this menu as a way for a user to control certain playback options. Other Applications include changing the status of an online alias (MSN, AIM/iChat etc.) or automatically saving the changes that have been made in a document (There is no current application with this feature made available for macOS). Docklings (in Mac OS X 10.4 or earlier) can also be opened by using the right mouse button, if the mouse has one, but most of the time either clicking and holding or control click will bring the menu up. In Mac OS X Leopard, docklings were replaced by Stacks. Stacks "stack" files into a small organized folder on the Dock, and they can be opened by left clicking. Stacks could be shown in three ways: a "fan", a "grid", or a "list", which is similar to docklings. In grid view, the folders in that stack can be opened directly in that stack without the need to open Finder. In iOS, the dock is used to store applications and, since iOS 4, folders containing applications. Unlike the macOS dock, a maximum of 4 icons can be placed in the dock on the iPhone and the iPod Touch. The maximum for the iPad however is 16 icons (13 apps and 3 recently opened apps). The size of the dock on iOS cannot be changed. When an application on the Dock is launched by clicking on it, it will jump until the software is finished loading. Additionally, when an application requires attention from a user, it will jump even higher until its icon is clicked and the user attends to its demands.
Дизайн
Оригинальная версия Dock, представленная в публичной бета-версии Mac OS X до версии 10.0, имеет плоский белый полупрозрачный интерфейс с полосками в стиле Aqua. Dock в Mac OS X версий 10.1–10.4 лишен этих полосок, но в остальном идентичен. В Mac OS X версий 10.5–10.7 приложения отображаются на трехмерной глянцевой поверхности в перспективе, а не на традиционной плоской, напоминая док приложений Project Looking Glass от Sun Microsystems. OS X версий 10.8–10.9 изменяет внешний вид, придавая ему вид матового стекла с закругленными углами. OS X 10.10 и более поздние версии возвращаются к двухмерному виду, похожему на Mac OS X 10.4, хотя и более прозрачному, с эффектом размытия в стиле iOS 7. В iPhone OS 1–3 Dock имел металлический вид, напоминающий переднюю панель Power Mac G5 (2003–2005) и Mac Pro (2006–2012 или 2019). iPhone OS 3.2 для iPad и iOS 4–6 переняли дизайн Dock от Mac OS X версий 10.5–10.7, который использовался до iOS 7. iOS 7 использует аналогичный Dock из Mac OS X Tiger, но с эффектами размытия в стиле iOS 7. В iOS 11 Dock для iPad и iPhone X был переработан, чтобы больше походить на Dock в macOS.
The original version of the dock, found in Mac OS X Public Beta to 10.0, presents a flat white translucent interface with the Aqua styled pinstripes. The dock found in Mac OS X 10.1 to 10.4 removes the pinstripes, but otherwise is identical. Mac OS X 10.5 to 10.7 presents the applications on a three dimensional glassy surface from a perspective instead of the traditional flat one, resembling Sun Microsystems' Project Looking Glass application dock. OS X 10.8 to 10.9 changes the look to resemble frosted glass with rounded corners. OS X 10.10 and later revert to a two dimensional appearance, similar to Mac OS X 10.4, although more translucent and with a iOS 7 blur effect. In iPhone OS 1 to 3, the dock used a metal look which looks similar to the front of the Power Mac G5 (2003 2005) and Mac Pro (2006 2012 or 2019 ). iPhone OS 3.2 for iPad and iOS 4 to 6 adopted the dock design from Mac OS X 10.5 to 10.7 which was used until iOS 7, which uses a similar dock from Mac OS X Tiger but with iOS 7 styled blur effects. In iOS 11, the dock for the iPad and iPhone X is redesigned to more resemble the macOS dock.
Связанное программное обеспечение
Классическая Mac OS имеет приложение, похожее на Dock, под названием Launcher, которое впервые появилось в моделях Macintosh Performa в 1993 году, а затем было включено в состав System 7.5.1. Оно выполняет ту же базовую функцию. Кроме того, дополнения, такие как DragThing, добавили Dock для пользователей более ранних версий. MacOS не была первой операционной системой, реализовавшей функции, подобные Dock. RISC OS содержит функцию под названием панель значков (Icon bar), которая удивительно похожа на Dock в macOS. Панель значков была впервые реализована в 1987 году в первой версии RISC OS, под названием Arthur. Microsoft реализовала упрощенную функцию Dock в Windows Desktop Update, поставлявшейся с Internet Explorer 4. Эта функция панели инструментов быстрого запуска оставалась в Windows до версии 7, где она была заменена на Superbar, реализующую функциональность, аналогичную Dock в macOS. Различные Dock также используются в Linux и BSD. Примеры включают Window Maker (имитирующий внешний вид и поведение графического интерфейса NeXTstep), Docky, Avant Window Navigator, KXDocker (и другие) для KDE, а также различные доки gdesklet/adesklets, Wharf от AfterStep (производный от пользовательского интерфейса NeXTstep), iTask NG (модуль, используемый в некоторых дистрибутивах Linux на основе Enlightenment, таких как gOS) и Slit от Blackbox.
The classic Mac OS does have a dock like application called Launcher, which was first introduced with Macintosh Performa models in 1993 and later included as part of System 7.5.1. It performs the same basic function. Also, add ons such as DragThing added a dock for users of earlier versions. MacOS was not the first operating system to implement dock like features. RISC OS contains a feature called the Icon bar, which is remarkably similar to the macOS Dock. The Icon Bar was first implemented in 1987 for the first version of RISC OS, named Arthur. Microsoft implemented a simplified dock feature in the Windows Desktop Update that shipped with Internet Explorer 4. This Quick Launch toolbar feature remained until Windows 7, where it was replaced by the Superbar, which implements functionality similar to the macOS Dock. Various docks are also used in Linux and BSD. Some examples are Window Maker (which emulates the look and feel of the NeXTstep GUI), Docky, and Avant Window Navigator, KXDocker (amongst others) for KDE and various other gdesklet/adesklets docks, AfterStep's Wharf (a derivation from the NeXTstep UI), iTask NG (a module used with some Enlightenment based Linux distributions such as gOS) and Blackbox's Slit.
Критика
Брюс Тогнаццини, консультант по юзабилити, работавший в Apple в 1980-х и 1990-х годах до разработки Mac OS X, написал в 2001 году статью, в которой перечислил десять проблем, которые он обнаружил в Dock. Статья была обновлена в 2004 году: две первоначальные критические замечания были удалены, а одна новая добавлена. Одной из его претензий было то, что Dock занимает слишком много места на экране. Другой – то, что подписи к иконкам отображаются только при наведении указателя, из-за чего трудно различить похожие папки, файлы и окна. Тогнаццини также критиковал тот факт, что при перетаскивании иконок из Dock они исчезают без возможности легкого восстановления; он назвал это поведение «уничтожением объектов». Джон Сиракуза, пишущий для Ars Technica, также отмечал некоторые проблемы с Dock в период выхода публичной бета-версии Mac OS X в 2000 году. Он заметил, что поскольку Dock расположен по центру, добавление и удаление иконок меняет положение остальных. В обзоре Mac OS X v10.0 в следующем году он также отметил, что Dock выполняет слишком много функций для обеспечения оптимальной простоты использования, включая запуск приложений, переключение между ними, открытие файлов и хранение свернутых окон. Сиракуза также критиковал Dock после выхода Mac OS X v10.5, отметив, что его удобство использования было снижено ради визуальных эффектов. Сиракуза критиковал трехмерный вид и отражения, слабовыраженный синий индикатор открытых приложений, а также менее различимые файлы и папки. Том Холверда, главный редактор OSNews, выразил ряд опасений относительно Dock, в том числе то, что он расширяется в обе стороны, содержит иконку «Корзины» и не имеет постоянных подписей. Холверда также критиковал измененный внешний вид Dock в Mac OS X v10.5.
Bruce Tognazzini, a usability consultant who worked for Apple in the 1980s and 1990s before Mac OS X was developed, wrote an article in 2001 listing ten problems he saw with the Dock. This article was updated in 2004, removing two of the original criticisms and adding a new one. One of his concerns was that the Dock uses too much screen space. Another was that icons only show their labels when the pointer hovers over them, so similar looking folders, files, and windows are difficult to distinguish. Tognazzini also criticized the fact that when icons are dragged out of the Dock, they vanish with no easy way to get them back; he called this behavior "object annihilation". John Siracusa, writing for Ars Technica, also pointed out some issues with the Dock around the releases of Mac OS X Public Beta in 2000. He noted that because the Dock is centered, adding and removing icons changes the location of the other icons. In a review of Mac OS X v10.0 the following year, he also noted that the Dock does far too many tasks than it should for optimum ease of use, including launching apps, switching apps, opening files, and holding minimized windows. Siracusa further criticized the Dock after the release of Mac OS X v10.5, noting that it was made less usable for the sake of eye candy. Siracusa criticized the 3D look and reflections, the faint blue indicator for open applications, and less distinguishable files and folders. Thom Holwerda, a managing editor OSNews, stated some concerns with the Dock, including the facts that it grows in both directions, holds the Trash icon, and has no persistent labels. Holwerda also criticized the revised Dock appearance in Mac OS X v10.5.