Hi,

I am using pycharm and intellij and for me only this little script helped,
the other methods did not. It seems to have disappeared from the wiki but I
have copied it from there once. You can give it a try also.

#!/bin/bash

# Fix X window manager name properties to work around java bugs with
# non-reparenting window managers. This is a different solution from
# the wmname utility provided by suckless, as it is NetWM compatible,
# while wmname sets the value of _NET_SUPPORTING_WM_CHECK to root win.

IRONIC_WM_NAME="Sawfish"
NET_WIN=$(xprop -root _NET_SUPPORTING_WM_CHECK | awk -F "# " '{print $2}')

if [[ "$NET_WIN" == 0x* ]]; then
    # xprop cannot reliably set UTF8_STRING, so we replace as string.
    # fortunately, jdk is OK with this, but wm-spec says use UTF8_STRING.
    xprop -id "$NET_WIN" -remove _NET_WM_NAME
    xprop -id "$NET_WIN" -f _NET_WM_NAME 8s -set _NET_WM_NAME
"$IRONIC_WM_NAME"
else
    # even if we're not net compatible, do java workaround
    xprop -root -remove _NET_WM_NAME
    xprop -root -f _NET_WM_NAME 8s -set _NET_WM_NAME "$IRONIC_WM_NAME"
fi

Br,

Robert

On Tue, Dec 16, 2014 at 10:31 AM, Nikola Petrov <nikol...@gmail.com> wrote:
>
> Sadly this doesn't fix the problem. It did in older versions of java and
> some java applications. Actually you can find more in the wiki page
> http://awesome.naquadah.org/wiki/Problems_with_Java. You can also see
> that the good people from intellij are trying to detect and fix the
> problem
>
> http://grepcode.com/file/repository.grepcode.com/java/ext/com.jetbrains/intellij-idea/13.0.0/com/intellij/openapi/wm/impl/X11UiUtil.java#261
>
>
> I guess we will hae to wait...
>
> --
> Nikola
>
> On Sun, Dec 14, 2014 at 11:16:14PM -0200, Andre Souza wrote:
> > Can be weird but execute this command: '  wmname "LG3D"  ' and restart
> your
> > java application, this solve for me!
> >
> > On 11 December 2014 at 15:34, Nikola Petrov <nikol...@gmail.com> wrote:
> > >
> > > I have the same problem with Intellij, there are many things out in the
> > > internet. It is related to a reparenting bug in java. It is written
> that
> > > it is fixed, but I still see problems with focusing of popups in the
> > > completion especially.
> > >
> > > On Tue, Dec 09, 2014 at 05:59:41PM +0000, Zum Testen wrote:
> > > > Linux: 3.17.4-1-ARCH (Archlinux 64 Bit)Awesome: v3.5.5 (Kansas City
> > > Shuffle)Eclipse: Luna Service Release 1 (4.4.1)
> > > > While writing code with Eclipse, a popup box appears near the caret,
> to
> > > show me a list of possible completions. But after choosing one of the
> > > completions with the MOUSE, the popup box doesn't work any more.: The
> > > popupbox is simply disappearing when the mouse cursor hovers the
> completion
> > > list. I can select completions only with the keyboard.
> > > >
> > > > It doesn't depend on the windows organizing layout: Whether I choose
> the
> > > floating layout or tiling layout or fullscreen layout... nothing helps.
> > > >
> > > > I can use the default rc.lua: same problem.
> > >
> > > --
> > > To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
> > >
> >
> >
> > --
> > Andre Souza
>
> --
> To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
>

Reply via email to