Summary: In GTK2, fullscreen mode, menu bar is not clickable
at the very top
                 Project: Freeciv
            Submitted by: englabenny
            Submitted on: fre  7 jun 2013 13.11.25
                Category: client-gtk-2.0
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 



It's much easier to use a menu bar (in fullscreen) if you can click the menu
items when the pointer is on the edge of the screen.

This following screenshot demonstrates with the patch (left) and current
freeciv (right), with the mouse pointer flush to the edge of the screen. The
current freeciv needs you to click a few pixels below the top edge of the


As an aside, GIMP 2.8 in fullscreen has the expected menu behavior where it is
clickable on the edge of the screen.

The patch changes shadow type on two widgets (GtkViewport and
GtkScrolledWindow) and the shadow type style variable on GtkMenuBar.

The patch applies identically to the gtk-2 client on 2.3, 2.4 and master.  I
have not yet attempted the gtk-3 client.

The patch depends on a tweak in the gtk theme so at the moment it will only
work with the Freeciv (default) theme. Not sure if this is practical to work


File Attachments:

Date: fre  7 jun 2013 13.11.25  Name: menubar_flush_top_edge.diff  Size: 3 kB 
 By: englabenny
Patch for gtk2 client


Reply to this item at:


  Meddelandet skickades via/av Gna!

Freeciv-dev mailing list

Reply via email to