|
From: Ethan A M. <sf...@us...> - 2014-06-20 17:20:40
|
[sigh] a correction after more testing:
If I force the definition of HAVE_GTK in config.h, then it does work
for
KDE4 + wxWidgets 2.8 + gdk2
(the actual raise is done by a call into gdk2)
I'm not certain why the autoconfigure script wasn't setting HAVE_GTK
in my earlier tests.
So the coverage is a little better than I thought, although the
configure script may need some tweaking.
Ethan
On Friday, 20 June, 2014 09:53:36 Philipp K. Janert wrote:
> On Fri, 20 Jun 2014 09:33:17 -0700
> Ethan A Merritt <sf...@us...> wrote:
>
> >
> > I looked into this a bit.
>
> Thanks for doing the research. I think
> this clarifies a lot.
>
> Is there any hope to fix this? I think this
> should treated as a bug. (It also USED to
> work, sometime ago, if my memory serves me
> right...)
>
> > Here is a the relevant section of code in wxt_gui.cpp:
> >
> > =====
> > /* FIXME : this code should be deleted, and the feature removed or
> > handled differently,
> > * because it is highly platform-dependant, is not reliable because
> > * of a lot of factors (WINDOWID not set, multiple tabs in
> > gnome-terminal, mechanisms
> > * to prevent focus stealing) and is inconsistent with global
> > bindings mechanism ) */ void wxtPanel::RaiseConsoleWindow()
> > {
> > #ifdef USE_GTK
> > [... special case code for KDE3]
> > [... special case code for Gnome console]
[ ... code for gdk2/gtk2]
> > #endif
> > [... special case code for Win32]
> > [... special case code for OS2]
> > =======
> >
> > Furthermore the definition of USE_GTK depends on configuration tests
> > for the locally installed gdk.h/gtk.h headers, if any. I have tried
> > building against gtk3 headers - no success.
> >
> > So there is no wxt terminal support for raise console window on
> > linux unless you are using gtk2 and either KDE3 or the Gnome
> > console terminal. I will add this to the docs somewhere (maybe "known
> > limitations"?)
> >
> >
> > As to the qt terminal, Tatsuro Matsuoka is correct that despite what
> > the terminal help text says there is no special treatment of the
> > space key in the actual code.
> >
> > So basically this feature exists consistently only on Windows or X11.
> > And even the X11 support may depend on the window manager being used.
> > The documentation should be amended to note that it is not generally
> > available on linux.
> >
> > Ethan
> >
> >
> >
> >
> >
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
|