-
-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ATM breaks certain rename functionality in PyCharm 2020.3 #716
Comments
Heya 😄 I've downgraded to PyCharm 2020.2.x for the time being because I need both Alt+Tab and working renames. The version that did exhibit this is |
If downgrading fixes it for you then it seems to be an issue from JetBrain's side. They currently have, in the EAP, this strangeness that if AltTab subscribes to a specific Accessibility Event, it breaks their behavior: alt-tab-macos/src/logic/Application.swift Line 29 in 5f9caed
It should be possible that an app break another app by observing its event. The only thing I could imagine is that they rely on their own accessibility events internally, and AltTab listening to it somehow affects it. It could also be a macOS bug that only surfaces because the IDE is Java + large codebase and brings out exotic scenarios. |
I think the above regex is failing because the current version of JetBrains products are not in the early access program anymore, therefore they don't have EAP inside their name and bundle identifier. |
@lwouis Yeah, indeed 2020.3 is no longer EAP – what functionality is degraded if we don't subscribe to that event at all for any Jetbrains app? |
I didn't understand what you guys were talking about until I went into the Jetbrain Toolbox app, and observed that indeed they have stopped the EAP program on almost all their apps. Some still have it, but most don't. I wasn't aware they stopped doing EAP. Fun side-note: my AppCode license I've used for the past year to develop AltTab has expired this month. I asked them for a new one, through their OSS program. I hope they don't shut that one down ;p @akx here is the ticket that this regex fixed: #652. Notice how similar the issue is.
The exception prevents us from shaking standard tabs. Jetbrains products don't use AppKit standard tabs, so I think it would be easy to change the regex to match |
Not just EAPs; those EAPs have been promoted into standard apps. Should fix lwouis#716
Not just EAPs; those EAPs have been promoted into standard apps. Should fix #716
# [6.13.0](v6.12.0...v6.13.0) (2021-01-25) ### Bug Fixes * app would sometimes quit while in the background (closes [#704](#704)) ([d621ce5](d621ce5)) * disable standard tab detection for all JetBrains apps ([25343ea](25343ea)), closes [#716](#716) * prevent macos 11 from terminating alt-tab randomly ([2447140](2447140)) * restarting the app would sometimes fail to start again ([56d47fc](56d47fc)) * show window controls, even when mouse hover option is disabled ([c256933](c256933)) ### Features * add app category meta-data ([96572a8](96572a8)) * add swedish and czech localizations ([00e95d6](00e95d6)) * add ukrainian localization ([e576ca1](e576ca1)) * display windows partially on screen correctly (closes [#727](#727)) ([2f92936](2f92936)) * show window partially on-screen (closes [#727](#727)) ([b121162](b121162)) * update japanese, turkish, chinese localizations ([7226c25](7226c25))
Describe the bug
This is a weird one...
When ATM is enabled, using the
Ctrl+T, Enter
shortcut in the PyCharm 2020.3 IDE to rename an identifier doesn't work correctly anymore. Where you should be able to edit text using multiple carets, only arrows and delete/backspace work anymore, so you can't quite rename identifiers (unless you like very short identifiers). Only clicking in the editor restores normal functionality.I initially thought this was a JetBrains problem/regression and raised an issue on their tracker: https://youtrack.jetbrains.com/issue/PY-45867
Screenshots / video
I overlaid my keypresses on top of the gif to make things hopefully a little clearer.
Broken (when ATM is active)
Working (ATM not active)
This was tried a couple hours later, hence the code isn't the same.
Steps to reproduce the bug
Workarounds
The text was updated successfully, but these errors were encountered: