wilfm / GnomeExtensionMaximusTwo

Removes the title bar on maximised windows. See: https://extensions.gnome.org/extension/844/maximus-two/
63 stars 27 forks source link

Gnome-shell crash using MaximusTwo #7

Closed damian-aragunde-udc closed 5 years ago

damian-aragunde-udc commented 9 years ago

Hi. Setting up Empathy, I coud see that opening one friend's window chat, all gnome-shell crashes. Deactivating the MaximusTwo plugin solves the problem. Curiosly, that only happends with this ONE friend on they 3 different account that he has: over Outlook, Hangouts and Facebook, and I could talk with the other friends without problem. Analyzing it, the only difference maybe is that his name contains de 'ñ' character (and this is the name of the new window). It's the first time that I opened that window and use Empathy [on this machine], so the window is not maximize and the size and positions was the standard.

Analyzing the 5 differents logs that I had, I notice that messages from Maximus Two appeared after the crash, so a try to deactivate Maximus Two and that works.

PS: I post that crash here because Maximus Two is the direct responsible of that, but this could be a gnome-shell related bug. PS2: Searching on Google I couldn't find something useful about the GTK Critical errors that I could see.

damian-aragunde-udc commented 9 years ago

The final of the log that reveal that Maximus Two ir related with the bug:

Nov 9 20:24:21 nei5-lin org.freedesktop.Telepathy.Client.Empathy.Chat[1434]: \ Message: console message: undefined @0: TypeError: undefined is not a function Nov 9 20:24:21 nei5-lin gnome-session[1406]: (gnome-shell:1765): Gjs-WARNING **: JS ERROR: TypeError: str.split(...)[1] is undefined Nov 9 20:24:21 nei5-lin gnome-session[1406]: guessWindowXID@/home/neimad/.local/share/gnome-shell/extensions/maximus-two@wilfinitlike.gmail.com/decoration.js:65 Nov 9 20:24:21 nei5-lin gnome-session[1406]: setHideTitlebar@/home/neimad/.local/share/gnome-shell/extensions/maximus-two@wilfinitlike.gmail.com/decoration.js:97 Nov 9 20:24:21 nei5-lin gnome-session[1406]: onWindowAdded@/home/neimad/.local/share/gnome-shell/extensions/maximus-two@wilfinitlike.gmail.com/decoration.js:158 Nov 9 20:24:21 nei5-lin gnome-session[1406]: onChangeNWorkspaces/ws._pixelSaverWindowAddedId</<@/home/neimad/.local/share/gnome-shell/extensions/maximus-two@wilfinitlike.gmail.com/decoration.js:188

wilfm commented 9 years ago

What version of empathy, gnome-shell, and OS do you have, and do you have the prerequisites installed?

damian-aragunde-udc commented 9 years ago

I'm using Manjaro (an Arch-based distro). The prerequisites are installed (xorg-utils, xorg-xprop, xorg-xwininfo) and when I had this problem the gnome-shell version was 3.12 (I can't remember the empathy exact version). It's a rolling release distro, so now I had empathy-3.12.7-1 and gnome-shell-3.14.2-1. I'm not sure if the problem persist..... I must try it again and report it.

damian-aragunde-udc commented 9 years ago

Problem persists. Just activated the plugin, open Empathy and tried to open THAT friend's chat window. Shell freezed. I must go to a non-graphical terminal and doing a kill -9 gnome-shell to restart it. The actual versions are empathy 3.12.7-1 and gnome-shell 3.14.3-2. Because Maximus-Two didn't work for me (sorry ;)), now I have a few changes on the Adwaita theme. I don't know how acts exactly your plugin, so I don't know if the changes could do some negative impact here. But the same bug exists in the past, before I did the changes, so I think it doesn't be the problem here. The syslog here:

Dec 27 20:26:00 gnome-session[1505]: Gjs-Message: JS LOG: loading default theme (Adwaita) Dec 27 20:26:00 gnome-session[1505]: (gnome-shell:2768): Gjs-WARNING **: JS ERROR: TypeError: str.split(...)[1] is undefined Dec 27 20:26:00 gnome-session[1505]: guessWindowXID@/home/neimad/.local/share/gnome-shell/extensions/maximus-two@wilfinitlike.gmail.com/decoration.js:65 Dec 27 20:26:00 gnome-session[1505]: setHideTitlebar@/home/neimad/.local/share/gnome-shell/extensions/maximus-two@wilfinitlike.gmail.com/decoration.js:97 Dec 27 20:26:00 gnome-session[1505]: onWindowAdded@/home/neimad/.local/share/gnome-shell/extensions/maximus-two@wilfinitlike.gmail.com/decoration.js:158 Dec 27 20:26:00 gnome-session[1505]: enable/<@/home/neimad/.local/share/gnome-shell/extensions/maximus-two@wilfinitlike.gmail.com/decoration.js:222 Dec 27 20:26:01 gnome-shell[2768]: GNOME Shell started at Sat Dec 27 2014 20:26:00 GMT+0100 (CET)

wilfm commented 8 years ago

May have been fixed with version using update from Pixel Saver (https://github.com/deadalnix/pixel-saver/issues/14), you can get it here: https://github.com/wilfm/GnomeExtensionMaximusTwo/releases/tag/4

damian-aragunde-udc commented 8 years ago

Sorry for that late response. In that moment I saw the answer and examined it, but because I couldn't try if it was fixed, I forgot to post again.

Now trying out with Empathy 3.12.11 over Gnome 3.18.3. Because Gnome 3.18 it's not officially supported, I have cloned the master branch from GitHub and I edited the metadata file (adding 3.18).

My problem seems solved. MaximusTwo seems working fine on my 3.18. Thanks a lot for the support. You can mark it as solved.