bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6608: Menu bar not working


From: Angelo Graziosi
Subject: bug#6608: Menu bar not working
Date: Mon, 12 Jul 2010 01:13:13 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1

Il 11/07/2010 20.40, Jan Djärv ha scritto:
I can for the life of me not reproduce this, neither on trunk, 100771 or

Strange... Have you done a clean checkout and a clean bootstrap?

For me it happens also with rev.100787 on

GNU/Linux Kubuntu 8.04:
------------------------------------------------------------
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2010-07-12 on ubuntu

$ uname -a
Linux ubuntu 2.6.24-28-generic #1 SMP Fri Jun 18 12:02:15 UTC 2010 i686 GNU/Linux

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

What compiler should emacs be built with? gcc -g -O2 -Wold-style-definition -Wdeclaration-after-statement -Wno-pointer-sign
---------------------------------------------------------------------

GNU/Linux Kubuntu 10.04
---------------------------------------------------------------------
GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2010-07-11

$ uname -a
Linux ubuntu 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux

$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)


What compiler should emacs be built with? gcc -g -O2 -Wold-style-definition -Wdeclaration-after-statement -Wno-pointer-sign
---------------------------------------------------------------------

$ emacs -Q &

Now, to open an item (File, Edit, Options etc.) on menu bar, one MUST click on it (with mouse-1) and HOLD mouse-1 pressed, otherwise the menu does not remains opened, but it is closed in a fraction of a second.

Perhaps, one of these changes is the cause:

----------------------------
2010-07-09  Jan Djärv  <address@hidden>

        * xmenu.c (set_frame_menubar): Must realize menubar_widget to get the
        correct size for Motif.
        (free_frame_menubar): Call x_set_window_size to update frame size.

        * xfns.c (x_window): Set borderWidth to 0 for pane and
        EmacsFrame.  Frame size calculation is wrong otherwise.
----------------------------
2010-07-08  Jan Djärv  <address@hidden>

        * xmenu.c (set_frame_menubar, create_and_show_popup_menu)
        (create_and_show_dialog): Don't call apply_systemfont_to_(menu|dialog)
        unless USE_LUCID.
----------------------------
[...]
----------------------------

Ciao,
Angelo.

100776. Please give some more info, like compiler version, architecture
(32 or 64-bit?), Gtk+ version? Optimise flags to the compiler? I assume
you can repeat this with emacs -Q? I don't have Kubuntu 10.04, but
regular Ubuntu 10.04.

Now, the Motif menus have problems though, different for Lesstif and
Openmotif. Openmotif ones behave like you describe, Lesstif doesn't but
they don't close right. I don't know if this is related.

Jan D.


Angelo Graziosi skrev 2010-07-11 11.42:
Il 11/07/2010 11.26, Eli Zaretskii ha scritto:
Date: Sun, 11 Jul 2010 10:56:16 +0200
From: Angelo Graziosi<address@hidden>
Cc:

Il 11/07/2010 10.53, Angelo Graziosi ha scritto:
With Emacs 24 trunk rev. 100771, GTK build, on GNU/Linux Kubuntu
10.04,
when I click (mouse-1) on an item of menu bar, 'Options' for
example, it
opens only for a fraction of a second then is immediately closed. In
this way it is difficult to work wit menu bar items: one should hold
mouse-1 pressed and move the mouse, and this is very uncomfortable.

I would ask if this is related to BUG #6603...

I can't imagine how it could be. 6603 is about "C-h f", not about
popping the menus. And it is specific to the native w32 build.

In any case, 6603 is solved in the repository, so trying the latest
trunk should tell.

Same problem with rev. 100776. I thought *that* because clicking on an
item of
menu bar ('Options', for example), *pop-ups* the menu only for a
fraction of a
second, and because it is very recent. It does not happen with the
build I did
20100708: there, clicking, opens (pop-ups) 'Options', for example, and it
remains opened up to one chooses something ('Case-insensitive search',
for
example), or clicks in some other place.

Ciao,
Angelo.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]