Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several Plugin Windows cannot be switched between using keyboard shortcuts #677

Open
AaronOpfer opened this Issue Sep 28, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@AaronOpfer
Copy link
Contributor

AaronOpfer commented Sep 28, 2018

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.
@eteran

This comment has been minimized.

Copy link
Owner

eteran commented Sep 28, 2018

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

@AaronOpfer

This comment has been minimized.

Copy link
Contributor Author

AaronOpfer commented Sep 28, 2018

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.

@10110111

This comment has been minimized.

Copy link
Contributor

10110111 commented Sep 28, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.