diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2018-11-11 04:26:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-11 04:26:31 (GMT) |
commit | 50ff02b43145f33f8e28ffbfcc6a9d15c4749a64 (patch) | |
tree | 72c338dfd048b4ba4eefc58bb704f305607a7924 | |
parent | b9498e2367f21205ed2b9c172665ea6f0a218d27 (diff) | |
download | cpython-50ff02b43145f33f8e28ffbfcc6a9d15c4749a64.zip cpython-50ff02b43145f33f8e28ffbfcc6a9d15c4749a64.tar.gz cpython-50ff02b43145f33f8e28ffbfcc6a9d15c4749a64.tar.bz2 |
bpo-34864: Document two IDLE on MacOS issues. (GH-10456)
The System Preferences Dock "prefer tabs always" setting disables some
IDLE features. Menus are a bit different than as described for Windows
and Linux.
-rw-r--r-- | Doc/library/idle.rst | 23 | ||||
-rw-r--r-- | Lib/idlelib/help.html | 24 | ||||
-rw-r--r-- | Misc/NEWS.d/next/IDLE/2018-11-10-21-27-25.bpo-34864.Ci-G2q.rst | 3 |
3 files changed, 37 insertions, 13 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index f353fbc..d019bf4 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -40,13 +40,17 @@ Menus ----- IDLE has two main window types, the Shell window and the Editor window. It is -possible to have multiple editor windows simultaneously. Output windows, such -as used for Edit / Find in Files, are a subtype of edit window. They currently -have the same top menu as Editor windows but a different default title and -context menu. +possible to have multiple editor windows simultaneously. On Windows and +Linux, each has its own top menu. Each menu documented below indicates +which window type it is associated with. -IDLE's menus dynamically change based on which window is currently selected. -Each menu documented below indicates which window type it is associated with. +Output windows, such as used for Edit => Find in Files, are a subtype of editor +window. They currently have the same top menu but a different +default title and context menu. + +On MacOS, there is one application menu. It dynamically changes according +to the window currently selected. It has an IDLE menu, and some entries +described below are moved around to conform to Apple guidlines. File menu (Shell and Editor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -792,6 +796,13 @@ changed via Configure IDLE on the Option menu. Keys can be user defined; IDLE ships with four built-in key sets. In addition, a user can create a custom key set in the Configure IDLE dialog under the keys tab. +IDLE on MacOS +^^^^^^^^^^^^^ + +Under System Preferences: Dock, one can set "Prefer tabs when opening +documents" to "Always". This setting is not compatible with the tk/tkinter +GUI framework used by IDLE, and it breaks a few IDLE features. + Extensions ^^^^^^^^^^ diff --git a/Lib/idlelib/help.html b/Lib/idlelib/help.html index f0b4215..a8afc75 100644 --- a/Lib/idlelib/help.html +++ b/Lib/idlelib/help.html @@ -122,12 +122,15 @@ of global and local namespaces</li> <div class="section" id="menus"> <h2>Menus<a class="headerlink" href="#menus" title="Permalink to this headline">¶</a></h2> <p>IDLE has two main window types, the Shell window and the Editor window. It is -possible to have multiple editor windows simultaneously. Output windows, such -as used for Edit / Find in Files, are a subtype of edit window. They currently -have the same top menu as Editor windows but a different default title and -context menu.</p> -<p>IDLE’s menus dynamically change based on which window is currently selected. -Each menu documented below indicates which window type it is associated with.</p> +possible to have multiple editor windows simultaneously. On Windows and +Linux, each has its own top menu. Each menu documented below indicates +which window type it is associated with.</p> +<p>Output windows, such as used for Edit => Find in Files, are a subtype of editor +window. They currently have the same top menu but a different +default title and context menu.</p> +<p>On MacOS, there is one application menu. It dynamically changes according +to the window currently selected. It has an IDLE menu, and some entries +described below are moved around to conform to Apple guidlines.</p> <div class="section" id="file-menu-shell-and-editor"> <h3>File menu (Shell and Editor)<a class="headerlink" href="#file-menu-shell-and-editor" title="Permalink to this headline">¶</a></h3> <dl class="docutils"> @@ -753,6 +756,12 @@ changed via Configure IDLE on the Option menu. Keys can be user defined; IDLE ships with four built-in key sets. In addition, a user can create a custom key set in the Configure IDLE dialog under the keys tab.</p> </div> +<div class="section" id="idle-on-macos"> +<h3>IDLE on MacOS<a class="headerlink" href="#idle-on-macos" title="Permalink to this headline">¶</a></h3> +<p>Under System Preferences: Dock, one can set “Prefer tabs when opening +documents” to “Always”. This setting is not compatible with the tk/tkinter +GUI framework used by IDLE, and it breaks a few IDLE features.</p> +</div> <div class="section" id="extensions"> <h3>Extensions<a class="headerlink" href="#extensions" title="Permalink to this headline">¶</a></h3> <p>IDLE contains an extension facility. Preferences for extensions can be @@ -808,6 +817,7 @@ also used for testing.</p> <li><a class="reference internal" href="#help-and-preferences">Help and preferences</a><ul> <li><a class="reference internal" href="#help-sources">Help sources</a></li> <li><a class="reference internal" href="#setting-preferences">Setting preferences</a></li> +<li><a class="reference internal" href="#idle-on-macos">IDLE on MacOS</a></li> <li><a class="reference internal" href="#extensions">Extensions</a></li> </ul> </li> @@ -889,7 +899,7 @@ also used for testing.</p> <br /> <br /> - Last updated on Nov 06, 2018. + Last updated on Nov 10, 2018. <a href="https://docs.python.org/3/bugs.html">Found a bug</a>? <br /> diff --git a/Misc/NEWS.d/next/IDLE/2018-11-10-21-27-25.bpo-34864.Ci-G2q.rst b/Misc/NEWS.d/next/IDLE/2018-11-10-21-27-25.bpo-34864.Ci-G2q.rst new file mode 100644 index 0000000..fb0083e --- /dev/null +++ b/Misc/NEWS.d/next/IDLE/2018-11-10-21-27-25.bpo-34864.Ci-G2q.rst @@ -0,0 +1,3 @@ +Document two IDLE on MacOS issues. The System Preferences Dock "prefer tabs +always" setting disables some IDLE features. Menus are a bit different than +as described for Windows and Linux. |