URL:
  <http://gna.org/patch/?3936>

                 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: 

    _______________________________________________________

Details:

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
screen.

http://i.imgur.com/zVkvfBN.png

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
around.



    _______________________________________________________

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
<http://gna.org/patch/download.php?file_id=18055>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3936>

_______________________________________________
  Meddelandet skickades via/av Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to