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 01:13:13 +0200 Message-ID: <4C3A5009.40908@alice.it> References: <4C39866C.6050008@alice.it> <4C398730.7040405@alice.it> <83k4p2v078.fsf@gnu.org> <4C399209.9020105@alice.it> <4C3A1037.2000409@swipnet.se> 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 1278891020 29328 80.91.229.12 (11 Jul 2010 23:30:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Jul 2010 23:30:20 +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 01:30:18 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 1OY5yU-0001OQ-7Z for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jul 2010 01:30:18 +0200 Original-Received: from localhost ([127.0.0.1]:32976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY5yT-00047L-Gi for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jul 2010 19:30:17 -0400 Original-Received: from [140.186.70.92] (port=40467 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY5yM-00046s-5s for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 19:30:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OY5yK-0006Hr-H6 for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 19:30:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55046) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY5yK-0006Hj-Ez for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 19:30:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OY5ij-00083c-VH; Sun, 11 Jul 2010 19:14:01 -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: Sun, 11 Jul 2010 23:14:01 +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.127889001130965 (code B ref -1); Sun, 11 Jul 2010 23:14:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Jul 2010 23:13:31 +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 1OY5iF-00083O-0O for submit@debbugs.gnu.org; Sun, 11 Jul 2010 19:13:31 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY5iD-00083I-P5 for submit@debbugs.gnu.org; Sun, 11 Jul 2010 19:13:30 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:44633) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OY5iF-0003CJ-2j for submit@debbugs.gnu.org; Sun, 11 Jul 2010 19:13:31 -0400 Original-Received: from [140.186.70.92] (port=56409 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY5iD-0007mU-Fp for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 19:13:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OY5iB-0004hJ-Ri for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 19:13:29 -0400 Original-Received: from smtp206.alice.it ([82.57.200.102]:60057) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY5iB-0004h0-Cr for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 19:13:27 -0400 Original-Received: from [82.57.171.238] (82.57.171.238) by smtp206.alice.it (8.5.124.08) id 4C1A268C01997BB7; Mon, 12 Jul 2010 01:13:22 +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: <4C3A1037.2000409@swipnet.se> 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 19:14:01 -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:38426 Archived-At: 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 o= r 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=20 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=20 GNU/Linux $ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v=20 --enable-languages=3Dc,c++,fortran,objc,obj-c++,treelang --prefix=3D/usr=20 --enable-shared --with-system-zlib --libexecdir=3D/usr/lib=20 --without-included-gettext --enable-threads=3Dposix --enable-nls=20 --with-gxx-include-dir=3D/usr/include/c++/4.2 --program-suffix=3D-4.2=20 --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-objc-gc=20 --enable-mpfr --enable-targets=3Dall --enable-checking=3Drelease=20 --build=3Di486-linux-gnu --host=3Di486-linux-gnu --target=3Di486-linux-gn= u Thread model: posix gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4) What compiler should emacs be built with? gcc -g -O2=20 -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=20 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=20 4.4.3-4ubuntu5' --with-bugurl=3Dfile:///usr/share/doc/gcc-4.4/README.Bugs= =20 --enable-languages=3Dc,c++,fortran,objc,obj-c++ --prefix=3D/usr=20 --enable-shared --enable-multiarch --enable-linker-build-id=20 --with-system-zlib --libexecdir=3D/usr/lib --without-included-gettext=20 --enable-threads=3Dposix --with-gxx-include-dir=3D/usr/include/c++/4.4=20 --program-suffix=3D-4.4 --enable-nls --enable-clocale=3Dgnu=20 --enable-libstdcxx-debug --enable-plugin --enable-objc-gc=20 --disable-werror --with-arch-32=3Di486 --with-tune=3Dgeneric=20 --enable-checking=3Drelease --build=3Dx86_64-linux-gnu=20 --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=20 -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=20 click on it (with mouse-1) and HOLD mouse-1 pressed, otherwise the menu=20 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, 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 >>>> 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. I= n >>>>> this way it is difficult to work wit menu bar items: one should hol= d >>>>> 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. >> >>