Thanks for the pointers. I have another very weird issue now: I open a terminal, I set wmname LG3D, I type netbeans, it starts. Switching the tags in DWM maintains focus (yupee!!).
So, I decided to make up my own script to start netbeans that just does wmname LG3D && netbeans and when I run it from DMENU, switching tags fails. I assume that wmname needs a container or an environment? I can live with a terminal open that is set on tag 9 or something, but I would much rather run netbeans from DMENU. Thanks, Catalin On Sun, Aug 28, 2011 at 5:15 PM, Andrew Hills <hills...@gmail.com> wrote: > When I'm using Java software that fails in dwm, I run the wmname tool. > > For details: http://tools.suckless.org/wmname > > --Andrew Hills > > > > On Sun, Aug 28, 2011 at 9:40 AM, Catalin David > <catalindavid2...@gmail.com> wrote: >> Dear all, >> >> Thanks for the great work that you are doing with DWM. Been using it >> and reading your rants for the past 2 years, but I have stumbled >> across a bug today and I am not sure what is to be done. >> >> First of all, thanks in advance for the bashing of Java and Swing and >> how they are not working on Linux. I am using DWM 5.8.2 and the >> problem comes with Netbeans and has been reported on other WM-s too >> (sun-java6). Everything lives on top of a customized Ubuntu Natty >> distribution. I have a dual-head setup, powered by an ATI HD5650 video >> card. >> >> Steps to reproduce the issue: >> >> 1. open Netbeans (or other Swing app) in one tag. Make sure the editor has >> focus >> 2. navigate to another tag (either via kb or click on the tag) >> 3. navigate back to Netbeans tag >> 4. editor does not have focus any more. >> >> Related documentation -- apparently this is a known bug in other WMs >> too and Oracle people just say that the besides GNOME and KDE, they do >> not support anything else. >> >> Issue in ion3 ML: >> http://www.mail-archive.com/ion-general@lists.berlios.de/msg03073.html >> Issue in XMonad: http://code.google.com/p/xmonad/issues/detail?id=177 >> Official Sun / Oracle bug report: >> http://bugs.sun.com/view_bug.do?bug_id=6798064 >> >> Maybe some of you can make more sense about this than me, since I am >> very inexperienced with X programming in C. Maybe it's a known issue, >> but I was not able to find any reference in DWM on the interwebs. >> >> Thanks a lot in advance, >> >> Catalin >> >> -- >> ****************************** >> Catalin David >> M.Sc. Smart Systems 2012 >> B.Sc. Computer Science 2010 >> Jacobs University Bremen >> >> Phone: +49-(0)1577-49-38-667 >> >> Hans-Hermann-Sieling-Strasse 2A >> Bremen, 28759 >> Germany >> ****************************** >> >> > > -- ****************************** Catalin David M.Sc. Smart Systems 2012 B.Sc. Computer Science 2010 Jacobs University Bremen Phone: +49-(0)1577-49-38-667 Hans-Hermann-Sieling-Strasse 2A Bremen, 28759 Germany ******************************