Bug 574486

Summary: Next editor window loosing focus after a breakpoint hit
Product: [Eclipse Project] Platform Reporter: Jack Beaudet <jebeaudet>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: af_0_af
Version: 4.20   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Gif of the behavior none

Description Jack Beaudet CLA 2021-06-27 20:56:01 EDT
Created attachment 286692 [details]
Gif of the behavior

I hit a weird bug today when updating my eclipse. If you use the "Next editor" window to cycle through windows, if you have a running application, only after a breakpoint hits, the next editor window seems to loose focus without changing the editor and you have to manually click on it to make it disappear. This fixes itself when you shut down the application.

Steps to reproduce : 
1. Open some source files
2. ctrl+f6 (next editor default shortcut) works fine and you can press f6 multiple times to go back a couple of editor
3. start an application (I used a maven project fwiw)
4. put a breakpoint
5. do something so that breakpoint triggers
6. next editor is now broken, it works if you just type ctrl+f6 once but if you click on f6 more than once, it will reopen another next editor window. So, you can't go back more than one editor and you get leftover windows hanging around that you have to click on to make them disappear.
7. If you stop the application, next editor will fix itself

It's kind of hard to describe so I've attached a gif to show you the behavior and here's a link in case it doesn't work https://imgur.com/a/Li20kOt

This bug is present since at least 2020-12, I didn't check further back.

Thanks!
Comment 1 Andrew Ferrazzutti CLA 2022-12-18 16:15:20 EST
Thank you for reporting this issue & finding what triggers it!  It's been driving me up a wall.

If it makes a difference, this occurs regardless of what key shortcut the "Next editor" command has been assigned to.