Compiz always place new windows at left-top corner

Bug #1082276 reported by Iven Hsu
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Undecided
Unassigned

Bug Description

The place window plugin seems broken, it places all the windows at the left-top corner.

When I'm selecting window placement mode in CCSM, the index always changes automatically. When I select "Smart", and restart CCSM, it changes to "Random", also "Maximize"=>"Pointer", "Random"=>"", Pointer=>"".(Seems increase by 2?)

Anyway, neither of them works.

Revision history for this message
MC Return (mc-return) wrote :

Iven Hsu, you can find a workaround here: https://bugs.launchpad.net/compiz-core/+bug/874146/comments/29

Revision history for this message
Iven Hsu (ivenvd) wrote :

@mc-return

Hi, I'm not using multimonitor and unity, are you sure they're same bugs?

Revision history for this message
MC Return (mc-return) wrote :

@ivenvd

Then it is probably not the same bug, I'll remove the duplicate status.

Revision history for this message
Mjules (mjulien-m) wrote :

Hi,

We have the same problem in mageia, both in version 0.9.7.x and 0.9.8.x. Regardless of the option the window are always put on top left corner and the option changes automatically when selected.

See : https://bugs.mageia.org/show_bug.cgi?id=7720

Regards.
Julien

Revision history for this message
cdahmedeh (cdahmedeh) wrote :

I'm building compiz from bzr and I experience the same bug in Arch Linux with XFCE.

This happens in both lp:compiz/0.9.8 and lp:compiz branches.

- Lauching compiz with compiz --replace ccp with gtk-window-decorator
- The .config/compiz-1/compizconfig/Default.ini contains the following entry:
[place]
s0_mode = 5
The s0_mode entry changes fine according to the different methods but has no effect.

All my windows are always placed in the top-left corner at 0,0. It even goes under the toolbar that I have on top on my screen even though the constain Y option is enabled for moving windows.

If I revert to the 0.8 series included in my distro, then the bug dissapears. (Huge differences between the two obviously)

Finally, a couple of months ago, this issue also exhibited itself but the window would instead always maximize.

Iven Hsu (ivenvd)
Changed in compiz:
status: New → Confirmed
Revision history for this message
cdahmedeh (cdahmedeh) wrote :

Just for reference, I used the following package to build compiz https://aur.archlinux.org/packages/co/compiz-bzr/PKGBUILD . This is just to get an idea on the build commands.

Also, it seems that those who are seeing this bug are not using Unity.

Revision history for this message
Juha Aatrokoski (jha-kurp) wrote :

I have this bug on Gentoo 64-bit and compiz 0.9.8.6. Among the plugins I use there are also others which work incorrectly that may be related to this: the resize info and snapping windows plugins do not work for newly created windows, only for windows that are present at plugin load time. This could also be the case for the place windows plugin, as it does nothing to existing windows.

Revision history for this message
Iven Hsu (ivenvd) wrote :

Seems fixed in latest bzr version, anyone can confirm this?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Iven,

If you're using a newish version of cmake then it was resolved as bug 1085581.

Revision history for this message
Robert Zelic (zeroberto) wrote :

For me it isn't fixed. I've just tried the rev 3528 on Arch, using the script from #6. Also, I made a similar script for Slackware and built the package with cmake-2.8.8. On both system I have the issue described by Iven.

Revision history for this message
Iven Hsu (ivenvd) wrote :

I rechecked CCSM on my system, and found the bug of the CCSM option still exists. However, new windows isn't placed at left-top corner any longer. Dialogs appear in the middle of their parent windows.

How about you, Robert?

Revision history for this message
Robert Zelic (zeroberto) wrote :

That happens only if I change the s0_mode to 4 in the ~/.config/compiz-1/compizconfig/Default.ini. The dialogs are in middle, and the new windows open randomly I think, but not at the top-left corner. When I change the placement options in CCSM, the s0_mode becomes 2, 5 or empty in Default.ini. No way to get 4.
Also, I miss the centered option, that's the one I was using for long time in the earlier versions.

Revision history for this message
Juha Aatrokoski (jha-kurp) wrote :

I can confirm that it is fixed for me on Gentoo, at least for the place/resizeinfo/snap plugins. I compiled 0.9.9~daily12.12.05-0ubuntu2 and the plugins worked. It was not fixed in 0.9.8 (bzr 3429), but after patching 0.9.8 with http://bazaar.launchpad.net/~compiz-team/compiz/0.9.9/revision/3500 the plugins worked. (Though the window place mode selection in ccsm is broken, but that's just a minor annoyance for me.)

Revision history for this message
MC Return (mc-return) wrote :

yes, this one is definitely fixed.

Changed in compiz:
status: Confirmed → Fix Committed
Stephen M. Webb (bregma)
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.