Testing with a self-built 7.3b and Debian's latest Vim 7.2 packages,
tear-off menus work fine for me. I ran “gvim -u NONE -N”, detached both
the help menu and the file menu and was able to open files, open the
help, etc.
> I have the same problem in Vim 7.2 and 7.3b, it might have something to
> do with the GTK version. I can't recall when it stopped working.
Which GTK version are you using? I have 2.20.1 here.
--
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jame...@jamessan.com>
Works with CentOS5.4 + gtk2.10.4 + vim73.
Not work with Ubuntu10.04 + gtk2.20.1-0ubuntu2 + vim73.
With other application "Dia", tear-off menu also don't work.
This issue is the same problem?
https://bugzilla.gnome.org/show_bug.cgi?id=620984
--
Yukihiro Nakadaira - yukihiro....@gmail.com
> On Tue, Jul 20, 2010 at 7:30 AM, Bram Moolenaar <Br...@moolenaar.net> wrote:
> > I wonder if you noticed this problem: When I tear-off a menu in GTK, for
> > example the Help menu, the buttons don't do anything.
>
> Testing with a self-built 7.3b and Debian's latest Vim 7.2 packages,
> tear-off menus work fine for me. I ran “gvim -u NONE
> -N†, detached both the help menu and the file menu and was
> able to open files, open the help, etc.
>
> > I have the same problem in Vim 7.2 and 7.3b, it might have something to
> > do with the GTK version. Â I can't recall when it stopped working.
>
> Which GTK version are you using? I have 2.20.1 here.
Same for me. I recently upgraded to Ubuntu 10.04.
So how can I debug this? The tear-off handling happens inside GTK, I
don't see any way to intercept events.
--
Did you ever stop to think... and forget to start again?
-- Steven Wright
/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Yes, sounds like the same problem. OK, it's probably not a Vim issue
then.
--
Q: What do you call a fish without an eye?
A: fsh!
Q: What do you call a deer with no eyes?
A: no eye deer.
Q: What do you call a deer with no eyes and no legs?
A: still no eye deer.
Works for me.
gvim 7.3b 496feb41b83f 2010-07-20 17:32:38 +0200 +gui_gtk2 +gui_gnome
openSUSE Linux 11.2
gtk2-2.18.6-0.1.3.i586
Best regards,
Tony.
--
Give me a Plumber's friend the size of the Pittsburgh dome, and a place
to stand, and I will drain the world.
FWIW, I have the same problem with 7.2 and 7.3 on Ubuntu 10.04. But if I
tear off a menu with a submenu (e.g. the edit menu) then the menu items
in the submenu (e.g. turn off toolbar) work. If you tear off the submenu
itself (e.g. Global Settings) the menu items don't work.
Regards,
Dennis Benzinger
Not sure if this information is helpful, but as of gtk 2.20 the
tear-off function was declared "deprecated" (there was quite some
discussion about this).
If the gtk library was compiled with "#define GTK_DISABLE_DEPRECATED"
in your distro, it might simply be disabled.
My Slackware still uses the 2.18.9 version of gtk, so I can't check it
here (and the tear-off functions still work).
Niels