From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Glenn Morris <rgm@gnu.org>
Cc: 7425@debbugs.gnu.org
Subject: bug#7425: 23.2.90; buffer menu in meun-bar not updating
Date: Thu, 18 Nov 2010 10:16:37 +0100 [thread overview]
Message-ID: <4CE4EEF5.7070806@swipnet.se> (raw)
In-Reply-To: <cthbfflk7t.fsf@fencepost.gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]
2010-11-17 22:21, Glenn Morris skrev:
>
> Associated Ubuntu bug:
>
> https://bugs.launchpad.net/ubuntu/+source/appmenu-gtk/+bug/673302
>
> (I have no idea if this an Emacs problem or a problem in `appmenu-gtk'.)
>
>
When appmenu is in effect, the menu bar reports wanted height 0 after Emacs
has told it to show itself. It is not until it is mapped that it reports the
correct size, but currently we don't look for that. So Emacs thinks the menu
bar is 0 height so no clicks are detected as for the menu bar, and the buffer
menu (and others) does not get updated. This is in Emacs 23 as well.
But if appmenu shows the menu elsewhere (it purpose is to take the application
meny and show it elsewhere, in the panel a'la OSX for example), Emacs receives
no clicks whatsoever, and then the buffer menu can never be updated in the way
it is done today.
So either we must update menus differently (i.e. not on click) or detect that
the menu is about to activate in a different way.
Appmenu seems like a hack, it does not get the Emacs menus right (keyboard
shortcuts omitted, see screen shots), it messes with reported widget sizes, it
swallows clicks, it hangs X if you try to take a screen shot of the menus in
the panels, it does not in anyway (unmap/map, realize, other event) tell the
application if the menu has been moved from the panel to the app or vice
versa. And this is after a half hours use...
Jan D.
[-- Attachment #2: appmenu.png --]
[-- Type: image/png, Size: 62721 bytes --]
[-- Attachment #3: emacs.png --]
[-- Type: image/png, Size: 62907 bytes --]
prev parent reply other threads:[~2010-11-18 9:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 18:20 bug#7425: 23.2.90; buffer menu in meun-bar not updating Bob van der Poel
[not found] ` <handler.7425.B.129001790914573.ack@debbugs.gnu.org>
2010-11-17 20:15 ` bug#7425: Acknowledgement (23.2.90; buffer menu in meun-bar not updating) Bob van der Poel
2010-11-18 8:56 ` Jan Djärv
2010-11-19 1:49 ` Bob van der Poel
2010-11-19 6:42 ` Jan Djärv
2010-11-19 16:56 ` Bob van der Poel
2010-11-20 13:52 ` Jan Djärv
2010-11-17 21:21 ` bug#7425: 23.2.90; buffer menu in meun-bar not updating Glenn Morris
2010-11-18 9:16 ` Jan Djärv [this message]
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=4CE4EEF5.7070806@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=7425@debbugs.gnu.org \
--cc=rgm@gnu.org \
/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.