edb-debugger icon indicating copy to clipboard operation
edb-debugger copied to clipboard

Several Plugin Windows cannot be switched between using keyboard shortcuts

Open AaronOpfer opened this issue 7 years ago • 3 comments

No idea if this is DE-specific, but I found this on GNOME3.

If the user cannot use the mouse (such as the paused debuggee has captured it), and the main edb window has focus, it becomes impossible to restore focus to a plugin's window using only the keyboard. The plugin window doesn't appear as an option on the alt tab menu like windows usually do. I reproduced this with the breakpoint manager and the binary info plugins.

Steps to repro:

  1. Open a plugin window, such as the breakpoints manager (Control+B)
  2. Using alt tab, switch focus away from edb, and then back again.
  3. Observe that the main edb window has focus. Observe the breakpoint window, which is probably in the way of the main edb window and what you're trying to look at, cannot be alt-tabbed to in any way using the keyboard, and cannot be closed.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

AaronOpfer avatar Sep 28 '18 21:09 AaronOpfer

Hmm, that's a weird one. I'll look into it.

eteran avatar Sep 28 '18 21:09 eteran

Cool. It would also be nice if there was a feature of edb to force the mouse to be ungrabbed on a breakpoint hit in case the debuggee captured it.

AaronOpfer avatar Sep 28 '18 22:09 AaronOpfer

It would also be nice if there was a feature of edb to force the mouse to be ungrabbed on a breakpoint hit in case the debuggee captured it.

I'm afraid it's not possible without breaking debuggee's connection to the X server. Ah, although EDB might be able to simply call XUngrabPointer on behalf of the debuggee, but that's not really simple, and may considerably change debuggee's state.

10110111 avatar Sep 28 '18 22:09 10110111