Compiz ignores _MOTIF_WM_HINTS set from xprop

Bug #1702297 reported by Alberts Muktupāvels on 2017-07-04
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Medium
Alberts Muktupāvels
compiz (Ubuntu)
Medium
Alberts Muktupāvels
Nominated for Xenial by Marco Trevisan (Treviño)
Xenial
Undecided
Unassigned

Bug Description

[Impact]

Trying to remove and/or re-add window decorations using xprop does not work. Compiz expects that _MOTIF_WM_HINTS property type is _MOTIF_WM_HINTS while xprop use CARDINAL type.

[Test Case]

xprop -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x0, 0x0, 0x0"

Use this command from terminal and then select window from which to remove decorations. Decorations should disappear from selected window.

To re-add decorations use this command:
xprop -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x1, 0x0, 0x0"

[Regression Potential]

Metacity and Mutter also use AnyPropertyType when reading _MOTIF_WM_HINTS property so I guess there should be no regressions.

Related branches

summary: - Compiz ignores _MOTIF_WM_HINTS
+ Compiz ignores _MOTIF_WM_HINTS set from xprop
kenn (whatnext) wrote :

I am waiting for that patch to have been merged but I think it's not been released yet.

It is merged and should be available in 17.10, but it is still not available / merged in 16.04...

Changed in compiz:
status: New → Fix Committed
Changed in compiz (Ubuntu):
status: New → Fix Released
no longer affects: compiz/xenial
Changed in compiz:
importance: Undecided → Medium
Changed in compiz (Ubuntu):
importance: Undecided → High
importance: High → Medium
Changed in compiz:
assignee: nobody → Alberts Muktupāvels (muktupavels)
Changed in compiz (Ubuntu):
assignee: nobody → Alberts Muktupāvels (muktupavels)

Hello Alberts, or anyone else affected,

Accepted compiz into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/compiz/1:0.9.12.3+16.04.20171116-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in compiz (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed verification-needed-xenial
John Lenton (chipaca) wrote :

Verified that 1:0.9.12.3+16.04.20171116-0ubuntu1 fixes the issue on xenial: before upgrading, I confirmed xprop didn't disable the decorations on an xterm window; after upgrading, it did.

Thank you!

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers