Skip to content
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

ctrl+tab does not work #10834

Open
uditrugman opened this issue Sep 2, 2023 · 5 comments
Open

ctrl+tab does not work #10834

uditrugman opened this issue Sep 2, 2023 · 5 comments

Comments

@uditrugman
Copy link

Environment

  • IntelliJ Rust plugin version: 0.4.200.5421-232
  • Rust toolchain version: 1.71.0
  • IDE name and version: 2023.2.1
  • Operating system: macos

Problem description

Ctrl+Tab switcher does not work whenever I open a rust project.
To verify that it's the rust plugin, I disabled the plugin and restarted intellij, and ctrl+tab started to work.
Then, I re-enabled the plugin, restarted intellij, and it stopped working.
I've reviewed all the keys assigned / involve the Tab key. all of them are the built-in keys. nothing is customized/modified.
In some cases, Ctrl+Tab will work once when I open a project, then it will not respond anymore.

Steps to reproduce

  1. open a rust project with intellij.
  2. ensure multiple files are opened
  3. use CTRL+TAB multiple times because it might work for the first time.
@Maksim20023
Copy link
Collaborator

Hi! Thank you for the report.
Unfortunately, based on the description, I can't reproduce the issue. In my case, the switcher works as expected, regardless of the number of invocation attempts. I found that the only way to reproduce is to assign ctrl+tab to some action in OS. But the switcher isn't invoked at all, and I suppose this is not your case. Also, do you notice if this problem is always observed or only in a specific project?
However, please try to perform general troubleshooting steps:

If nothing helps, please reproduce the issue multiple times, and after that, collect and send logs( Help | Collect Logs and Diagnostic Data).

@uditrugman
Copy link
Author

Hi,

I don’t have any global OS keyboard settings.

I checked several times and in multiple projects.

I even tested a project with rust and once i disabled the rust-plugin, and restarted IntelliJ, tab switching started to work.

Than, re-enabled the rust-plugin, restarted the IDE, and then tab switching stopped working.

I’m working on Mac. and nothing is special about my environment.

1. Just an M1 Max Pro Mac. 

2. all O/S updates

3. no specific keyboard customization

Attached are logs + diagnostics collected from IntelliJ
Thanks

idea-logs-20230907-18165611707422971681962844.zip

@Maksim20023
Copy link
Collaborator

Hi. Thank you for providing logs. Unfortunately, there are no errors connected to the issue you are having. After discussing with the team, we may assume that such behavior can be observed when the option Support screen readers is turned on.
Go to Settings | Appearance and Behavior | Appearance and turn off the Support screen readers option if enabled.
If it doesn't help or this option was turned off, please make a screencast demonstrating the issue. It can be helpful for investigation.
Also, we will be very grateful if you can collect logs with additional debug information.
To do so:

  • Go to Help | Diagnostic tools | Debug log setting
  • Insert #com.intellij.openapi.actionSystem.impl.ActionUpdater line there
  • Reproduce the issue
  • Remove line back from the same menu item
  • Capture and send fresh logs

We appreciate your patience and cooperation.

@uditrugman
Copy link
Author

Hi Maksim,
Thanks for allocating the time and looking into this issue.

I don't have the "screen readers" feature turned on.

I was able to create another project where the tab switcher works as expected.

very strange. I can't find anything special about the other project that does not work.

I'd suggest that you ignore this issue for now and if I have more information, I'll re-open.

Thanks and sorry for wasting your time.

@Maksim20023
Copy link
Collaborator

Hi @uditrugman
Thank you for information.

I was able to create another project where the tab switcher works as expected.

This is interesting. Based on this, I can assume the problem is in the project-specific settings. Please try removing the .idea folder from the project where issue with the switcher still exists. Note that .idea might contain project-specific settings.
To do so:

  • Close the IntelliJ IDEA
  • Navigate to the project directory
  • Make a backup and remove the .idea directory
  • Open the project in the IntelliJ IDEA and check if the switcher is working

If the problem was resolved, please send me backup the .idea folder for further investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants