Welcome to awesome bug tracking system.

FS#773 - Titlebar support missing in master

Attached to Project: awesome
Opened by Uli Schlachter (psychon) - Wednesday, 26 May 2010, 18:58 GMT
Last edited by Uli Schlachter (psychon) - Saturday, 03 November 2012, 18:29 GMT
Task Type Feature Request
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version git/master
Due in Version 3.5
Due Date Undecided
Percent Complete 100%
Votes 10
Private No


I just filled like filing another bug that I could mark as a release blocker for 4.0.
Just for making sure that we don't forget this. Because it's said there are people who want titlebars and stuff...

Also, people who want titlebars (back) can vote on this!
And yeah, I might be a little bored... Still, bug filled!
This task depends upon

Closed by  Uli Schlachter (psychon)
Saturday, 03 November 2012, 18:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  As far as I can tell, everything is in place now. Let's wait for bug reports....
Comment by Roman Kosenko (kite) - Thursday, 15 July 2010, 23:40 GMT
I'm using titlebar for non-maximized dialog windows (in order to have possibility to quickly close them by mouse).
Even more - I want more customization (from rc.lua) of titlebar widget layout (at least possibility to simply reverse order of icons/title), as for now I have to patch titlebar.lua :(
Comment by Igor S. (ciphr) - Friday, 30 July 2010, 23:43 GMT
Yes, me too, I didn't notice this topic at once, and added a feature request for titlebar options (I don't like panels/taskbars and don't need so many buttons in titlebar). And after all, making Tiling+Openbox hybrid will do the perfect WM for me :) WMII is a close one, but awesome is much prettier
Comment by Uli Schlachter (psychon) - Monday, 10 January 2011, 17:50 GMT
This is what the current plan seems to be:

- Reparent drawins to other drawins
- Reparent clients to drawins
- Implement widgets as drawins (simplifies event handling a lot, loses some feature that we have with cairo right now)
- (Drop .screen on drawins and clients, it conflicts with :geometry())
- Somehow merge client and widget layouts
- Lots of fixage until stuff works again
Comment by dodo (dodo) - Wednesday, 19 October 2011, 13:59 GMT
i reimplemented it as a widget →
it should work out-of-the-box for git/master by adding some lines to the the manage signal in the rc.lua on the bottom →

there is still stuff to do like splitting titlebar content from attaching a wibox to a window, code clean up and of course documentation.

feel free to fork and improve it
Comment by Ignas Anikevicius (gns_ank) - Saturday, 14 April 2012, 18:21 GMT
Just a thought, and if you think it is not worth implementing, feel free to ignore.

Implement titlebars in a way, so that one can have tabbed clients, which might make things easier in some cases and awesome window management would become more powerful. :)

And also, I would prefer the titlebar to behave just like a wibox, so that the buttons and the titles would be simple widgets. The clientlist widget could be modified slightly to provide the tabbing and the title showing functionality.

What do others think about it? Is it even possible to do something like that?

Comment by Uli Schlachter (psychon) - Tuesday, 16 October 2012, 15:23 GMT
I just pushed commits which add the "technical part" of titlebars. It is now possible to add titlebars to clients and have widgets draw in there.

What is missing is:
- Actual lua code. Something like the old awful.titlebar.
- Size hints get messed up (the size hints are applied to window+titlebar, but should only apply to the actual window part of the window)
- Lots and of testing.
Comment by Uli Schlachter (psychon) - Tuesday, 23 October 2012, 18:32 GMT
I soon pushed (yes, I noticed the weird tense in this sentence, too) a commit which adds awful.titlebar and the necessary rc.lua changes.

Still left:
- Size hints get messed up (see above)
- minimize button?
- fullscreen button?
- Hide titlebar on fullscreen
Comment by Uli Schlachter (psychon) - Saturday, 03 November 2012, 18:28 GMT
Some time has passed. Still missing are the minimize and the fullscreen button which likely won't show up, because I am too lazy to add icons for them. Minimize can be done in the default config by clicking in the tasklist anyway.

So let's leave the fullscreen button as an excersise for the reader. :-)