Written by sicofante the 8 Mar 10 at 07:05.
Related project: Gnome.
Status: Implemented
Rationale
The newer themes for Lucid make no colour distinction between the menubar and the titlebar. Check any picture of a window with the new themes for Lucid and you'll see the amazing waste of vertical space.
Also new in these themes is the feature that a window can be dragged by both its titlebar and its menubar. Makes sense, since it's a big fat single colour area.
Widescreens are more and more 16:9, which makes them vertically shorter. Vertical space is becoming more and more precious.
Isn't it time to merge both the titlebar and the menubar?
While it sounds wonderful, I have my doubts it can be done in a practical sense. The two bars are produced by different programs (window manager and the application). Furthermore, different window managers can be used.
I could see making a window manager that included an interface for an application program to let the window manager include its menu bar or a linkage to it, but the application would need to retain control of the menubar even if displayed in the window title bar area.
What I cannot see is any way to make that universal to all, or even many, window managers and applications. Perhaps it is doable, but I would doubt it being widespread enough to be really useful.
Darwin Survivor(Brainstorm moderator)
wrote on the 8 Mar 10 at 22:20
This feature would *definitely* need 100% backwards compatibility on both sides. Many window managers support dissabling titlebars (compiz, openbox, etc) and many don't even support having them (xmonad, etc). You also run into the gtk vs qt vs sdl library issues and end up with a lot of workarounds. The reason apple was able to do this was because ALL their apps use the same libraries and all their machines use the same window manager.
This would be a cool feature, but would need a LOT of work to do.
mixing the menubar & the titlebar is not very new;
What i'd like very much is an option to make my place my title bar where I want.
Following vertically the window on the left or right would be very usefull.
what do you think of that?
This would be a window decorator awesome feature I think.
For the reasons stated a merge of both title and menu bar is not likely to happen due to technical problems.
Non the less it would be nice to redesign things to give the user more vertical space. For my system I use emerald and tweaked the design to show no titlebar at all -- while it is not as comfortable as window buttons the functionality is still accessable via shortcuts or the task bar's context menus.
All it would need to make me happy would be a close-button on each entry in the task bar -- similar to browser tabs.
On the technical side, it should be easy to implement by completely removing titlebar and adding window buttons to GTKMenuBar widget. Problems: 1) What to do if an app doesn't have a menubar? 2) How to deal with non-GTK apps, including Firefox?
Providing a special API for accessing the titlebar is also an option.
By the way, GNOME 3.0 doesn't seem to need that merge, and Ubuntu 10.10 will be based on 3.0.
@Dazed_75: There's a program that removes the menu bar and places it on the panel. Something like that could be done with the title bar instead of the panel. The problem is that it doesn't work with certain programs (I think Firefox was one of them).
So an alternative is to just make the title narrower.
BTW, I would replace the File menu (or whatever menu is the first) with the application icon. And have big application and close buttons. Also, maybe you don't like this idea, but maximize/close/minimize could be merged on a single button and use one of the 3 mouse buttons to select what to do.
Those who can access a Windows computer, please check the Nokia Ovi Suite to see how this merge would work in real life.
With a single title/menu bar you get these other benefits:
- If you have only a lower panel (like in Mint), snapping your window to the top of maximising it will provide you with a "Fitts's Law friendly" menu bar. In a big monitor you can have two apps snapped to the top border of the screen at the same time, unlike the Mac-like global menu, but providing the same advantages.
- When using a netbook, the amount of screen real estate you get back is proportionately huge (compared to big desktop monitors). Also, since most netbook users have their windows always maximised, you get the same benefits that the global menu brings.
Can't find how to edit comments: where it says "snapping your window to the top of maximising it", it should say "snapping your window to the top **or** maximising it"
>>On the technical side, it should be easy to implement by completely removing titlebar and adding window buttons to GTKMenuBar widget.
Just what I thoought. You might also add the window title just left to the window buttons (provided they are on the right). As in the Nokia Ovi suite example I suggested.
>>Problems: 1) What to do if an app doesn't have a menubar?
The you just keep the titlebar for that window? I understand removing the titlebar on a per-window basis is not ideal, though.
>>2) How to deal with non-GTK apps, including Firefox?
I don't know how exactly the global-menu team deals with this (or if they do it at all). But I guess such an important app could be patched individually.
>>Providing a special API for accessing the titlebar is also an option.
Sounds good too. Is nice to read that the technical hurdles can't be overcome. Some refuse even to discuss this based on technical grounds (see some comments above).
>>By the way, GNOME 3.0 doesn't seem to need that merge, and Ubuntu 10.10 will be based on 3.0.
How so???? I don't know much about Gnome 3.0 but do they merge both bars already? That would be great news.
Drop title bar on top of the application menubar and roll it on to the right (i.e. hide). When the user moves the cursor on top right corner of the window the title bar rolls out from the right edge of the window. Recognition area can be about the same size as the current minimize-maximize-close window buttons. Usability can be enhanced so that when the cursor nears the recognition area the title bar rolls out as transparent and transparency is reduced while the cursor is moved closer to the open - close buttons.
In case some application happens to use the recognition area add key board button to disable feature temporarily i.e. menu bar does not appear if super button is pressed.
Well I guess this could be done in colaboration with gnome2-globalmenu - just have to tell metacity somehow to draw what they draw in the panel. But it will have the same problems: Won't work with KDE programs (at least for now), won't work with OpenOffice, won't work with Firefox.
But well, perhaps than someone would do those hacks to OpenOffice and Firefox - I guess we would have IceWeasel than too?
I like the idea of putting the titles to the left or right - after all most windows are wider than high, so we would use less pixels. Left would feel more natural to me - but than the close button could be to close to the file menu.… well that's fixable just move it to the middle or a bit down.
I don't think they could merge for a lot of reasons, but technical aspects aside it would be awful for dragging the window, if the window is maximized there won't be any problems but when treating with a more or less small window you just wouldn't have were to click.
This problem for me is HUGE I have like 20cm of screen after all the bars and menus and panels, I took out the status bar in firefox to have more space anyway I hope this is implemented soon, I already posted my fix.
Some policiy would have to be in place to prevent clutter and reserve space for grabbing the window. Also, some policy regarding window titles should be put in place: developers should understand the title is not the place for anything else but the name of the app and -eventually- the name of the document. Forcing them to find clever shortcuts for that would be a benefit for us all. Long titles don't help anyone.
Everyone please check iTunes for Windows. I just realised it implements this idea pretty well. You'll see how neatly and elegantly the menus stay on top of the screen (a-la Mac) when you snap the window to the top, getting in fact that great Fitts's Law effect Mac Users enjoy, while at the same time the menus follow your window when you move it far far away from the top in a large monitor. Kind of illustrates most of my points. (I already recommended checking Nokia Ovi Suite for the same reason, but some may consider it a bit non-conventional.)
Im going for the os x idea i like the bar at the top that says everything you need to know and changes program to program. I dont know if linux is standard enough for that but it would be amazing
I just gimped loads of images showing how I wish the menu and title bar where joined together ready to post in here... you beat me to it ;)
still, great idea and solution 15 would be amazing!! It would be so much better than the system they are going to implement in the netbook addition as you can see the window title and menu all the time without having to move your mouse and still saving the same amount of vertical space. I hope Mark and co actually look at this idea :)
In a s elected solution (#18): A "View"-Menu-Button. Normally the application can easily show or hide status-bar etc. This is good and easily to remember of many users.
Should this really be marked as implemented? After all, the most popular solution to this problem (Solution #1) is not implemented. In Unity the menu always appears in the top bar. In solution #1 the menu always appears in the window's own title bar, thus associated with the window to which it refers.
1. Thank you for your very interesting post. I have high regard for the valuable information you offer in your Articles. I really believe you will do much better in the future. Thanks a lot.
As for me these site have more interesting features than the other site that I know. Simply but have a lot information that I need to know. Thank you for giving this idea and Be a blessing to others.
I could not leave this blog before saying that I enjoyed a lot the quality information you present it will frequently checked on new stuff you share to the world!