luispabon / maximus-gnome-shell

26 stars 13 forks source link

Not working with Atom #8

Open jhasse opened 8 years ago

jhasse commented 8 years ago

Somehow this extension doesn't work for me with Atom. The decoration doesn't get removed when maximizing Atom although it works with other windows just fine.

Do you have an idea why?

ghost commented 8 years ago

It happens to me too (arch linux - Gnome-Shell 3.20) and I noticed these errors in the log:

apr 22 07:05:02 ArchBox org.gnome.Shell.desktop[756]: (gnome-shell:756): Gjs-WARNING **: JS ERROR: TypeError: str.split(...)[1] is undefined
apr 22 07:05:02 ArchBox org.gnome.Shell.desktop[756]: guessWindowXID@/home/iacopodeenosee/.local/share/gnome-shell/extensions/maximus@luis.pabon.auronconsulting.co.uk/extension.js:153
apr 22 07:05:02 ArchBox org.gnome.Shell.desktop[756]: setHideTitlebar@/home/iacopodeenosee/.local/share/gnome-shell/extensions/maximus@luis.pabon.auronconsulting.co.uk/extension.js:282
apr 22 07:05:02 ArchBox org.gnome.Shell.desktop[756]: onWindowAdded@/home/iacopodeenosee/.local/share/gnome-shell/extensions/maximus@luis.pabon.auronconsulting.co.uk/extension.js:520
apr 22 07:05:02 ArchBox org.gnome.Shell.desktop[756]: onChangeNWorkspaces/ws._MaximusWindowAddedId</<@/home/iacopodeenosee/.local/share/gnome-shell/extensions/maximus@luis.pabon.auronconsulting.co.uk/extension.js:559
luispabon commented 8 years ago

Damn, must be a weird interaction with Electron.

Cris-Edmundson commented 7 years ago

I'm having the same issue. I don't think it's just electron, I use GPMDP whcih is also built using electron, but it doesn't have the same issue.

In addition, I'm also experiencing some weirdness with opening atom with this extension enabled: upon opening the first instance the window doesn't show up, the cursor changes to a crosshair, the GNOME shell UI freezes excluding the cursor, which still moves (but including interaction, like the activities view hot corner). When I click the window shows up and everything resumes as it should.

In order to get atom to work, I've been opening the preferences and toggling the whitelist/blacklist back and forth once, which fixes it until atom closes and is re-opened.