Max/Min/Quit Buttons are missing

Forum rules
Before you post please read this

Max/Min/Quit Buttons are missing

Postby middlecap on Sun Jun 05, 2011 1:30 pm

(os is linux mint 11 katya)

for a couple of days every window misses the maximize/minimize and quit/close buttons in the top right corner

how do i get them back?

thanks for your stress :?
middlecap
Level 1
Level 1
 
Posts: 9
Joined: Sun May 29, 2011 4:34 pm

Linux Mint is funded by ads and donations.
 

Re: Max/Min/Quit Buttons are missing

Postby aXept on Sun Jun 05, 2011 1:47 pm

If you run compiz, you can try to turn "Windows Decoration" in effects (compiz config) off then ON again...
Registered Linux User #481425
aXept
Level 1
Level 1
 
Posts: 24
Joined: Sun May 22, 2011 4:02 am

Re: Max/Min/Quit Buttons are missing

Postby middlecap on Sun Jun 05, 2011 2:19 pm

unfortunately that did not work out :cry:
middlecap
Level 1
Level 1
 
Posts: 9
Joined: Sun May 29, 2011 4:34 pm

Re: Max/Min/Quit Buttons are missing

Postby aXept on Sun Jun 05, 2011 2:51 pm

Hm, okay..
Registered Linux User #481425
aXept
Level 1
Level 1
 
Posts: 24
Joined: Sun May 22, 2011 4:02 am

Re: Max/Min/Quit Buttons are missing - temp. SOLUTION

Postby olligod on Mon Jun 06, 2011 6:04 am

middlecap wrote:(os is linux mint 11 katya)

for a couple of days every window misses the maximize/minimize and quit/close buttons in the top right corner

how do i get them back?

thanks for your stress :?



I SECOND THAT - was a very annoying situation - FOUND A TEMPORARY SOLUTION.
I actually thought my whole desktop environment is messed up - what did I do wrong ??

This morning I finally got the idea to *look what's going on*:
System messages, including error messages, are mostly written into /var/log/messages;
You can do the following from a command line (there may be a utility in the program menu under "System" for this, too...)
Code: Select all
sudo dmesg

Et voilà - got the bastard exposed: This is the last line of the file in my case:
    [11124.839147] unity-window-de[2149]: segfault at 318 ip 0000000000415d6f sp 00007fff2301ff90 error 6 in unity-window-decorator[400000+1b000]
.. which means that a daemon (system process running in background), having to do with "window decoration" (hey - how does that relate to our problem :D ) crashed.


AND RIGHTFULLY this was the lead...


SOLUTION BELOW ! => Workaround for a bug.

Simply restart the service by typing from a commandline (it is so "nineties" - but the commandline helps me out over and over again :D )
Code: Select all
unity-window-decorator &

If you omit the & , you will not get your command prompt back, but the program should still run, as long as the command line calling it is also open.
You may then minimize the commandline window (do not close it) - but most importantly, the icons for it, and for "close", "maximize" are back !

Hope this helps you and whoever else has this problem.

I will see to get this bug filed.
And to reaffirm - a "segfault" is never the user's fault but rather one of the software's ...
olligod
Level 3
Level 3
 
Posts: 148
Joined: Wed Feb 11, 2009 6:29 am
Location: Munich, Germany

Re: Max/Min/Quit Buttons are missing

Postby AlbertP on Mon Jun 06, 2011 6:24 am

Window Decorator - in CompizConfig - seems to be turned off at some people for some unknown reason. When you turn this one on, everything is working again.

If it does not work:
Code: Select all
gtk-window-decorator &

If you use this command you don't have to install Unity. (Unity people of course have to do the command above)
Last edited by AlbertP on Mon Jun 06, 2011 10:51 am, edited 1 time in total.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5849
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Max/Min/Quit Buttons are missing

Postby olligod on Mon Jun 06, 2011 7:34 am

AlbertP wrote:Window Decorator - in CompizConfig - seems to be turned off at some people for some unknown reason. When you turn this one on, everything is working again.

If it does not work:
Code: Select all
gtk-window-decorator &

If you use this command you don't have to install Unity.

Unity is there, and turned "on" (until it crashes :lol: , by default ... on my Mint-Katya-64bit System).
I never actively installed it.

Definitely, I'd like to reaffirm - it is worth to check just **what** crashed (e.g. via the "dmesg" command, see my last post).
That gets the analysis more practical and less academic.
olligod
Level 3
Level 3
 
Posts: 148
Joined: Wed Feb 11, 2009 6:29 am
Location: Munich, Germany

Re: Max/Min/Quit Buttons are missing

Postby krustybaguette on Wed Jul 06, 2011 9:40 am

Re: Max/Min/Quit Buttons are missing - temp. SOLUTION

Postby olligod on Mon Jun 06, 2011 6:04 am
middlecap wrote:(os is linux mint 11 katya)
for a couple of days every window misses the maximize/minimize and quit/close buttons in the top right corner
how do i get them back?
thanks for your stress :?

I SECOND THAT - was a very annoying situation - FOUND A TEMPORARY SOLUTION.
I actually thought my whole desktop environment is messed up - what did I do wrong ??



I've encountered the same bug and the TEMPORARY SOLUTION has my buttons back. Questions remain:

[list=]Will the PERMANENT SOLUTION be installed via an update?[/list]
[list=]Do I need to run the command line fix every time I use MINT until there's a permanent solution?[/list]
[list=]I already see that I need to keep the terminal open but minimized to keep the buttons in place. If I need the terminal for something else will I need to open a second terminal window?[/list]

Thanks to forum members for finding this temporary fix.

krusty
krustybaguette
Level 2
Level 2
 
Posts: 66
Joined: Thu Mar 31, 2011 8:24 am

Re: Max/Min/Quit Buttons are missing

Postby AlbertP on Wed Jul 06, 2011 9:44 am

Open CompizConfig from the menu, disable Window Decorator and enable it again. If it does not help, please downgrade Compiz:
http://www.webupd8.org/2011/05/how-to-d ... 86-in.html
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5849
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Max/Min/Quit Buttons are missing

Postby xenopeek on Wed Jul 06, 2011 4:14 pm

Window decorator crash always happens when you try to use the window menu (top left in title bar [the down arrow icon], or Alt+Space key combo). There is a bugreport for this: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/740767

The fix is to change the decorator, as the wrong one is being used in default install of LM11:
1. Go to Menu -> Control Center -> CompizConfig Settings Manager
2. Open the Window Decoration configuration there
3. Change the Command to read: /usr/bin/compiz-decorator

That will fix on next login. For immediate fix, run:
Code: Select all
/usr/bin/compiz-decorator --replace &
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10508
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Max/Min/Quit Buttons are missing

Postby AlbertP on Thu Jul 07, 2011 5:04 am

After downgrading Compiz, the GTK decorator works fine for me.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5849
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Max/Min/Quit Buttons are missing

Postby olligod on Fri Jul 15, 2011 2:50 am

As of Jul-13: Routine package upgrade fixes it for me!
----------------------------------------------------------------

I did a Mint package upgrade (essentially a routine upgrade) - I noticed that xorg-packages of all kinds were included this time.
I also noticed that (as of now; meaning 2 days hence) the original window decorator problem has never occurred again.
If it does, I may act again.

At times, I love those quick workarounds - and then "sit'n wait - sit'n wait".
It does work out from time to time. :lol:

Comclusion: If one has not already done so - compiz downgrade and such may no longer be necessary.
olligod
Level 3
Level 3
 
Posts: 148
Joined: Wed Feb 11, 2009 6:29 am
Location: Munich, Germany

Re: Max/Min/Quit Buttons are missing

Postby olligod on Fri Jul 15, 2011 3:11 am

krustybaguette wrote:I've encountered the same bug and the TEMPORARY SOLUTION has my buttons back. Questions remain:

[list=]Will the PERMANENT SOLUTION be installed via an update?[/list]
[list=]Do I need to run the command line fix every time I use MINT until there's a permanent solution?[/list]
[list=]I already see that I need to keep the terminal open but minimized to keep the buttons in place. If I need the terminal for something else will I need to open a second terminal window?[/list]

Thanks to forum members for finding this temporary fix.

krusty


Just to answer (regardless of the fact that problem fixes cruising around): As mentioned in other post, the permanent solution may be there via package upgrade (further testing required).
Compiz downgrade (as described in this thread) would be my last resort - as it involves messing with your software repositories - see instructions there. But it can be done of course.

COMMANDLINE: As I said in my post
olligod wrote: ...by typing from a commandline (it is so "nineties" - but the commandline helps me out over and over again :D )
unity-window-decorator &
If you omit the & , you will not get your command prompt back, but the program should still run, as long as the command line calling it is also open.

This means: If you DO use the & you WILL get the commandline back :wink: i.e.; you can use it !
Sometimes, output is printed there - pressing <enter> is harmless in that case and will give you the prompt back *visually* - unless your process runs in the foreground (i.e.; was NOT started with the "&").

If you want a commandline "nice and clean" for other purposes, you may also open new tabs on the terminal window (menu item "file") - giving you additional commandlines.
olligod
Level 3
Level 3
 
Posts: 148
Joined: Wed Feb 11, 2009 6:29 am
Location: Munich, Germany

Re: Max/Min/Quit Buttons are missing

Postby Smiff2 on Tue Jul 19, 2011 9:05 pm

hmm i am having this problem (i think) when changing compiz settings, but that command line is correctly set.
quite annoying since even switching to metacity and back doesnt restore, had to CTRL_ALT_BACKSPACE .
Smiff2
Level 3
Level 3
 
Posts: 118
Joined: Sat Jan 16, 2010 11:53 am

Re: Max/Min/Quit Buttons are missing

Postby AlbertP on Wed Jul 20, 2011 4:36 am

If nothing else works, you can always downgrade Compiz: http://www.webupd8.org/2011/05/how-to-d ... 86-in.html
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5849
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Max/Min/Quit Buttons are missing

Postby Smiff2 on Wed Jul 20, 2011 2:27 pm

yeah changing almost any setting in CompizConfig settings manager, causes window borders to be lost! very very annoying. going to have to try downgrading i guess..

confirmed after logging out and in that seems to work great. 0.8x much less buggy i think/hope!

thanks AlbertP
Smiff2
Level 3
Level 3
 
Posts: 118
Joined: Sat Jan 16, 2010 11:53 am

Re: Max/Min/Quit Buttons are missing

Postby eliberator on Tue Jul 26, 2011 7:59 pm

A solution which worked for me:
run Compiz Fusion Icon, and it will appear in the taskbar a new icon with the fusion and you can re-load the windows manager.
After reloading the windows manager, the buttons appeared back on the screen.

I did not checked which is the error, but this was working instantly. You can also change from Compiz to Metacity manager.
eliberator
Level 1
Level 1
 
Posts: 1
Joined: Tue Jul 26, 2011 7:56 pm

Re: Max/Min/Quit Buttons are missing

Postby pepperminty on Thu Aug 11, 2011 7:05 pm

Vincent Vermeulen wrote:Window decorator crash always happens when you try to use the window menu (top left in title bar [the down arrow icon], or Alt+Space key combo). There is a bugreport for this: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/740767

The fix is to change the decorator, as the wrong one is being used in default install of LM11:
1. Go to Menu -> Control Center -> CompizConfig Settings Manager
2. Open the Window Decoration configuration there
3. Change the Command to read: /usr/bin/compiz-decorator


The command is currently
Code: Select all
gtk-window-decorator --replace
OS: Mint, Win7
Cloud: GDrive; Dropbox
User avatar
pepperminty
Level 4
Level 4
 
Posts: 221
Joined: Thu Jun 23, 2011 10:51 pm

Re: Max/Min/Quit Buttons are missing

Postby gammelsmurf1 on Thu Aug 25, 2011 6:07 am

pepperminty wrote:
Vincent Vermeulen wrote:Window decorator crash always happens when you try to use the window menu (top left in title bar [the down arrow icon], or Alt+Space key combo). There is a bugreport for this: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/740767

The fix is to change the decorator, as the wrong one is being used in default install of LM11:
1. Go to Menu -> Control Center -> CompizConfig Settings Manager
2. Open the Window Decoration configuration there
3. Change the Command to read: /usr/bin/compiz-decorator


The command is currently
Code: Select all
gtk-window-decorator --replace


Hmm, tried that, and then click on "window menu"....
Console spit this out as title bar dissapear once again.
Code: Select all
~ $ gtk-window-decorator --replace

(gtk-window-decorator:4758): Gtk-WARNING **: Error parsing gtk-icon-sizes string:
   'panel-menu=24,24
panel=20,20
gtk-button=18,18
gtk-large-toolbar=24,24'

** (gtk-window-decorator:4758): CRITICAL **: Could not find frame info ྫྷ   \u0001 in frame type table
Segmenteringsfel

"Segmenteringsfel" (swedish) = "Segmentation error" (english)
User avatar
gammelsmurf1
Level 1
Level 1
 
Posts: 35
Joined: Thu Aug 25, 2011 5:43 am
Location: Sverige

Re: Max/Min/Quit Buttons are missing

Postby xenopeek on Thu Aug 25, 2011 6:14 am

You shouldn't do:
Code: Select all
gtk-window-decorator --replace

You should follow my steps to fix it. Or to resolve it immediately (but only until logout):
Code: Select all
/usr/bin/compiz-decorator --replace
Image
Linux Mint 14 Nadia / 64-bit / Cinnamon
User avatar
xenopeek
Level 20
Level 20
 
Posts: 10508
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Linux Mint is funded by ads and donations.
 
Next

Return to Gnome

Who is online

Users browsing this forum: No registered users and 0 guests