Re: [COOT] Regarding keyboard shortcuts for Scale Down" and "Scale Up" for MacOS Tahoe

2026-06-07 Thread fangjia LUO
Hello

Thank you very much. File-> Exit solves the problem.

I can not believe I have never used that exit route before...

Sincerely

Luo

Paul Emsley  于2026年6月7日周日 21:09写道:

>
> On 07/06/2026 09:37, fangjia LUO wrote:
>
> > --
> >
> > Hello
> > Sorry, I have another question. Is it possible to disable the "COOT:
> > Configuration Mouse" pop-up every time I start the COOT-1?
> >
> If you use the window manager to kill Coot, it will, by design, do a
> fast/emergency shutdown - i.e. not write any state files.
>
> Paul.
>
>
>



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


Re: [COOT] Regarding keyboard shortcuts for Scale Down" and "Scale Up" for MacOS Tahoe

2026-06-07 Thread Paul Emsley

On 07/06/2026 09:37, fangjia LUO wrote:


--

Hello
Sorry, I have another question. Is it possible to disable the "COOT: 
Configuration Mouse" pop-up every time I start the COOT-1?


If you use the window manager to kill Coot, it will, by design, do a 
fast/emergency shutdown - i.e. not write any state files.


Paul.



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


Re: [COOT] Regarding keyboard shortcuts for Scale Down" and "Scale Up" for MacOS Tahoe

2026-06-07 Thread fangjia LUO
Hello

Thank you very much for the quick response in the weekend.

I can bind it to a shortcut in the latest version from HomeBrew (not the
1.1 though).

Sorry, I have another question. Is it possible to disable the "COOT:
Configuration Mouse" pop-up every time I start the COOT-1?

Sincerely

Luo

Paul Emsley <[email protected]> 于2026年6月7日周日
16:49写道:

>
> On 07/06/2026 07:26, fangjia LUO wrote:
>
>
> --
>
> Hello,
>
> I am just starting to use Coot 1.1.20
>
> We are at 1.3.1 now.
>
>  on macOS Tahoe with an external monitor and am hitting the mouse
> alignment/centering bug(?) when moving between the Retina screen and the
> extended display.
>
> If you mean OpenGL widget scaling, then I know what you mean.
>
> The manual fix via *Draw -> View -> Scale Down Graphics* works well, but
> I have to do it constantly.
>
> Is it possible to bind "Scale Down" and "Scale Up" to keyboard shortcuts
> in Coot 1? I tried the 0.9.1's add_key_binding, but it is not working.
>
> See attached. Bound to keys 5 and 6.
>
>
> Paul.
>
>
>
> --
>
> To unsubscribe from the COOT list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1
>



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


Re: [COOT] Regarding keyboard shortcuts for Scale Down" and "Scale Up" for MacOS Tahoe

2026-06-07 Thread Paul Emsley


On 07/06/2026 07:26, fangjia LUO wrote:



--

Hello,

I am just starting to use Coot 1.1.20


We are at 1.3.1 now.


 on macOS Tahoe with an external monitor and am hitting the mouse 
alignment/centering bug(?) when moving between the Retina screen and 
the extended display.



If you mean OpenGL widget scaling, then I know what you mean.


The manual fix via /Draw -> View -> Scale Down Graphics/ works well, 
but I have to do it constantly.


Is it possible to bind "Scale Down" and "Scale Up" to keyboard 
shortcuts in Coot 1? I tried the 0.9.1's add_key_binding, but it is 
not working.



See attached. Bound to keys 5 and 6.


Paul.




To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/

import coot

def scale_up():
coot.scale_up_graphics()

def scale_down():
coot.scale_down_graphics()

coot.add_key_binding_gtk4_py(53, 0, scale_up,   "Scale Up Graphics")
coot.add_key_binding_gtk4_py(54, 0, scale_down, "Scale Down Graphics")