IntelliJ-Key-Promoter-X icon indicating copy to clipboard operation
IntelliJ-Key-Promoter-X copied to clipboard

Mouse wheel click to close tabs registered as "Go to declaration or usages"

Open daspionzor opened this issue 5 years ago • 4 comments

Describe the bug Everytime I close a tab using the mouse wheel click, I get a notification that says I could have used F12 to Go to declaration or usages. I believe this happens because you can also use the wheel mouse click to go to declarations too.

To Reproduce Steps to reproduce the behaviour:

  1. Open a class
  2. Mouse wheel click on the tab

Expected behaviour The mouse wheel click on tabs should not be recognized as a "Go to declartion or usages".

Screenshots image

Please also provide:

  • OS: Windows 10
  • IntelliJ Product : Rider 2020.1.3

daspionzor avatar Jun 15 '20 18:06 daspionzor

OK, this doesn't happen in Rider under Linux, but Aleksey from Jetbrains was so kind to reproduce it. Unfortunately, there is nothing much I can do about it. When you close a tab as you did, IntelliJ fires a GotoDeclaration under Windows 10. It doesn't make sense to me, but I'll have to look into this myself and file a bugreport.

So as of right now, you have to live with this because when IntelliJ tells the Key Promoter that it invoked a "Goto Declaration", and you did it with the mouse, then there is not much I can do except displaying the notification for you :)

halirutan avatar Jun 17 '20 15:06 halirutan

All right, it's all good. It's no big deal since I already silenced that reminder anyway. Thanks!

On Wed, Jun 17, 2020 at 12:15 PM Patrick Scheibe [email protected] wrote:

OK, this doesn't happen in Rider under Linux, but Aleksey from Jetbrains was so kind to reproduce it. Unfortunately, there is nothing much I can do about it. When you close a tab as you did, IntelliJ fires a GotoDeclaration under Windows 10. It doesn't make sense to me, but I'll have to look into this myself and file a bugreport.

So as of right now, you have to live with this because when IntelliJ tells the Key Promoter that it invoked a "Goto Declaration", and you did it with the mouse, then there is not much I can do except displaying the notification for you :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/halirutan/IntelliJ-Key-Promoter-X/issues/59#issuecomment-645444877, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYGMENEKIRMGA4HG4RD25LRXDTYLANCNFSM4N6NVVXA .

-- Jean-François Deschênes

daspionzor avatar Jun 17 '20 17:06 daspionzor

It seems we were right that this is a bug in Rider:

https://youtrack.jetbrains.com/issue/RIDER-46328

halirutan avatar Jun 18 '20 14:06 halirutan

Everyone who is annoyed by this issue, please head over to YouTrack and give this bug report an upvote :)

https://youtrack.jetbrains.com/issue/RIDER-46328

halirutan avatar Feb 14 '22 16:02 halirutan