The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Issue with "In Window" shortcuts in eclipse

asked Jul 15 '14

anonymous user

Anonymous

updated Jul 15 '14

Hi,

I have a fairly serious issue when using eclipse within i3 that I haven't been able to find a solution to. Basically "In Window" shortcuts (eg Ctrl+F, Ctrl+Shift+R) will only usually work once. If I then change the focus to another dock window within eclipse, then back again, the shortcut key will work again.

So: Click in editor window
Ctrl+F (works)
Close find window
Ctrl+F (doesn't work)
<...until...>
Click in Outline window (or some other dock window within eclipse)
Click in editor window
Ctrl+F (works!)
Close find window
Ctrl+F (doesn't work)

I wanted to ask here before reporting a bug, in case there was a known solution.

P.S. I don't have anything bound to the control key, I've tried this with $mod set to both the windows and the alt key.

Thanks for reading!

Comments

Works for me on eclipse 4.4.0. It might be a bug with an older version.

TonyC gravatar imageTonyC (Jul 15 '14)edit

I'm running eclipse v4.4.0 and Ubuntu 12.04. (My bad - I shouldn't put that info in the question). What version/dist of linux are you running?

badeclipse gravatar imagebadeclipse (Jul 16 '14)edit

I use Arch. Ubuntu 12.04 is very old. Make sure you are using the latest version of i3.

TonyC gravatar imageTonyC (Jul 16 '14)edit

I use Arch and I also have this issue. `focus_follows_mouse` is already set to no.

xuhdev gravatar imagexuhdev (Nov 1 '14)edit

1 answer

Sort by » oldest newest most voted
0

answered Oct 8 '14

Hugo gravatar image

updated Oct 8 '14

badeclipse, that's happening because eclipse have different shortcuts for focused components, and the focus follows your mouse pointer.

TonyC, you can reproduce the error moving your mouse to the eclipse window title, for exemple. If you let the mouse there, "edit shortcut actions" will fail as described by badeclipse. After that, you will need to click on another component and then click on editor again.

This is not a i3wm issue, it's an eclipse bug. This will happen in every wm that focus follows the mouse. If you want to change the focus behavior of i3wm add the following line in your i3 config file:

focus_follows_mouse no

Question Tools

Stats

Asked: Jul 15 '14

Seen: 594 times

Last updated: Oct 08 '14