I'm porting an app to Linux that's currently running on Win and OS X, and the app has multiple windows for various views with one floating window which is a toolbar we position at the top of the display.
With Mac and Win we can use their APIs to set a limit on the size of a window when the user clicks the Maximize button, so the result places the window along the left, right, and bottom of the display but the top is just below the toolbar.
We've been trying to turn up an API for Gnome which would allow us to define the maximize bounds, but my lead tells me there is no such thing.
We have long-term plans to migrate the multi-window UI into a single window divided into panes, so after we implement that next year we won't have this challenge at all.
But we have some university customers who'd like us to deliver our Linux version ASAP, and we have the budget to do so but I'm concerned that the current maximize behavior makes it too easy to have the view windows submarine beneath the toolbar, obscuring the controls which would let them restore the original rect of the window.
Is there an API somewhere that we've overlooked which would enable us to do this?
So far the only workaround we can come up with is to resize the window back down after maximize, but that's ugly of course and I'd like our Linux version to be as attractive as we can make it.
Thanks in advance for any tips you can offer.