! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Maximize window does not take borders and struts in account
Status:
RESOLVED: FIXED

Comments

Description Nick Schermer editbugs 2009-02-18 09:59:45 CET
Yesterday I used the 'Maximize window' shortcut with the following setup:

- Workspace margin (top, bottom, left, right): 10 10 40 10.
- 30px panel on the left edge of the screen.
- 2 terminal windows above each other on the right edge of the screen.
- 1 editor window in the free space on the left side of the screen.

When I tried the maximize the window the x,y position was 40,10 which is correct  because of workspace margin (which is bigger then the panel struts), height was also ok, but it overlapped the terminal windows by ~30 or ~40 pixels, while it should maximize up to the terminal borders.

Some ASCII art:

####################################
#[ ]                   [          ]#
#[p]                   [ terminal ]#
#[a]  [        ]       [          ]#
#[n]  [        ]                   #
#[e]  [ editor ]       [          ]#
#[l]  [        ]       [ terminal ]#
#[ ]  [        ]       [          ]#
#[ ]                   [          ]#
####################################
Comment 1 Olivier Fourdan editbugs 2009-02-18 10:11:02 CET
You mean "fill" rather than maximize, right?
Comment 2 Nick Schermer editbugs 2009-02-18 10:12:57 CET
O, yeah, fill window, whoops.
Comment 3 Olivier Fourdan editbugs 2009-02-18 19:40:38 CET
Should be fixed in revision 29511.
Comment 4 Olivier Fourdan editbugs 2009-02-18 19:41:26 CET
humm nope.
Comment 5 Nick Schermer editbugs 2009-02-18 20:02:31 CET
It doesn't take workspace margins in account. The size of the too width editor (where it overlaps the terminal) == margin size. Moved the panel and that didn't make a  difference, so it's only the margin.
Comment 6 Olivier Fourdan editbugs 2009-02-18 22:39:15 CET
It does here, now, seems to work as expected.
Comment 7 Olivier Fourdan editbugs 2009-02-18 22:46:00 CET
Please try with rev. 29512 or later.
Comment 8 Nick Schermer editbugs 2009-02-19 18:05:34 CET
Yes works fine now, thanks.

Bug #4960

Reported by:
Nick Schermer
Reported on: 2009-02-18
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information