wilfm / GnomeExtensionMaximusTwo

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

MaximusTwo crashes when logging in existing session #3

Closed ronjouch closed 9 years ago

ronjouch commented 10 years ago

Each time I lock my GNOME session and log in again, the extension gets disabled. Looking at lg / Extensions / View Errors, I see:

TypeError: str.split(...)[1] is undefined

... which, after grepping the extension folder, suggest id = str.split(/child(?:ren)?:/)... in guessWindowXID sometimes has less than two elements.

Restarting Shell (Alt+F2, r) fixes the problem, but then at the next lock/login the extension will crash.

List of windows I have: [SublimeText, Eclipse, XChat, Firefox, Chrome, Thunderbird, Files, VirtualBox, Videos, Skype, Pidgin, Shutter]. Running GNOME 3.12 under Ubuntu GNOME.

wilfm commented 9 years ago

Do you have xwininfo and xprop installed?

ronjouch commented 9 years ago

Hi @wilfm. I don't know what happened since, but seems I no longer have the issue. May have been due to my work Ubuntu GNOME setup, because I never had it at home under Arch. Will re-open if I can reproduce it again (and yes I had xwininfo and xprop installed).

Thanks for your extension!