Description of problem: Compiz decorator not works Version-Release number of selected component (if applicable): compiz-decorator-gtk-1:0.8.16.1-3.mga7 How reproducible: compiz-decorator --replace Error en el gestor de ventanas: Could not find a button to strip. n_left = 9 n_right = 7 Abortado (`core' generado) Steps to Reproduce: 1.Open a terminal 2.Execute compiz-decorator --replace
According to bug reports on Internet [1][2], a simple rebuild should fix the issue. Please test compiz-0.8.16.1-3.1.mga7 from core/updates_testing. [1] https://dev.getsol.us/T7830 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1708056
CC: (none) => jani.valimaa
@, Jani: Thank you for picking this up so quickly. Assigning to you as you dealt with it. I confirmed the fault after installing compiz-decorator-gtk-0.8.16.1-3.mga7 and its dependencies, with compiz-0.8.16.1-3.mga7 $ compiz-decorator --replace Nam yn y rheolydd ffenestri: Could not find a button to strip. n_left = 9 n_right = 7 Aborted (core dumped) However, I could not find compiz-0.8.16.1-3.1.mga7 in core/updates_testing to try it.
CC: (none) => lewyssmithAssignee: bugsquad => jani.valimaa
(In reply to Lewis Smith from comment #2) > > However, I could not find compiz-0.8.16.1-3.1.mga7 in core/updates_testing > to try it. Please check again when mirrors are up-to-date. Pkg just finished building.
Thank you Jani. Updated from core/updates_testing to: - compiz-0.8.16.1-3.1.mga7.x86_64 - compiz-decorator-gtk-0.8.16.1-3.1.mga7.x86_64 Under Mate desktop: $ compiz-decorator --replace [nothing happened, but no error] ^C @Jehú : it is up to you now to try this update, please, since you obviously have a system with the relevant components. Please report whether the update fixes the problem for you.
See also bug 26453. In the hope of seeing something happen, I tried: $ compiz-decorator ccp --replace which also did nothing, but did not crash. This + lack of feedback from Jehú means I am closing this bug OK.
Status: NEW => RESOLVEDResolution: (none) => FIXED
This update comment 1 never got progressed, and bug 26453 is a consequence of that for straight 'compiz'. @Jani Please can you do the bugfix Advisory and pass this to QA. I can invent one if you like, but it might be wrong especially re packages in core/updates testing. -------------- @QA eventually See bug 26453 for background about launching compiz. It has already been tested under Mate, so should be quick to test: error on launching, or not. Compiz from its Tools menu entry, or $ compiz ccp --replace $ compiz-decorator --replace
Status: RESOLVED => REOPENEDSummary: Mate 1.22 breaks Compiz decorator => Compiz and Compiz decorator broken in Mate 1.22Resolution: FIXED => (none)
*** Bug 26453 has been marked as a duplicate of this bug. ***
CC: (none) => paul.blackburn
I have just done some more testing. The problem is manifest as there being no window decorations (eg title, ^ v x missing at top right of windows and right-clicking on the window title does *not* produce a drop down menu. On attempting to start compiz-decorator: [mpb@localhost ~]$ compiz-decorator --replace Bug in window manager: Could not find a button to strip. n_left = 9 n_right = 7 Aborted (core dumped) [mpb@localhost ~]$ type compiz-decorator compiz-decorator is hashed (/usr/bin/compiz-decorator) [mpb@localhost ~]$ rpm -q --whatprovides /usr/bin/compiz-decorator compiz-0.8.16.1-3.mga7 As a work-around, I tried installing the compiz emerald window decorator. [mpb@localhost ~]$ type emerald emerald is /usr/bin/emerald [mpb@localhost ~]$ rpm -q --whatprovides /usr/bin/emerald emerald-0.8.16-2.mga7 [mpb@localhost ~]$ This is started thusly: [mpb@localhost ~]$ emerald --replace While this does work there is clearly a bug with Mageia's compiz-decorator (which works corrrectly in Kali Linux).
Some additional information: screenshots of Mageia and Kali with compiz for comparison. Notice the red coloured "emerald" window decoration in the Mageia image and the MATE window decoration in Kali image. Mageia: https://i.imgur.com/9qmQCzc.png Kali: https://i.imgur.com/Bmi6Fy4.png
(In reply to Paul Blackburn from comment #8) > I have just done some more testing. Can you do $ rpm -q compiz which should show compiz-0.8.16.1-3.1.mga7 and likewise for $ rpm -q compiz-decorator-gtk compiz-decorator-gtk-0.8.16.1-3.1.mga7 If you do not have these, please get them from Core/updates_testing. > The problem is manifest as there being > no window decorations (eg title, ^ v x missing at top right of windows and > right-clicking on the window title does *not* produce a drop down menu. Well, running Mate with compiz-0.8.16.1-3.1, starting Compiz from the Tools menu, I see none of these absences. The windows look almost the same as before, the title bar is complete, right-clicking it does show the usual window menu. The only ways I know compiz is running are: $ ps ax | grep compiz 26482 ? Sl 0:03 compiz ccp --replace and the fact that Ctrl/Alt/arrow behaves in a sliding manner. I will re-start X to give compiz-decorator a clean start.
(In reply to Paul Blackburn from comment #8) > On attempting to start compiz-decorator: > [mpb@localhost ~]$ compiz-decorator --replace > Bug in window manager: Could not find a button to strip. n_left = 9 n_right > = 7 > Aborted (core dumped) As I have always found, starting compiz-decorator-gtk-0.8.16.1-3.1 $ compiz-decorator --replace or $ compiz-decorator ccp --replace does absolutely nothing; always the terminal command does not return to the prompt, just sits there until Ctrl/C. $ ps ax | grep compiz $ which is useless, but *it does not give the bugged error and crash*. > As a work-around, I tried installing the compiz emerald window decorator. > While this does work there is clearly a bug with Mageia's compiz-decorator > (which works corrrectly in Kali Linux). Maybe we should change this bug accordingly. What *should* this package do? I have just tried launching it with compiz running: $ compiz-decorator --replace and nothing changed: 'ps' still shows just compiz. Re the comment 9 screenshots, I found them incomprhensible except for "the red coloured "emerald" window decoration [title bar] in the Mageia image". Are not straight screenshots possible?
Hello Lewis, I have tested the pending update in Updates testing: compiz-0.8.16.1-3.1.mga7.x86_64.rpm compiz-decorator-gtk-0.8.16.1-3.1.mga7.x86_64.rpm These do fix the current problem with: [mpb@localhost ~]$ compiz-decorator --replace Bug in window manager: Could not find a button to strip. n_left = 9 n_right = 7 Aborted (core dumped) In addition, with compiz running, application windows now have the correct "window decoration": Title bar, "v ^ X" at top right, and right-click on title bar drops down the correct menu. I made a brief desktop video to show it working: https://youtu.be/QErvBMQIZtQ My understanding of the compiz-decorator-gtk package is: "This package provides a GTK window decorator for the compiz OpenGL compositing manager." So, we have a minimal working Compiz but there are other Compiz packages available. See also: https://github.com/compiz-reloaded. eg: compiz-plugins-extra and compiz-plugins-experimental
Thank you very much Paul for the previous comment. That looks like a good test. We have 'compiz-plugins-main'. If you want to make a formal new package request for 'compiz-plugins-extra' and 'compiz-plugins-experimental', please raise an appropriate bug. --------------- @Jani: please correct what follows if it is wrong. ------------------------------------------------- This update needs to go out, so without the proper authority, I am passing this to QA. Easy testing, under Mate. It crashes, it does not! See comment 12. From comment 1: In core/updates-testing: - compiz-0.8.16.1-3.1.mga7.x86_64.rpm - compiz-decorator-gtk-0.8.16.1-3.1.mga7.x86_64.rpm SRPM: compiz-0.8.16.1-3.1.mga7.src.rpm Bugfix advisory needed along the lines of: Title: compiz & compiz-decorator-gtk crash under Mate Description: On startup the two programs crashed with the message "Bug in window manager: Could not find a button to strip. n_left = 9 n_right = 7" which fault is fixed by this update.
Assignee: jani.valimaa => qa-bugsSource RPM: compiz-decorator-gtk-1:0.8.16.1-3.mga7 => compiz-0.8.16.1-3.mga7.src.rpm
MGA7-64 MATE on Lenovo B50 No installation issues. I don't know what to thinkof it, as I never used compiz before. So before the installation, I have Mate setup, with four workspaces. In 1 I have Firefox, in 2 MCC, in 3 QARepo, in 4 Mate terminal After the update is installed, the same. Then I run "Compiz start" from the Tools menu, and then all four windows get into Workspace 1. And at CLI: $ compiz-decorator --replace (gtk-window-decorator:7971): dbind-WARNING **: 11:24:21.460: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. And the command hangs.
CC: (none) => herman.viaene
Oh yes, when I Ctrl-C to free the terminal, all winddow decorations disappear.
Hello Herman, Please confirm the versions of compiz and compiz-decorator-gtk you have? Example: [user@localhost ~]$ rpm -q compiz compiz-decorator-gtk compiz-0.8.16.1-3.1.mga7 compiz-decorator-gtk-0.8.16.1-3.1.mga7 Note that the 0.8.16.1-3.1 is the update testing version One of the things I found with Compiz is that it uses a single (very wide) workspace. So you can see all the application windows on different MATE workspaces all appear in what looks like the first workspace. I wrote a script "compiz_position" to re-position the applications I use across the single very wide workspace of compiz so they appear in the "right" surface of the 3D desktop. I am currently writing a draft wiki page which may help you get more from Compiz. Please see: https://wiki.mageia.org/en/User:Codegazer/First_step_with_Compiz_fusion You will find "compiz_position" script in this wiki page.
Confirm it is the 0.8.16.1-3.1 is the update testing version.
Re comment 14: Because the original bug referred only to 'compiz-decorator-gtk', it never occurred to me that this might meant to be run *with* (on top of) straight compiz. Good thinking Herman. This might explain why on its own, it seems to do nothing. Back to square one? compiz: an OpenGL compositing manager ... can also be a window manager compiz-decorator-gtk: provides a GTK window decorator for ... compiz Under Mate: $ rpm -qa | grep compiz | sort compiz-0.8.16.1-3.1.mga7 *** compiz-ccsm-0.8.16-2.mga7 compizconfig-0.8.16-2.mga7 compizconfig-python-0.8.16-3.mga7 compiz-decorator-gtk-0.8.16.1-3.1.mga7 *** compiz-manager-0.7.0-2.mga7 lib64compizconfig0-0.8.16-2.mga7 Start compiz from menu: $ ps ax | grep compiz 1512 ? Rl 0:02 compiz ccp --replace Add compiz-decorator: $ compiz-decorator --replace [no error] I noticed some too-subtle-to-identify changes, but no new process. $ ps ax | grep compiz 1512 ? Sl 0:02 compiz ccp --replace > Ctrl-C to free the terminal, all window decorations disappear. I found similar, including the title bar & its window control icons. In fact this is reasonable: if you kill the window decorator, what do you expect? @Herman: why are we seeing different results? Within the obscurities of compiz, Paul & I are finding things work as they 'should'.
@ Lewis: If I could answer that question, I probably would not have the issue. The only thing I can imagine is this: I installed this setup with Plasma, Xfce and Mate (you get ICEWM for free anyway). I use almost exclusively Plasma, but I as first action after installation I switch off Compiz and all 3D- and all desktop effects, all of them. So, I wonder whether this installation is missing some parts to run Compiz successfully. And frankly speaking, I'm not interested at all, so I better leave it.
I follow your sentiments! But this thing has been hanging around for *ages*, so we need to get it out. Otherwise Paul's bug would not have happened. It is a pain that the bug reporter Jehú never gave feedback. The error you reported in comment 14 may be benign; "the command [$ compiz-decorator --replace] hangs" is normal, it simply does not return. And knowing whether it is in operation, has any effect, is difficult to know. It is clearly of minority interest. I am OK'ing this, and hope TJ will agree to validate it.
Severity: major => normalWhiteboard: (none) => MGA7-64-OK
Looks like it's probably OK to me. Validating. @Lewis: somebody still needs to craft an advisory. Thanking everybody for sticking with this one.
Keywords: (none) => validated_updateCC: (none) => andrewsfarm, sysadmin-bugs
I have tested compiz with xfce in Mageia 7 and it is working. Windows have correct "decoration": title, v^X at top right and right click on title bar displays correct drop-down menu. [user@localhost ~]$ rpm -q compiz compiz-decorator-gtk compiz-0.8.16.1-3.1.mga7 compiz-decorator-gtk-0.8.16.1-3.1.mga7 screenshot: https://i.imgur.com/nlmu75V.png
(In reply to Thomas Andrews from comment #21) > Looks like it's probably OK to me. Validating. Thanks, I agree. Paul's testing was good (and mine was OK). > @Lewis: somebody still needs to craft an advisory. I drafted one in comment 13, but 'made up' the SRPM. I wish Jani would come back on board to verify it. I will do the advisory if necessary.
Also tested compiz with LXDE in Mageia 7 and it is working. In ccsm, i have "MATE compatibility" enabled. Windows have correct "decoration": title, v^X at top right and right click on title bar displays correct drop-down menu. [user@localhost ~]$ rpm -q compiz compiz-decorator-gtk compiz-0.8.16.1-3.1.mga7 compiz-decorator-gtk-0.8.16.1-3.1.mga7 brief video: https://www.youtube.com/watch?v=NwuSLcwTERE
Keywords: (none) => advisory
Should have posted this at the same time. Advisory taken from, and corrected a bit, comment 13: -------- type: bugfix subject: Updated compiz packages fix broken by Mate 1.22 src: 7: core: - compiz-0.8.16.1-3.1.mga7 description: | On startup, compiz & compiz-decorator-gtk failed to start with the message "Bug in window manager: Could not find a button to strip. n_left = 9 n_right = 7"; which fault is fixed by this update. references: - https://bugs.mageia.org/show_bug.cgi?id=25147 - https://dev.getsol.us/T7830 - https://bugzilla.redhat.com/show_bug.cgi?id=1708056
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0100.html
Status: REOPENED => RESOLVEDResolution: (none) => FIXED