Well, I've just replicated the unexpected (to me) behaviour on a different 
machine. Both are Linux machines, this one is:

"""

Leo Log Window
Leo 6.8.5-devel, main branch, build d5f0d03178
2025-05-16 08:51:35 -0500
Python 3.9.5, PyQt version 6.7.3
linux
"""

I've attached the minimal ~/.leo/myLeoSettings.leo I am using.

Steps to reproduce:
- invoke Leo
- observe that Ctrl-Alt-1 and Ctrl-Alt-2 print something in the log window, 
as expected, and via the @shortcuts to @command test_cmd1 and @command 
test_cmd2
- create a new Leo outline via File | New
- observe that these keystrokes do not print anything in the log window 
when in this outline
- observe that Alt-X and then test_cmd1 *does* print into the log window 
from this new outline

    J^n

On Wednesday, June 25, 2025 at 4:21:07 PM UTC+1 Edward K. Ream wrote:

> On Wed, Jun 25, 2025 at 7:57 AM jkn <[email protected]> wrote:
>
>> PS: I'm on a different machine without Leo ATM, but I think I am right in 
>> saying that in case (2),
>> and in the new outline, I can use the minibuffer to execute 'test_cmd1' 
>> and 'test_cmd2', even though the shortcuts don't appear to be in effect.
>>
>
> Everything works as expected on my machine.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/e02de442-0158-4c79-a352-f3e808f6edcdn%40googlegroups.com.
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by Leo: https://leo-editor.github.io/leo-editor/leo_toc.html -->
<leo_file xmlns:leo="https://leo-editor.github.io/leo-editor/namespaces/leo-python-editor/1.1"; >
<leo_header file_format="2"/>
<globals/>
<preferences/>
<find_panel_settings/>
<vnodes>
<v t="jkn.20250625163116.2"><vh>@settings</vh>
<v t="jkn.20250625163203.1"><vh>@commands</vh>
<v t="jkn.20250625163211.1"><vh>@command test_cmd1</vh></v>
<v t="jkn.20250625163233.1"><vh>@command test_cmd2</vh></v>
</v>
<v t="jkn.20250625163325.1"><vh>@keys</vh>
<v t="jkn.20250625163339.1"><vh>@shortcuts</vh></v>
</v>
</v>
</vnodes>
<tnodes>
<t tx="jkn.20250625163116.2"></t>
<t tx="jkn.20250625163203.1"></t>
<t tx="jkn.20250625163211.1">g.es("test_cmd1")</t>
<t tx="jkn.20250625163233.1">g.es("test_cmd2")</t>
<t tx="jkn.20250625163325.1"></t>
<t tx="jkn.20250625163339.1">test_cmd1 = Ctrl+Alt+1
test_cmd2 = Ctrl+Alt+2

</t>
</tnodes>
</leo_file>

Reply via email to