classification
Title: IDLE 2.6.5 Recent Files undocks
Type: Stage:
Components: IDLE Versions: Python 2.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ezio.melotti, mcgrete, serwy, terry.reedy
Priority: normal Keywords: patch

Created on 2012-01-26 23:41 by mcgrete, last changed 2012-01-28 21:54 by serwy.

Files
File name Uploaded Description Edit
IDLE2.6.5_RecentFilesUndocked.png mcgrete, 2012-01-26 23:41 screen capture
issue13884.patch serwy, 2012-01-28 21:54 review
Messages (4)
msg152050 - (view) Author: Tim McGreevy (mcgrete) Date: 2012-01-26 23:41
When selecting from menu:
File --> Recent Files
the 'Recent Files' dropdown list undocks from the IDLE gui / File dropdown list.  Even after selecting a past file, it remains open until closed manually.

Ubuntu LUCID
amd64
IDLE 2.6.5
TK version 8.5
All installed using Ubuntu supported PPA (Synaptic)

After closing 'Recent Files' subwindow, problem no longer persists until IDLE is terminated and restarted.
msg152054 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2012-01-26 23:58
Could you try with IDLE 2.7/3.2?
msg152067 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2012-01-27 06:45
IDLE has tear-off menus. From Help/IDLE Help:
"Click on the dotted line at the top of a menu to "tear it off":
a separate window containing the menu is created."
This is a feature, not a bug.

On 3.2.2, Win7, the Recent Files sub-menu cannot be torn off unless and until the File menu is torn off.
msg152192 - (view) Author: Roger Serwy (serwy) * Date: 2012-01-28 21:54
Should tear-off menus still be a feature?  This relates to the #13504 meta-issue, in particular entry "4) ANNOYANCE: Get rid of the detachable menus feature.."

Attached is patch against 3.3a0 to disable tear-off menus. (It also makes modifications to Mac-specific code, but I can't test it since I don't have a Mac.)
History
Date User Action Args
2012-01-28 21:54:03serwysetfiles: + issue13884.patch

nosy: + serwy
messages: + msg152192

keywords: + patch
2012-01-27 06:45:39terry.reedysetmessages: + msg152067
2012-01-26 23:58:20ezio.melottisetnosy: + ezio.melotti, terry.reedy
messages: + msg152054
2012-01-26 23:41:03mcgretecreate