From kwin Tue Dec 28 20:36:08 2010 From: Frederic Janssens Date: Tue, 28 Dec 2010 20:36:08 +0000 To: kwin Subject: Re: windowClass : where is that string defined ? Message-Id: X-MARC-Message: https://marc.info/?l=kwin&m=129356862127592 On Tue, Dec 28, 2010 at 18:41, Thomas Lübking wrote: > > Am Tuesday 28 December 2010 schrieb Frederic Janssens: > > Well, I am trying to collect the values needed to automatically fill > > most of the fields of a bugzilla report, to help users easily fill a > > usefull bug report. > Like the user clicks the window for the application fo file a bugreport for? Yes. I had adapted xkill; but xprop, which I did'nt know, is more appropriate. > You then want to just use the _NET_WM_PID (at least all Qt & Gtk+ applications > should set it by default & NETWinInfo has a function for it) hint and lookup > the process. Yes > If there's really none you'll just leave the field empty (or guess still it > from wm_class) - as mentioned you'd have to update the list with every other > release (because there is no strict "should be executable string" rule) > > I've checked the two prop. applications installed here, textmaker 2008 & maple > 11 - both reply shit on wm_class and provide no _net_wm_pid, since the latter > one is java, you might want to ensure that it's not a general issue there. Not my priority ;) > > It seems the only way to build my table is to run all apps, not very > > appealing. > No, and a continous task (at least keeping it up to date) - but hey: it's your > > time ;-) I think I will do it without table, dynamically with heuristics, and see what happens. > Cheers, > Thomas Thanks > _______________________________________________ > kwin mailing list > kwin@kde.org > https://mail.kde.org/mailman/listinfo/kwin -- Frederic _______________________________________________ kwin mailing list kwin@kde.org https://mail.kde.org/mailman/listinfo/kwin