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 2014-07-15 15:33:13 +0000

anonymous user

Anonymous

updated 2014-07-15 15:34:53 +0000

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!

edit retag flag offensive close merge delete

Comments

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

TonyC gravatar imageTonyC ( 2014-07-15 21:15:19 +0000 )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 ( 2014-07-16 09:05:39 +0000 )edit

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

TonyC gravatar imageTonyC ( 2014-07-16 20:25:29 +0000 )edit

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

xuhdev gravatar imagexuhdev ( 2014-11-01 10:14:49 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-08 13:51:42 +0000

Hugo gravatar image

updated 2014-10-08 13:55:25 +0000

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
edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-07-15 15:33:13 +0000

Seen: 594 times

Last updated: Oct 08 '14