Can't access main menu with mouse in PhpStorm 2023.1

Using PhpStorm 2023.1 Beta 2 (Build 231.8109.51), I can't access the main menu with the mouse. It works fine in version 2022.3.3 (Build 223.8836.42), though. I had the problem in all 2023.1 builds up to now and thought it was a bug, but in the bug tracker there seems to be no entry regarding this, so it might just be something on my system.

Accessing the menu via <Alt>+<E>, for example, does work, but clicking on any of the main menu items doesn't have any effect. As soon as I have opened a submenu via the hotkey, I can use the mouse again to select a submenu item. It's even possible to hover over the main menu items and thereby open the other submenus with the mouse once any of the submenus is opened via the hotkey. As soon as the menu is closed, I'm again unable to open it with the mouse.

I'm using PhpStorm on a Windows 10 Pro system. I'll happily give additional information if needed. Unfortunately I have no idea where to start "debugging" this...

0
16 comments

By chance I just found out that I can open a submenu with a double-click instead of a single click. Did I miss something? 🤔

0

Can't reproduce this on my end, nor can I find anything related on the tracker.

Could you please check how it goes after you disable all custom plugins (Settings | Plugins | Installed | [Gear icon] | Disable All Downloaded Plugins) and restart the IDE?
If the same, could you please reproduce the issue a couple of times (both with a single click and with a double click), and then upload your logs (Help | Collect Logs and Diagnostic Data) here? https://uploads.services.jetbrains.com/

Also, please specify whether you are using the new UI with the hamburger menu or it's the old-style main menu.

1

Thank you very much for your reply!

The Upload ID is 2023_03_21_L4i7PWyjgHm7wd2h2sXLEq.

The problem persists after disabling all plugins and restarting PhpStorm 2023.1 (today I updated to the new Release Candidate, Build 231.8109.108). I'm using the old-style UI.

0

Thank you for the logs! Although, I don't really see anything particularly suspicious in them.

Could you please try the following:

  1. Close PhpStorm
  2. Back up and purge the contents of the %USERPROFILE%\AppData\Roaming\JetBrains\PhpStorm2023.1 folder
    • But don't remove the folder itself!
  3. Start PhpStorm and see if the issue is still reproducible
1

I emptied the named folder after closing PhpStorm, then started the IDE again. No luck...

Being able to open the menu with the mouse - although with an unfamiliar double-click - is a big step in the right direction, but if you have any other ideas (apart from completely uninstalling and reinstalling PhpStorm), don't hold back!  😉

0

I emptied the named folder after closing PhpStorm, then started the IDE again. No luck...

Just to clarify - emptying the folder was supposed to reset your settings. Did it? For instance, did you still see your recent projects list upon launching PhpStorm again?

1

Sorry, I had emptied the folder %USERPROFILE%\AppData\Local\JetBrains\PhpStorm2023.1 ("Local" instead of "Roaming"). 🙄

After deleting the contents of the correct folder, the menu worked as expected again.

I found out that copying back options\recentProjects.xml caused the problem. It also made the PhpStorm window bigger. There are lines like the following:

<frame x="-8" y="-8" width="2576" height="1360" extendedState="6" />

I removed the "extended State" attribute, and it worked. Then I found out that as soon as I maximize the window, which I normally do, I have to use the double-click. When it's not maximized - even if it has the same size and fills the whole monitor -, the normal single click works.

Well, that's a surprise... As I mentioned, I never had this problem before, and I'm using PhpStorm since 2014. Can you reproduce this?

0

Curious! I can't reproduce this, no, even with extendedState="6".
Do you have any other applications that have the menu at the very top? For instance, Firefox has the main menu there. Perhaps the issue is also reproducible for it?

1

Do you have any other applications that have the menu at the very top?

You mean... like... PhpStorm 2022.3? 😉

Neither PhpStorm 2022.3 nor Firefox, Vivaldi, or Sourcetree, which all have the main menu at the very top, show the same symptoms.

0

Oh, sorry, I forgot about what you wrote in the initial post.

Let's try something random - could you please enable the new UI at Settings | Appearance & Behavior | New UI together with Show main menu in a separate toolbar.

Does it change anything?

1

No, unfortunately it's the same in the new UI.

0

I am out of ideas, so I pushed it to the issue tracker: https://youtrack.jetbrains.com/issue/IDEA-316235/Main-Menu-nodes-can-be-only-opened-with-double-click
Maybe the IDEA guys have a better clue about what is going on there.

Please vote for the request to get notified when there's any update.

1

Thank you very much for your assistance and for creating the issue tracker entry, Eugene!

0

This is back in 2025.3 
I cant click any menu sub-menus.. need to use keyboard.

0

Not even with a double-click? This still works for me.

0

Hi Nathan,

What OS are you using? Have you tried disabling plugins and clearing the config directory

0

Please sign in to leave a comment.