Hey Mickaël,

Thanks for the information. I actually already have `wmname LG3D` in my
.xinitrc as suggested but thought i'd give compiz a go and it made a small
difference with the OpenJDK Java but stopped my workaround from working. I
then changed back to Oracle Java 7 and I although I still have to go
through my float/unfloat/click routine as before, I can say that it is
working!!

Just to be rigorous I changed it back to LG3D and Oracle Java stopped
working again - it seems that compiz is a better choice to impersonate :)

I don't know if this is useful information for anyone else but I am quite
happy.

Thanks,
Adam



On Sat, May 10, 2014 at 9:48 PM, Mickaël 'lastmikoi' Falck <
[email protected]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there,
>
> I ran across this problem as well, the problem comes from Java which
> keeps a list of hardcoded Window Managers, who knows why. It also
> makes impossible to use menus (the mouse click being ignored)
>
> To fix this problem you need to fool java about your true WM
>
> $> wmname compiz
>
> The wmname tool is available at http://tools.suckless.org/wmname
>
> This fixed the problem for me, and hopefully it'll works for you.
>
> On 10/05/2014 06:24, Adam MacLeod wrote:
> > Hey Tycho,
> >
> > Sorry for the delay, have not had access to my machine.
> >
> > I am using java-7-openjdk-amd64 on Ubuntu 13.10. I am using the
> > official package from your ppa, which is a revision behind now.
> >
> > The pastebin is here: http://pastebin.com/LbjR0j1a
> >
> > To get the window to display properly I need to float/unfloat, and
> > then click on a menu item to draw that section of the window. After
> > a partial amount of the window is drawn I can click on one a larger
> > UI element to draw the rest of the window. If I haven't
> > floated/unfloated then the menu will draw but the window will stay
> > grey after I close the menu.
> >
> > At one point I tried using a bunch of different java versions
> > (oracle and openjdk) but couldn't get oracle to behave in the same
> > way.
> >
> > It isn't really affecting me except it would be nice to use the
> > oracle JDK (apparently WebStorm has a better time with it).
> >
> > Is there any chance of releasing an updated package for 13.10 so I
> > can update and see if the problem has been fixed?
> >
> > Thanks for your help! Adam
> >
> >
> > On Tue, May 6, 2014 at 1:51 AM, Tycho Andersen <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > On Mon, May 05, 2014 at 08:37:42AM +1000, Adam MacLeod wrote:
> >> Hi Petro,
> >>
> >> I have this same problem with some Java apps, I haven't found a
> > permanent
> >> fix but once the app is loaded if I float the window and then
> > unfloat it
> >> always comes good. I believe moving it between spaces might work
> >> too.
> >
> > Can you send a pastebin of the xprop outputs before and after you
> > float it? Also, are you running a compositor or something?
> >
> > \t
> >
> >> Not ideal but might help you in the mean time!
> >>
> >> Cheers, Adam On May 5, 2014 2:32 AM, "Petro"
> >> <[email protected]
> > <mailto:[email protected]>> wrote:
> >>
> >>> Hi all, I have tried this fix on a new computer. It was working
> >>> for the
> > first
> >>> time, but after reboot I get the same gray window. I have no
> >>> clue where to look for the problem,
> >>>
> >>>
> >>> On Tuesday, December 3, 2013 5:06:57 PM UTC+1, Petro wrote:
> >>>>
> >>>> Thanks all. My final solution looks like this:
> >>>>
> >>>> export _JAVA_AWT_WM_NONREPARENTING=1
> >>>>
> >>>> export AWT_TOOLKIT=MToolkit
> >>>>
> >>>> if [ -n "`which wmname`" ]; then wmname LG3D fi
> >>>>
> >>>> jabref
> >>>>
> >>>>
> >>>> On Tuesday, September 24, 2013 11:20:08 AM UTC+2, Petro
> >>>> wrote:
> >>>>>
> >>>>> Hi all I try to run JabRef reference manager in qtile (3),
> >>>>> but I get
> > an empty
> >>>>> grey window. I had a similar problem in awesome WM, which
> >>>>> was
> > solved
> >>>>> using 'wmname LD3D' command. But it does not help here.
> >>>>> Any
> > idea how to
> >>>>> proceed?
> >>>>>
> >>>>> Thanks, Petro
> >>>>>
> >>>>> --
> >>> You received this message because you are subscribed to the
> > Google Groups
> >>> "qtile-dev" group. To unsubscribe from this group and stop
> >>> receiving emails from
> > it, send an
> >>> email to [email protected]
> > <mailto:qtile-dev%[email protected]>.
> >>> For more options, visit https://groups.google.com/d/optout.
> >>>
> >>
> >> -- You received this message because you are subscribed to the
> >> Google
> > Groups "qtile-dev" group.
> >> To unsubscribe from this group and stop receiving emails from
> >> it,
> > send an email to [email protected]
> > <mailto:qtile-dev%[email protected]>.
> >> For more options, visit https://groups.google.com/d/optout.
> >
> > -- You received this message because you are subscribed to the
> > Google Groups "qtile-dev" group. To unsubscribe from this group and
> > stop receiving emails from it, send an email to
> > [email protected]
> > <mailto:qtile-dev%[email protected]>. For more
> > options, visit https://groups.google.com/d/optout.
> >
> >
> > -- You received this message because you are subscribed to the
> > Google Groups "qtile-dev" group. To unsubscribe from this group and
> > stop receiving emails from it, send an email to
> > [email protected]
> > <mailto:[email protected]>. For more options,
> > visit https://groups.google.com/d/optout.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJTbhIrAAoJEFMTZkdGG1xW+8cH/im8t5y8Msbxfs/2mCOUaIH6
> DHcR7pt3/dnjwoQPc1pirUhRAAGXXrSXEU/tN0I/cGO31tJM90vR7fh2wW/KlUdA
> TSz1+7H9F55fR9t63ngZs3YI3WZLrZ1McODCz1NpOcth3GpiwvhV2rCjAVR9bqqA
> Ji40xTQ18oWbyS3+MZaxc7vS/15f9whNg4P44P1MFbRDXyfJdIE/mU/CRr4FPj2h
> 1uB09Cuk+2M6Tuq1VpF8/Kj78jpbeitse91OnMWyyz4/rss5kdcFS3/Q0o5tJ5Cu
> +i7dYCamHite1ai4hkw5+rMxX0h33gtBpvN7+8EjclD8S9OhmanU2sJ9HWskhEA=
> =/ao4
> -----END PGP SIGNATURE-----
>
> --
> You received this message because you are subscribed to the Google Groups
> "qtile-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to