Setting "Window position and size" is wrong calculated
|Reported by:||Sworddragon||Owned by:|
|Component version:||Operating system type:||Linux|
|Operating system version:||Ubuntu 3.7.0-4.12-generic 3.7.0-rc7|
On calculating the vertical offset desktop panels are ignored which will result in a not exactly centered FileZilla on the default configuration.
For example on a resolution of 1680x1050 FileZilla calculates a vertical offset of 138 pixel. My panel has a height of 24 pixel and on checking with GIMP I'm getting 138 pixel from the top of my desktop to the top of FileZilla and 114 pixel (138 - 24) from the bottom of FileZilla to the bottom of my desktop. The correct value would be a vertical offset of 126 pixel if the panel would be considered (with 126 pixel on this resolution FileZilla would be correctly centered then). Only if the resolution gets too small (for example 800x600) FileZilla is forced to calculate the correct value because of the missing space.