After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 634247 - Toggle showing window frame decoration
Toggle showing window frame decoration
Status: RESOLVED WONTFIX
Product: metacity
Classification: Other
Component: general
trunk
Other Linux
: Normal enhancement
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2010-11-07 20:32 UTC by Kenny Meyer
Modified: 2015-04-15 13:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Toggle showing window frame decoration in metacity (4.62 KB, patch)
2010-11-07 20:32 UTC, Kenny Meyer
none Details | Review

Description Kenny Meyer 2010-11-07 20:32:46 UTC
Created attachment 174024 [details] [review]
Toggle showing window frame decoration in metacity

I wanted this what you find in tiling-based window manager, like awesome or fluxbox, which have no window frame decoration - their solution is to provide keyboard bindings for tasks like closing, resizing or moving windows.
I recently switched back from awesome to GNOME, and wanted this exact feature.

I did some research and found that Compiz had this feature, so I thought I'd add this feature to metacity also.
There was another solution tackling this problem, by creating a theme with no title frame, but I think this is not the right solution. [1]

[1] http://ubuntuforums.org/showpost.php?p=6126565&postcount=8

I did some hacking earlier this day by changing a single line, compiled metacity and it worked straight-away. See more about that here [2].

[2] http://kennymeyer.blogspot.com/2010/11/hacking-metacity-remove-window.html

For submitting a patch I wrote a better version with a GConf interface to toggle showing window frame decoration in Metacity.

So, have a look at the patch, please, and tell me if we can see this in the next Metacity release, or if I can do it better.
Comment 1 Sindre Røkenes Myren 2011-05-28 10:15:28 UTC
I would like "Toggle showing frame decoration" as well, but for a different reason: When windows in gnome 3.0 are maxemized, the titlebar takes an awfull lot of space, and you don't really need it there.

Ubuntu 11.04 Unity deals with this "problem" by moving the titlebar into the top-panel as a tab with close and de-maxemize buttons for maxemized windows - having a simular feature for gnome 3.0 would be cool.


@Kenny: Width the "Toggle showing frame decoration" on place, I could reccomend using pytyle on top of metacity (if you haven't allready tried it). It can be run on top of most window managers, and gives you an easy switch betwean tiling and no-tiling for each virtual workspace.
Comment 2 Kenny Meyer 2011-05-28 12:15:37 UTC
Sindre, thanks for commenting on this feature request. The patch I've attached worked under GNOME 2.x, but I'm not sure if it is going to work under GNOME 3.

Also, I don't want to use a third-party tool for enabling/disabling window frame decoration, but I would like a "clickable" approach.

Unfortunately no core developers haven't time yet to review the patch, or comment on this feature.
Comment 3 Sindre Røkenes Myren 2011-05-28 15:08:52 UTC
I guess my wishes diserves a new 'feature request', or I'll have to write it myself as a gnomw-shell extension.

@ Kenny:  I saw, after committing, that your patch was for Gnome 2.0 - It most deffenantly wont work for Gnome 3.0, as Gnome 3.0 doesn't use metacity. Futher, I guess this really isn't the forum for this, but pytyle is not mainly for diabling window decorations, but for managing window tiling (like in Awesome), and optionally hiding the window decoration for workspaces with tiling enabled - documented here: http://pytyle.com/wiki/Main_Page.