PDA

View Full Version : [SOLVED] Window Maximizing when it touches the top bar



septantrionalis
October 25th, 2017, 06:33 PM
I recently upgraded my install from 17.04 to 17.10. Since then, whenever I move the window up so that it touches the top bar, the window maximizes. Additionally, whenever the window touches the left side, it tiles to the left side and and tiles to the right when I touch the right side. I desperately want to disable this feature. I've read one solution to use ccsm and navigate to "Windows Management->grid->corners/edges" then set everything to "None". I've done that and nothing happens. In fact, I even tried disabling the "grid" option entirely and still nothing.

When I log in, I select the "Ubuntu" option for the windows manager. I've also installed "GNOME" and selected that when logging in, but I get the same behavior.

Does anyone have any ideas on how I can disable this feature?

deadflowr
October 25th, 2017, 07:05 PM
Ubuntu (the selection name at login) at the is now gnome-shell at login, so the old compiz methods will not work.
Try this

dconf write /org/gnome/mutter/edge-tiling false

EDIT:
also check to see if another settings is set as well, since it might override the mutter setting,
for that look at

dconf read /org/gnome/shell/overrides/edge-tiling
if false okay, if true try changing that to false as well.

dconf write /org/gnome/shell/overrides/edge-tiling false
I don't think it should matter though, it seems to be ineffective as long as the mutter setting is off.
(Or it is for me)

ajgreeny
October 25th, 2017, 07:56 PM
Just out of interest I have tried this using dconf-editor on my system of 17.10 running as a VM in VBox as a wayland session, and nothing I do seems to stop that maximisation of windows when they are moved up to the top of the screen. Very annoying in my opinion.

I am sure there must be a way to do it but so far I have not managed to find it

septantrionalis
October 25th, 2017, 08:08 PM
Agreed. I find it very annoying. I want to move a window out of my way real fast and end up maximizing it or resizing it instead.

deadflowr, you're a life saver! You're suggestion worked.

For the record :

"dconf write /org/gnome/mutter/edge-tiling false" didn't do anything.
"dconf read /org/gnome/shell/overrides/edge-tiling" returned nothing.
"dconf write /org/gnome/shell/overrides/edge-tiling false" made it work.

"dconf read /org/gnome/shell/overrides/edge-tiling" now returns false.

ajgreeny
October 25th, 2017, 08:53 PM
I will try it using the cli as it appears that the GUI dconf-editor is not able to do the same thing for some reason.

ajgreeny
October 26th, 2017, 04:06 PM
I have now tried the cli commands and still it does not stop this behaviour.

I usually use Xubuntu and it is much easier in that to stop this "snap" to top window edge in the settings of that, but perhaps this is a symptom of the removal of many gnome settings that seems to have happened lately.

I'll be interested to hear any other ideas anyone might have.

halogen2
October 26th, 2017, 10:14 PM
@ajgreeny: This worked for me -

1) Install dconf-editor

2) From the dock on the left, open dconf-editor

3) Go to org > gnome > mutter

4) set edge-tiling to OFF

5) It should work now.

I use "Ubuntu on Xorg" session, but this seems to remain effective under "Ubuntu" session.

ajgreeny
October 27th, 2017, 10:35 AM
Halogen2, that is what I did at first but it did not work, as I mentioned in post #3, so I am a bit baffled.
I wonder if being a VM is having any bearing on my situation.

deadflowr
October 27th, 2017, 05:12 PM
I wonder if being a VM is having any bearing on my situation.

Now, you're running the wayland session in a vm. Okay.
What about an Xorg session?

Same result?

ajgreeny
October 27th, 2017, 08:40 PM
Yes, it was same result whether on wayland or xorg.

However, I have just checked again in dconf-editor and found that the /org/gnome/mutter/edge-tiling was back to being on, so either I thought I had changed it and hadn't done so, or it changed back in some way.

Whatever, it is now working as I wanted and the edge tiling effect has gone, hopefully for ever.