Move Window to Workspace Up/Down places window too high
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: compiz
Reproduction steps:
1. Enable Desktop Effects, either Standard or Extra.
2. Configure the Workspace Switcher to have several rows; I have 6 rows and 1 column.
3. Put a window against the top or bottom edge of the screen (this makes it easier to see the problem).
4. Right-click on the window's title bar, and pick "Move to Workspace Up/Down"
Expected: The window remains against the top/bottom edge of its new workspace.
Actual: The window's position in the new workspace is moved up by the height of the title bar. It appears compiz doesn't add the titlebar's height to the window's height when doing its calculations. This is especially evident if the window is at the top of the workspace when you move it, as the titlebar then lives on the upper workspace with the window itself on the lower one (note: if you move it up to the top workspace row, then it correctly limits itself to the top of the workspace). If you pay attention though, you can see that it happens no matter where the window is positioned on the screen.
This bug also occurs using the Move to Another Workspace submenu, though that seems to have other problems that complicate the matter so I'll file that bug separately.
I forgot to mention, with Desktop Effects disabled then Move to Workspace works perfectly.