[issue43236] Windows IDLE taskbar icon jump list fails to open recent files

2021-02-16 Thread Ned Deily


Ned Deily  added the comment:

> Ned, do you have any comments, pro or con, about doing so.

I don't think there is a conflict here and I don't really have an opinion as I 
don't use Windows regularly. From a bit of web research, it looks like the 
closest thing to Windows jump lists on macOS are control-clicking on an app 
icon (like IDLE.app) in the dock which then may show some recent files used 
with the app. As you note, IDLE's recent file list is also available, a good 
cross-platform choice.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43236] Windows IDLE taskbar icon jump list fails to open recent files

2021-02-16 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Eryk, thank you for the research.   Our macOS installer already adds an 
'idlex.y' executable.  Ned, do you have any comments, pro or con, about doing 
so.

(I worry a bit about reinforcing the beginner delusion that IDLE is Python or 
that IDLE executes Python code.  But this appears to already be as common for 
Windows beginners as for Mac beginners.)

--
nosy: +ned.deily

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43236] Windows IDLE taskbar icon jump list fails to open recent files

2021-02-16 Thread Eryk Sun


Eryk Sun  added the comment:

The IDLE shortcut that's installed by the development distribution runs 
`"\pythonw.exe" "\Lib\idlelib\idle.pyw"`. 
Thus opening a file that's pinned to the jumplist will execute it as a script 
via "pythonw.exe". 

To integrate better with the Windows shell, IDLE would need its own executable. 
Moreover, AFAICT, it isn't enough to use a launcher that executes 
"pythonw.exe", such as a distlib launcher installed by pip for an entrypoint 
script. Using a launcher disassociates the executable that the shell runs to 
open a file from the application that creates the UI. It needs to be a simple C 
application that hard codes executing the idlelib module, similar in spirit to 
what's implemented in PC/python_uwp.cpp for the store app. I created a test app 
that implements this, and I can confirm that pinned and recent files in the 
jumplist open as desired in IDLE.

The development distribution would install the new binary (e.g. "idle3.10.exe") 
in the installation directory beside the DLL. That's the simplest way to link 
with the interpreter DLL and find the standard library. The IDLE shortcut 
target and "Edit with IDLE" command would be updated to use the new executable 
instead of "pythonw.exe".

--
nosy: +eryksun

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43236] Windows IDLE taskbar icon jump list fails to open recent files

2021-02-15 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I will just note that the IDLE File menu has a Recent Files list, which is the 
same thing.  (Notepad++ does also, in addition to a working icon jump list.)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43236] Windows IDLE taskbar icon jump list fails to open recent files

2021-02-15 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

This is a Windows installer code issue rather than an IDLE code issue.  On 
Win10, I do not see jump lists for IDLE icons but do for several others.  
Perhaps the installer was changed to disable the non-functional lists.  I will 
let the installer people comment further.

--
assignee: terry.reedy -> 
components: +Installation, Windows -IDLE
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
title: Windows Taskbar Jump List fails to open Recent files -> Windows IDLE 
taskbar icon jump list fails to open recent files

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com