From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.bugs Subject: bug#6608: Menu bar not working Date: Mon, 12 Jul 2010 02:13:45 +0200 Message-ID: <4C3A5E39.7030709@alice.it> References: <4C39866C.6050008@alice.it> <4C398730.7040405@alice.it> <83k4p2v078.fsf@gnu.org> <4C399209.9020105@alice.it> <4C3A1037.2000409@swipnet.se> <4C3A5009.40908@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: Quoted-Printable X-Trace: dough.gmane.org 1278894622 4143 80.91.229.12 (12 Jul 2010 00:30:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Jul 2010 00:30:22 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 12 02:30:20 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OY6uZ-0006iQ-It for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jul 2010 02:30:20 +0200 Original-Received: from localhost ([127.0.0.1]:36777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY6uY-0000vS-Sp for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jul 2010 20:30:18 -0400 Original-Received: from [140.186.70.92] (port=38881 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY6uQ-0000uf-Co for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 20:30:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OY6uO-0004AO-PE for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 20:30:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57700) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY6uO-0004AI-MZ for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 20:30:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OY6fm-0001fI-M1; Sun, 11 Jul 2010 20:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Angelo Graziosi Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Jul 2010 00:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6608 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.12788936446313 (code B ref -1); Mon, 12 Jul 2010 00:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jul 2010 00:14:04 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY6ep-0001dm-0i for submit@debbugs.gnu.org; Sun, 11 Jul 2010 20:14:03 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY6em-0001dI-TO for submit@debbugs.gnu.org; Sun, 11 Jul 2010 20:14:01 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:46339) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OY6eo-0003vj-Ez for submit@debbugs.gnu.org; Sun, 11 Jul 2010 20:14:02 -0400 Original-Received: from [140.186.70.92] (port=44310 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY6el-0005A1-Oj for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 20:14:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OY6ek-00025r-54 for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 20:13:59 -0400 Original-Received: from smtp206.alice.it ([82.57.200.102]:55969) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY6ej-00025Q-OJ for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 20:13:58 -0400 Original-Received: from [82.57.147.212] (82.57.147.212) by smtp206.alice.it (8.5.124.08) id 4C1A268C0199C083; Mon, 12 Jul 2010 02:13:53 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: <4C3A5009.40908@alice.it> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 11 Jul 2010 20:15:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38429 Archived-At: For completeness, same problem on Cygwin: ------------------------------------------------------------ GNU Emacs 24.0.50.1 (i686-pc-cygwin, GTK+ Version 2.20.1) of 2010-07-12 $ uname -a CYGWIN_NT-5.1 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin $ gcc -v Using built-in specs. Target: i686-pc-cygwin Configured with:=20 /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure=20 --srcdir=3D/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4= =20 --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr= /sbin=20 --libexecdir=3D/usr/lib --datadir=3D/usr/share --localstatedir=3D/var=20 --sysconfdir=3D/etc --infodir=3D/usr/share/info --mandir=3D/usr/share/man= =20 --datadir=3D/usr/share --infodir=3D/usr/share/info --mandir=3D/usr/share/= man=20 -v --with-gmp=3D/usr --with-mpfr=3D/usr --enable-bootstrap=20 --enable-version-specific-runtime-libs --with-slibdir=3D/usr/bin=20 --libexecdir=3D/usr/lib --enable-static --enable-shared=20 --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld=20 --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions=20 --enable-languages=3Dada,c,c++,fortran,java,objc,obj-c++ --disable-symver= s=20 --enable-libjava --program-suffix=3D-4 --enable-libgomp --enable-libssp=20 --enable-libada --enable-threads=3Dposix --with-arch=3Di686=20 --with-tune=3Dgeneric --enable-libgcj-sublibs CC=3Dgcc-4 CXX=3Dg++-4=20 CC_FOR_TARGET=3Dgcc-4 CXX_FOR_TARGET=3Dg++-4 GNATMAKE_FOR_TARGET=3Dgnatma= ke=20 GNATBIND_FOR_TARGET=3Dgnatbind AS=3D/opt/gcc-tools/bin/as.exe=20 AS_FOR_TARGET=3D/opt/gcc-tools/bin/as.exe LD=3D/opt/gcc-tools/bin/ld.exe=20 LD_FOR_TARGET=3D/opt/gcc-tools/bin/ld.exe=20 --with-ecj-jar=3D/usr/share/java/ecj.jar Thread model: posix gcc version 4.3.4 20090804 (release) 1 (GCC) What compiler should emacs be built with? gcc -g -O2=20 -Wold-style-definition -Wdeclaration-after-statement -Wno-pointer-sign ------------------------------------------------------------ Ciao, Angelo. Il 12/07/2010 1.13, Angelo Graziosi ha scritto: > Il 11/07/2010 20.40, Jan Dj=C3=A4rv 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=3Dc,c++,fortran,objc,obj-c++,treelang --prefix=3D/us= r > --enable-shared --with-system-zlib --libexecdir=3D/usr/lib > --without-included-gettext --enable-threads=3Dposix --enable-nls > --with-gxx-include-dir=3D/usr/include/c++/4.2 --program-suffix=3D-4.2 > --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-objc-gc > --enable-mpfr --enable-targets=3Dall --enable-checking=3Drelease > --build=3Di486-linux-gnu --host=3Di486-linux-gnu --target=3Di486-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=3D'Ubuntu > 4.4.3-4ubuntu5' --with-bugurl=3Dfile:///usr/share/doc/gcc-4.4/README.Bu= gs > --enable-languages=3Dc,c++,fortran,objc,obj-c++ --prefix=3D/usr > --enable-shared --enable-multiarch --enable-linker-build-id > --with-system-zlib --libexecdir=3D/usr/lib --without-included-gettext > --enable-threads=3Dposix --with-gxx-include-dir=3D/usr/include/c++/4.4 > --program-suffix=3D-4.4 --enable-nls --enable-clocale=3Dgnu > --enable-libstdcxx-debug --enable-plugin --enable-objc-gc > --disable-werror --with-arch-32=3Di486 --with-tune=3Dgeneric > --enable-checking=3Drelease --build=3Dx86_64-linux-gnu > --host=3Dx86_64-linux-gnu --target=3Dx86_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=C3=A4rv > > * 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=C3=A4rv > > * 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, architectur= e >> (32 or 64-bit?), Gtk+ version? Optimise flags to the compiler? I assum= e >> 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 bu= t >> 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 >>>>> 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 ho= ld >>>>>> mouse-1 pressed and move the mouse, and this is very uncomfortable= =2E >>>>> >>>>> 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 a= n >>> 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. >>> >>> >