bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34777] NSMacintoshInterfaceStyle fails to put menues into the main


From: julian
Subject: [bug #34777] NSMacintoshInterfaceStyle fails to put menues into the main window
Date: Tue, 08 Nov 2011 16:20:49 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22

URL:
  <http://savannah.gnu.org/bugs/?34777>

                 Summary: NSMacintoshInterfaceStyle fails to put menues into
the main window
                 Project: GNUstep
            Submitted by: julian_
            Submitted on: Di 08 Nov 2011 16:20:48 GMT
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

hello again

if you set NSMenuInterfaceStyle  to NSMacintoshInterfaceStyle the menus are
put into the application window if gnustep finds an appropriate window to put
them into, or at the top (mac like) if it can't find a window - which happens
too often.

the attached application first loads its main XIB file MainMenu.xib which only
contains the menu and then loads Window.xib which contains the main window.
even in this very simple case gnustep fails to put the menu into the main
window and puts in at the top instead. in cocoa its common to seperate XIB
files and only load them on demand so thats not an utopical case.

i do not know why NSMacintoshInterfaceStyle tries to put menues into the
windows anyway, since the mac menubar is always at the top.

for deploying applications to gnome/kde/windows its imperative that the menus
are always in the windows and never horizontal or at the top, because that
looks completely out of place on these environments, in the case of gnome the
top menubar even covers/hides the gnome-panel!

i'd suggest:
• modifying NSMacintoshInterfaceStyle so that the menu is always at the top,
because thats what the mac menu bar style actually is
• adding a new NSWindowsLinuxInterfaceStyle that always puts the menus into
windows and never falls back to displaying them at the top (or horizontally).
this new style could be used for deploying apps to windows/linux end users.

note that this bug does not exist in cocotron, it correctly puts the menu into
the window although it is loaded after the MainMenu.xib. obviously we can't
compare with Mac OS X here because it always has the menu bar at the top.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Di 08 Nov 2011 16:20:48 GMT  Name: gnustepbug.zip  Size: 120kB   By:
julian_

<http://savannah.gnu.org/bugs/download.php?file_id=24329>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34777>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]