[chimerax-users] Change AltGr

Eric Pettersen pett at cgl.ucsf.edu
Wed Dec 9 12:07:06 PST 2020


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 at 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 at ug.uchile.cl <mailto:daniel.palma.i at 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 at cgl.ucsf.edu <mailto:pett at 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 at ug.uchile.cl <mailto:daniel.palma.i at 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 at cgl.ucsf.edu <mailto:ChimeraX-users at 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 at cgl.ucsf.edu <mailto:ChimeraX-users at cgl.ucsf.edu>
>> Manage subscription:
>> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
> 
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20201209/960d6270/attachment.html>


More information about the ChimeraX-users mailing list