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.
This commit is contained in:
Terry Jan Reedy 2018-11-10 23:26:31 -05:00 committed by GitHub
parent b9498e2367
commit 50ff02b431
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 13 deletions

View file

@ -40,13 +40,17 @@ Menus
----- -----
IDLE has two main window types, the Shell window and the Editor window. It is 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 possible to have multiple editor windows simultaneously. On Windows and
as used for Edit / Find in Files, are a subtype of edit window. They currently Linux, each has its own top menu. Each menu documented below indicates
have the same top menu as Editor windows but a different default title and which window type it is associated with.
context menu.
IDLE's menus dynamically change based on which window is currently selected. Output windows, such as used for Edit => Find in Files, are a subtype of editor
Each menu documented below indicates which window type it is associated with. 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) 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 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. 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 Extensions
^^^^^^^^^^ ^^^^^^^^^^

View file

@ -122,12 +122,15 @@ of global and local namespaces</li>
<div class="section" id="menus"> <div class="section" id="menus">
<h2>Menus<a class="headerlink" href="#menus" title="Permalink to this headline"></a></h2> <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 <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 possible to have multiple editor windows simultaneously. On Windows and
as used for Edit / Find in Files, are a subtype of edit window. They currently Linux, each has its own top menu. Each menu documented below indicates
have the same top menu as Editor windows but a different default title and which window type it is associated with.</p>
context menu.</p> <p>Output windows, such as used for Edit =&gt; Find in Files, are a subtype of editor
<p>IDLEs menus dynamically change based on which window is currently selected. window. They currently have the same top menu but a different
Each menu documented below indicates which window type it is associated with.</p> 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"> <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> <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"> <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 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> custom key set in the Configure IDLE dialog under the keys tab.</p>
</div> </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"> <div class="section" id="extensions">
<h3>Extensions<a class="headerlink" href="#extensions" title="Permalink to this headline"></a></h3> <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 <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-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="#help-sources">Help sources</a></li>
<li><a class="reference internal" href="#setting-preferences">Setting preferences</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> <li><a class="reference internal" href="#extensions">Extensions</a></li>
</ul> </ul>
</li> </li>
@ -889,7 +899,7 @@ also used for testing.</p>
<br /> <br />
<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>? <a href="https://docs.python.org/3/bugs.html">Found a bug</a>?
<br /> <br />

View file

@ -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.