I3: Lost editor focus in IntelliJ

Created on 24 Jan 2019  Â·  3Comments  Â·  Source: i3/i3

Hi and thanks a lot for i3!

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior


After editing code in IntelliJ, I switch to another window. Then I return to the window with IntelliJ. I see that there's no cursor in IntelliJ's text editor and I'm not able to write anything until I use the mouse to click inside the editor.

Another workaround is to to press Shift+Ctrl+a which brings up IntelliJ's action popup, then press escape to get focus on the editor again.

Expected Behavior


Back in the window containing IntelliJ, I'd like to be able to resume editing code immediately without using the mouse.

Reproduction Instructions

  • Open a project in IntelliJ 2018.2 CE
  • Enter code in its editor
  • Change to another window
  • Change back to the IntelliJ window
  • Observe that you're not able to edit anymore

Environment


Output of i3 --moreversion 2>&-:

i3 version:
Binary i3 version:  4.16 (2018-11-04) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16 (2018-11-04) (pid 701)to abort…)
Loaded i3 config: /home/mb/.config/i3/config (Last modified: Fri 04 Jan 2019 07:39:04 PM CET, 1732569 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3
set $term termite
focus_follows_mouse no
mouse_warping none

- Linux Distribution & Version: Arch Linux 4.20.2

I'm not sure whether this is a bug in IntelliJ or i3, to be honest.

4.16 bug missing-log

Most helpful comment

The pinned comment here says you need to add suppress.focus.stealing=false to your idea.properties file. The file is accessible via Help -> Edit Custom Properties....

All 3 comments

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

The pinned comment here says you need to add suppress.focus.stealing=false to your idea.properties file. The file is accessible via Help -> Edit Custom Properties....

~I'm still encountering this issue even with suppress.focus.stealing=false in ~/.config/JetBrains/IntelliJIdea2020.2/idea.properties~
I reloaded i3, and suddenly it works :shrug:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

foxxx0 picture foxxx0  Â·  5Comments

nmiculinic picture nmiculinic  Â·  4Comments

acrisci picture acrisci  Â·  4Comments

jchook picture jchook  Â·  5Comments

xor512 picture xor512  Â·  3Comments