unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10008: emacs 24.0.91; mode menu aligns down only
@ 2011-11-10  3:43 William Stevenson
  2011-11-10 18:31 ` Jan Djärv
  0 siblings, 1 reply; 5+ messages in thread
From: William Stevenson @ 2011-11-10  3:43 UTC (permalink / raw)
  To: 10008

Compiled on Fedora 16 today and noticed the mode menu aligns down, so
when you perform this on a vertically maximised window you cannot see
the menu contents.

To reproduce:
emacs -Q
maximise window
click mode menu item

Screenshot:
http://i.imgur.com/Zns5o.png


In GNU Emacs 24.0.91.1 (i686-pc-linux-gnu, GTK+ Version 3.2.1)
 of 2011-11-09 on localhost.yhvh
Windowing system distributor `Fedora Project', version 11.0.11101000
configured using `configure  '--with-x-toolkit=gtk3''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> M-x r e p o <tab> - b u <tab> 
<return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug help-mode easymenu view time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10008: emacs 24.0.91; mode menu aligns down only
  2011-11-10  3:43 bug#10008: emacs 24.0.91; mode menu aligns down only William Stevenson
@ 2011-11-10 18:31 ` Jan Djärv
  2011-11-13 11:05   ` martin rudalics
  2012-01-10 13:47   ` William Stevenson
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Djärv @ 2011-11-10 18:31 UTC (permalink / raw)
  To: William Stevenson; +Cc: 10008

Hello.

10 nov 2011 kl. 04:43 skrev William Stevenson:

> Compiled on Fedora 16 today and noticed the mode menu aligns down, so
> when you perform this on a vertically maximised window you cannot see
> the menu contents.
> 
> To reproduce:
> emacs -Q
> maximise window
> click mode menu item
> 
> Screenshot:
> http://i.imgur.com/Zns5o.png
> 
> 

This must be something new with either Gtk+ 3.2 or Fedora 16.  Emacs does get the preferred size for the menu and adjust position accordingly.  If the menu lies abouts its preferred size, there is really not much more we can do.
The documentation for gtk_widget_get_preferred_size states:

  "t can be used to deduce toplevel window and menu sizes as well as child widgets in free-form containers such as GtkLayout."

Can you turn off the double arrows on the menu?  Probably not, since Gnome removes customization posibilities.
I don't see this as an Emacs bug, but a poor default in Fedora 16 and/or the theme you are using.
Having scrollable popup menus is just stupid.

	Jan D.







^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10008: emacs 24.0.91; mode menu aligns down only
  2011-11-10 18:31 ` Jan Djärv
@ 2011-11-13 11:05   ` martin rudalics
  2012-01-10 13:47   ` William Stevenson
  1 sibling, 0 replies; 5+ messages in thread
From: martin rudalics @ 2011-11-13 11:05 UTC (permalink / raw)
  To: Jan Djärv; +Cc: William Stevenson, 10008

 > This must be something new with either Gtk+ 3.2 or Fedora 16.

I'm 100% sure that I once read about this in a comment of a modeline
related Emacs routine.  But I can't find that comment anymore :-(

martin





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10008: emacs 24.0.91; mode menu aligns down only
  2011-11-10 18:31 ` Jan Djärv
  2011-11-13 11:05   ` martin rudalics
@ 2012-01-10 13:47   ` William Stevenson
  2012-01-10 14:54     ` Jan D.
  1 sibling, 1 reply; 5+ messages in thread
From: William Stevenson @ 2012-01-10 13:47 UTC (permalink / raw)
  To: 10008

Your commit (revno: 106735) for bug#10361 fixed this bug.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10008: emacs 24.0.91; mode menu aligns down only
  2012-01-10 13:47   ` William Stevenson
@ 2012-01-10 14:54     ` Jan D.
  0 siblings, 0 replies; 5+ messages in thread
From: Jan D. @ 2012-01-10 14:54 UTC (permalink / raw)
  To: William Stevenson; +Cc: 10008-done

William Stevenson skrev 2012-01-10 14:47:
> Your commit (revno: 106735) for bug#10361 fixed this bug.

Thanks for testing,

	Jan D.







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-10 14:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-10  3:43 bug#10008: emacs 24.0.91; mode menu aligns down only William Stevenson
2011-11-10 18:31 ` Jan Djärv
2011-11-13 11:05   ` martin rudalics
2012-01-10 13:47   ` William Stevenson
2012-01-10 14:54     ` Jan D.

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).