Sway: Missing blinking cursor in Intellij Idea after moving focus back

Created on 20 May 2018  路  6Comments  路  Source: swaywm/sway

After the main Idea's window is refocused, the blinking cursor in the edit area disappears. A row where the cursor should be is highlighted, control keys works but text editing is broken. To restore editing I should click anywhere in the edit area.

The problem is also present in weston.

Most helpful comment

Using i3wm, I had a similar problem and google lead me here. Switching to another window and coming back to IntelliJ / Pycharm / WebStorm results in a lost blinking cursor. I had to click with my mouse on the IDE to get it back.
Solution that needs to be applied in all the tools: Help > Edit Custom Properties... > add this line: "suppress.focus.stealing=false" > Save & restart the IDE.

All 6 comments

Which sway version are you using?

0.15.2

This also happens in current master branch.

Could this be related to https://github.com/swaywm/wlroots/issues/678?

Probably not. swaywm/wlroots#678 is rootston-specific.

Here's a small java application to reproduce the issue https://gist.github.com/apreiml/df8272f44975fca592453865fd9f62d0

It also fails with rootston when alt tabbing between windows. It works fine with i3 though.

Using i3wm, I had a similar problem and google lead me here. Switching to another window and coming back to IntelliJ / Pycharm / WebStorm results in a lost blinking cursor. I had to click with my mouse on the IDE to get it back.
Solution that needs to be applied in all the tools: Help > Edit Custom Properties... > add this line: "suppress.focus.stealing=false" > Save & restart the IDE.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dnkl picture dnkl  路  4Comments

aidanharris picture aidanharris  路  3Comments

mcmfb picture mcmfb  路  3Comments

Alphare picture Alphare  路  3Comments

ddevault picture ddevault  路  3Comments