Formation icon indicating copy to clipboard operation
Formation copied to clipboard

Shortcut keys not working properly

Open dresis opened this issue 2 years ago • 8 comments

I downloaded Formation Studio in an environment I created with Anaconda. When I open it, it seems as if Formation Studio always seems to be thinking the 'Alt' key is being pressed, so I run into two issues:

  • Some regular shortcut keys (copying, running preview, saving the file, etc) do not work because it believes Alt key is being pressed
  • When I press a regular key (say the letter 'u' as I am typing regular text), the shortcut key 'Alt+U' (undocking all windows) gets executed. Similarly, other shortcuts get executed the same way (quitting preview when only pressing F5, entering settings when only pressing 's' etc)

I was able to replicate this in 3.8 and 3.11. Also this is something I have seen in 2 machines of mine already, thinking maybe one of them had a broken keyboard lol

dresis avatar Nov 25 '23 07:11 dresis

Thank you for using Formation Studio. Which OS are you using?

ObaraEmmanuel avatar Nov 25 '23 08:11 ObaraEmmanuel

From the two machines I used, one had Windows 10, the other Windows 11

dresis avatar Nov 25 '23 14:11 dresis

@andeyv I will have to look deeper into the issue. I started developing a possible fix today but in the mean time you can either:

  • Go to File > settings > Key Map and right click on any item having a "Alt - *" binding and change shortcut or remove shortcut if you do not need it
  • If you don't really rely on the shortcuts you can disable shortcuts entirely right there on File > settings > Key Map

ObaraEmmanuel avatar Nov 25 '23 16:11 ObaraEmmanuel

i am also having this issue, specifically with the alt key

Razieleron avatar Dec 30 '23 06:12 Razieleron

@dresis @Razieleron Could you try installing the 0.6.x-fix branch to see if the issue is resolved? I want to be sure the issue is resolved before publishing the new release. You can use the commands below.

pip uninstall formation-studio
pip install git+git://github.com/ObaraEmmanuel/[email protected]#egg=formation-studio

ObaraEmmanuel avatar Jan 05 '24 18:01 ObaraEmmanuel

I have published the release so updating to the latest version should hopefully resolve the issue.

ObaraEmmanuel avatar Jan 11 '24 23:01 ObaraEmmanuel

Thank you! Sorry for not being able to check

On Thu, Jan 11, 2024, 3:54 PM Emmanuel Obara @.***> wrote:

I have published the release so updating to the latest version should hopefully resolve the issue.

— Reply to this email directly, view it on GitHub https://github.com/ObaraEmmanuel/Formation/issues/26#issuecomment-1888153428, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVXBOOOMKBZMICSQBW4NAYLYOB3RVAVCNFSM6AAAAAA7Z5EWV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBYGE2TGNBSHA . You are receiving this because you were mentioned.Message ID: @.***>

Razieleron avatar Jan 11 '24 23:01 Razieleron

@Razieleron no worries. Let me know if the issue is not resolved.

ObaraEmmanuel avatar Jan 12 '24 08:01 ObaraEmmanuel