all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: bug-gnu-emacs@gnu.org
Subject: bug#6608: Menu bar not working
Date: Mon, 12 Jul 2010 01:13:13 +0200	[thread overview]
Message-ID: <4C3A5009.40908@alice.it> (raw)
In-Reply-To: <4C3A1037.2000409@swipnet.se>

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  <jan.h.d@swipnet.se>

	* 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  <jan.h.d@swipnet.se>

	* 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<angelo.graziosi@alice.it>
>>>> 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.
>>
>>






  parent reply	other threads:[~2010-07-11 23:13 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-11  8:53 bug#6608: Menu bar not working Angelo Graziosi
2010-07-11  8:56 ` Angelo Graziosi
2010-07-11  9:26   ` Eli Zaretskii
2010-07-11  9:42     ` Angelo Graziosi
2010-07-11 18:40       ` Jan Djärv
2010-07-11 22:23         ` Chong Yidong
2010-07-12  7:06           ` Jan Djärv
2010-07-12  7:58             ` Eli Zaretskii
2010-07-12 17:03               ` Jan Djärv
     [not found]             ` <4C3AEF7D.8060605@alice.it>
2010-07-12 10:34               ` bug#6608: Menu bar not working [found breaking revision!] Angelo Graziosi
2010-07-12 17:04               ` Jan Djärv
2010-07-14 10:17               ` bug#6608: Menu bar not working Jan Djärv
2010-07-14 21:58                 ` Angelo Graziosi
2010-07-14 23:38                   ` bug#6608: Menu bar not working [NOT FIXED] Angelo Graziosi
2010-07-15  6:09                   ` bug#6608: Menu bar not working Jan Djärv
2010-07-15 12:53                     ` Angelo Graziosi
2010-07-15 13:04                       ` Eli Zaretskii
2010-07-15 13:34                         ` Angelo Graziosi
2010-07-11 23:13         ` Angelo Graziosi [this message]
2010-07-12  0:13           ` Angelo Graziosi
2010-07-12  7:08           ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C3A5009.40908@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.