Hi, pressing AltGr takes the cursor to the command line, is there any way to change this key? I can't write some characters when the ipython shell is docked. Regards, Daniel Palma Igor
Hi Daniel, I have committed a possible fix for this behavior (it certainly fixes it for Caps Lock, which exhibits the same behavior). It will be available in tomorrow's build. If you want a quicker fix, edit the tool.py file in the chimerax.shell module and below this line:
parent = self.tool_window.ui_area
add this line:
parent.keyPressEvent = lambda *args: None
Please let me know if this change fixes the problem for the AltGr key.
--Eric
Eric Pettersen UCSF Computer Graphics Lab
On Nov 27, 2020, at 9:30 AM, Daniel Esteban Palma Igor daniel.palma.i@ug.uchile.cl wrote:
Hi, pressing AltGr takes the cursor to the command line, is there any way to change this key? I can't write some characters when the ipython shell is docked. Regards, Daniel Palma Igor _______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
Yes it works, previously I added Qt.Key_AltGr to the cmd_line/tool.py, but this easier as a quick fix, Thanks
On Fri, 27 Nov 2020 at 15:20, Eric Pettersen pett@cgl.ucsf.edu wrote:
Hi Daniel, I have committed a possible fix for this behavior (it certainly fixes it for Caps Lock, which exhibits the same behavior). It will be available in tomorrow's build. If you want a quicker fix, edit the tool.py file in the chimerax.shell module and below this line:
parent = self.tool_window.ui_area
add this line:
parent.keyPressEvent = lambda *args: None
Please let me know if this change fixes the problem for the AltGr key.
--Eric
Eric Pettersen UCSF Computer Graphics Lab
On Nov 27, 2020, at 9:30 AM, Daniel Esteban Palma Igor <
daniel.palma.i@ug.uchile.cl> wrote:
Hi, pressing AltGr takes the cursor to the command line, is there any way to
change this key? I can't write some characters when the ipython shell is docked.
Regards, Daniel Palma Igor _______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
Thanks for letting me know. I will be adding a more generic fix in a few days, but the fix I put in tomorrow's build will work fine as a stopgap.
--Eric
On Nov 27, 2020, at 10:41 AM, Daniel Esteban Palma Igor daniel.palma.i@ug.uchile.cl wrote:
Yes it works, previously I added Qt.Key_AltGr to the cmd_line/tool.py, but this easier as a quick fix, Thanks
On Fri, 27 Nov 2020 at 15:20, Eric Pettersen <pett@cgl.ucsf.edu mailto:pett@cgl.ucsf.edu> wrote: Hi Daniel, I have committed a possible fix for this behavior (it certainly fixes it for Caps Lock, which exhibits the same behavior). It will be available in tomorrow's build. If you want a quicker fix, edit the tool.py file in the chimerax.shell module and below this line:
parent = self.tool_window.ui_area
add this line:
parent.keyPressEvent = lambda *args: None
Please let me know if this change fixes the problem for the AltGr key.
--Eric
Eric Pettersen UCSF Computer Graphics Lab
On Nov 27, 2020, at 9:30 AM, Daniel Esteban Palma Igor <daniel.palma.i@ug.uchile.cl mailto:daniel.palma.i@ug.uchile.cl> wrote:
Hi, pressing AltGr takes the cursor to the command line, is there any way to change this key? I can't write some characters when the ipython shell is docked. Regards, Daniel Palma Igor _______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu mailto:ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
I have put in the more generic fix. It will be in tomorrow's build.
--Eric
On Nov 27, 2020, at 11:43 AM, Eric Pettersen pett@cgl.ucsf.edu wrote:
Thanks for letting me know. I will be adding a more generic fix in a few days, but the fix I put in tomorrow's build will work fine as a stopgap.
--Eric
On Nov 27, 2020, at 10:41 AM, Daniel Esteban Palma Igor <daniel.palma.i@ug.uchile.cl mailto:daniel.palma.i@ug.uchile.cl> wrote:
Yes it works, previously I added Qt.Key_AltGr to the cmd_line/tool.py, but this easier as a quick fix, Thanks
On Fri, 27 Nov 2020 at 15:20, Eric Pettersen <pett@cgl.ucsf.edu mailto:pett@cgl.ucsf.edu> wrote: Hi Daniel, I have committed a possible fix for this behavior (it certainly fixes it for Caps Lock, which exhibits the same behavior). It will be available in tomorrow's build. If you want a quicker fix, edit the tool.py file in the chimerax.shell module and below this line:
parent = self.tool_window.ui_area
add this line:
parent.keyPressEvent = lambda *args: None
Please let me know if this change fixes the problem for the AltGr key.
--Eric
Eric Pettersen UCSF Computer Graphics Lab
On Nov 27, 2020, at 9:30 AM, Daniel Esteban Palma Igor <daniel.palma.i@ug.uchile.cl mailto:daniel.palma.i@ug.uchile.cl> wrote:
Hi, pressing AltGr takes the cursor to the command line, is there any way to change this key? I can't write some characters when the ipython shell is docked. Regards, Daniel Palma Igor _______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu mailto:ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu mailto:ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
participants (2)
-
Daniel Esteban Palma Igor
-
Eric Pettersen