Bug 4771 - Maximized windows, Struts and decorations
Status: NEW
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: 3.4.11.2
Hardware: PC Linux
: P3 enhancement
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2010-09-24 04:40 EDT by Jesús Guerrero
Modified: 2014-10-30 07:28:56 EDT
2 users (show)

See Also:


Attachments
Illustrative screen shot (229.00 KB, image/png)
2010-09-24 04:40 EDT, Jesús Guerrero

Description Jesús Guerrero 2010-09-24 04:40:09 EDT
Created attachment 2456 [details]
Illustrative screen shot

Hello.

This is an issue I bring from the Openbox mailing list as suggested by Dana Jansens.

I use Openbox as my WM under a somewhat-gnome-ish desktop. I have reserved struts all around my screen due to three gnome panels (up, down and left) and a couple of gkrellm instances (to the right).

When I maximize a given window Openbox removes the window borders, which to my eyes looks a bit odd when the window is not fitting the whole screen due to struts. I wanted to know if there's a feature to instruct openbox not to remove the window borders for maximized windows, but it seems there's no such feature and Dana asked my to open a new feature request here for that. 

I think that this feature could be useful for those having struts. Openbox directly support setting struts via <margins>....</margins> on its config file so it only makes sense to polish this feature by providing a way to preserve window borders on such circumstance, or, if there's an agreement, to directly preserve them when struts are defined for all the four screen borders.

Another question would be if there's a sense in -for example- preserving the right border while ripping off the left border when there's a margin to the right but no margin to the left side of the screen.

Thanks for reading and for any response :)
Comment 1 Netsu 2014-10-30 05:18:19 EDT
Can we expect this feature to be added eventaully?

I'd love to have something like a 'disable-maximised-borders: true/false' option in the themerc.
Comment 2 Mikachu 2014-10-30 07:28:56 EDT
I think regardless of the option, we need to always hide the border for each edge that is on a screen edge, and then depending on the option show or not show the border for edges that aren't on a screen edge. The reason we need to hide them is that otherwise they "stick out" on a neighbouring monitor in a multi-monitor setup.