CTRL+SHIFT+N autofocus rarely works

Answered

This used to be quite rare, but with recent versions of EAP it's getting more and more frequent, and more annoying.

Problem

  • Hitting CTRL+SHIFT+N
  • Text in search box is highlighted
  • Starting to type
  • Nothing seems to happen
  • Except when closing search box it seems I have just typed in one of my files.

I can't figure out exactly the situations it happens into, seems a bit random.

Anyone else who experienced this?

Fedora 24, Gnome 3.20.1

11 comments
Comment actions Permalink

Hi,

Could you restart the IDE, reproduce the issue and then check the bottom of the Help > Show Log in ... > idea.log for any errors, please?

0
Comment actions Permalink

Tried this several times, there aren't any errors in idea.log. I'll try to see if disabling plugins has any effect on it.

Anything else I might try to narrow down the issue?

0
Comment actions Permalink

Are you using JetBrains JDK (supplied by default) or switched your PhpStorm instance to something else?

0
Comment actions Permalink

Haven't changed anything with JDK

So far I can reproduce this only when I have previously opened a file this way. On the other hand, when PhpStorm has just been opened, the field is always focused as expected.

---

PhpStorm 2017.2 EAP
Build #PS-172.3198.4, built on June 27, 2017
PhpStorm EAP User
Expiration date: July 27, 2017
JRE: 1.8.0_152-release-915-b4 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.9.10-100.fc24.x86_64

0
Comment actions Permalink

This seems to be a known issue: https://youtrack.jetbrains.com/issue/IDEA-112015. Please vote/follow it to receive updates on it's progress

0
Comment actions Permalink

I gave up, removed all plugins and removed config directory. Also updated PhpStorm to 2017.2 Public Preview.

I thought the issue was gone, but after config was recreated, there's now something wrong with this search popup when there are items in search history. Once there are recently searched file names in that list, it's almost impossible to invoke that dialog again (see video). 

https://webmshare.com/dQe3x 

EDIT: I tried the workaround mentioned here https://youtrack.jetbrains.com/issue/IDEA-112015#comment=27-1558519 with no luck.

0
Comment actions Permalink

Hi,

What is your Linux distro and UI manager (Gnome, Unity, something else)?

0
Comment actions Permalink

Hey, I'm on Fedora 24, Gnome v3.20.1

As a temporary workaround I'm invoking CTRL+N, which clears recent search, and then hit CTRL+SHIFT+N again, which then opens without problems (although it sometimes doesn't focus like before).

0
Comment actions Permalink

Unfortunately, there's no other workarounds at the moment. Sorry.

0
Comment actions Permalink

Updated to

PhpStorm 2017.2.1 EAP
Build #PS-172.3968.23

The problem seems to be gone now :)

0
Comment actions Permalink

Thanks!

Fix is also included in the most recent 2017.2.2 release.

0

Please sign in to leave a comment.