Javier Barroso schrieb: > Hi, > > On Tue, Oct 27, 2009 at 10:51 PM, Torsten Andre <[email protected]> wrote: >> Javier Barroso schrieb: >>> Hi, >>> On Thu, Oct 15, 2009 at 1:46 AM, Jacques Kvam <[email protected]> wrote: >>>> I have this problem in 3.4_rc3 when I run matlab, I've noticed other issues >>>> with java apps and awesome so I guess they just don't play well together? >>>> >>>> On Wed, Oct 14, 2009 at 4:54 PM, Javier Barroso <[email protected]> >>>> wrote: >>>>> Hi, >>>>> >>>>> On Wed, Oct 14, 2009 at 8:50 PM, Torsten Andre <[email protected]> wrote: >>>>>> Javier Barroso schrieb: >>>>>>> On Tue, Oct 13, 2009 at 5:49 PM, Torsten Andre <[email protected]> wrote: >>>>>>>> Javier Barroso wrote: >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> On Tue, Oct 13, 2009 at 1:02 AM, Torsten Andre <[email protected]> wrote: >>>>>>>>>> -------- Original-Nachricht -------- >>>>>>>>>> Betreff: Re: Windows created by Java app can't be closed >>>>>>>>>> Datum: Mon, 12 Oct 2009 08:22:25 +0200 >>>>>>>>>> Von: Torsten Andre <[email protected]> >>>>>>>>>> An: Igor Dimitrijevic <[email protected]> >>>>>>>>>> Referenzen: <[email protected]> <[email protected]> >>>>>>>>>> >>>>>>>>>> Igor Dimitrijevic schrieb: >>>>>>>>>>> I have the same problem with Java apps. I used a little program >>>>>>>>>>> called >>>>>>>>>>> wmname to fix this as described in >>>>>>>>>>> http://awesome.naquadah.org/wiki/Problems_with_Java >>>>>>>>>>> >>>>>>>>>>> Hope that helps, >>>>>>>>>>> -Igor >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Torsten Andre wrote: >>>>>>>>>>>> Hi there, >>>>>>>>>>>> >>>>>>>>>>>> I've got a problem with a Java application (thinking rock (tr) - >>>>>>>>>>>> http://www.trgtd.com.au/). When the application opens a new >>>>>>>>>>>> window, for >>>>>>>>>>>> example to have the user pick a day from a calendar window, the >>>>>>>>>>>> windows >>>>>>>>>>>> can't be closed and won't reopen. >>>>>>>>>>>> >>>>>>>>>>>> Let me explain my problem more thoroughly. If I want to choose a >>>>>>>>>>>> date, >>>>>>>>>>>> tr creates a new window so I can pick the day, the window is added >>>>>>>>>>>> to >>>>>>>>>>>> the bar at the top of the screen. Having picked a day, the window >>>>>>>>>>>> closes, but the entry in the status bar is not removed. When I try >>>>>>>>>>>> to >>>>>>>>>>>> reopen the date-chooser window nothing happens. >>>>>>>>>>>> >>>>>>>>>>>> Do you understand what my problem is? Is there some way to fix >>>>>>>>>>>> this? It >>>>>>>>>>>> basically makes it impossible to use the application. >>>>>>>>> I have tested tr, and I can select dates with select button. If you >>>>>>>>> want to close a window test 'Mod4-Shift-c' when mouse is in the >>>>>>>>> window. >>>>>>>>> >>>>>>>>> tr doesn't recognize my keystrokes anymore in some dialogs after >>>>>>>>> playing with it for a while. >>>>>>>>> >>>>>>>>> Regards, >>>>>>>> Hey, >>>>>>>> >>>>>>>> well I am able to select a date as well. tr enters the date correctly >>>>>>>> in >>>>>>>> the corresponding field. But the date window's bar in the menu bar at >>>>>>>> top is not closed, the window itself closes. But as long as the >>>>>>>> "magic" >>>>>>>> date-window exists in awesome's window bar, I cannot reopen the date >>>>>>>> dialog. Is this possible for you, to open e.g. the date dialog several >>>>>>>> times successively? >>>>>>> I can play with date dialogs all times I want. >>>>>>> >>>>>>> Tell here step to step to reproduce your issue... (First open a new .. >>>>>>> create ... click date dialog ..) >>>>>>> >>>>>>> Regards, >>>>>> Just to make sure, I created a new file. I created a new thought and >>>>>> wanted to process it (Strg+Shift+2). Now I chose a 'Due date' from the >>>>>> drop down menu, which created a new 'date window' which I can move >>>>>> freely. When I double click on some date, for example tomorrow the 15th, >>>>>> the window itself is removed and the due date field is filled with the >>>>>> correct date. But in awesome titlebar the window "Date Chooser" is still >>>>>> active. I cannot create the window no matter what. I can keep working >>>>>> with tr as long as I want to open the same window twice. For example if >>>>>> I know want to choose a project, to which the project may belong to, the >>>>>> project window pops up, I choose the project, the window is closed. But >>>>>> again, the item in the title bar stays. Now, if I want to choose another >>>>>> due date and click the button again, tr freezes completely. I cannot >>>>>> even close it useing Mod4+Shift+c, I have to kill it. >>>>>> >>>>>> I hope I explained everything as understandable as possible. >>>>> Yes, I can reproduce it here in home. I think in my work computer this >>>>> doesn't happen (but I don't known which is the diff). Tomorrow I will >>>>> see ... >>> I now know the diff >>> >>> At home I'm using wmname >>> Here at the work I use export AWT_TOOLKIT=MToolKit >>> >>> Maybe you could try tr with this setting >>> >>> Regards, >> Well, I tried both versions of the tr including and excluding the JRE to >> see if that makes any differences, but nothing. AWT_TOOLKIT is set, I >> start tr but tr stays completely gray. If I have wmname set the name to >> e.g. LG3D tr starts, but I got the previously described problem. I use >> the latest tr version and java is >> >> java version "1.6.0_16" >> Java(TM) SE Runtime Environment (build 1.6.0_16-b01) >> Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode) >> >> Does anybody else have any clues? If I recall it correctly I think I >> didn't have the problem with earlier versions of awesome. But please >> don't ask me which one did the change. Must have been one of the latest >> though. Some RC of 3.4, I'd guess. > I tried it with openjre and _JAVA_AWT_WM_NONREPARENTING=1; export > _JAVA_AWT_WM_NONREPARENTING workarround, and it is working here (seems > fine) > > Give a new oportunity :) > > Regards,
Yeahhhhhhhhhhh! That did the trick. I changed my Sun Java JRE to the openJRE and that works just fine! Should have done that in the first place. Many thanks again! *Solved* Cheers, Torsten -- To unsubscribe, send mail to [email protected].
