{"id":5693,"date":"2018-05-18T15:38:36","date_gmt":"2018-05-18T12:38:36","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=5693"},"modified":"2018-05-18T15:38:36","modified_gmt":"2018-05-18T12:38:36","slug":"position-of-left-tiled-windows-not-restored-correctly-when-another-left-tiled-window-present-2","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2018\/05\/18\/position-of-left-tiled-windows-not-restored-correctly-when-another-left-tiled-window-present-2\/","title":{"rendered":"Position of left-tiled windows not restored correctly when another left-tiled window present"},"content":{"rendered":"<h1><a id=\"user-content-background\" class=\"anchor\" href=\"#background\"><\/a>Background<\/h1>\n<p dir=\"auto\">I&#8217;m using Ubuntu 18.04 with Gnome Shell 3.28.1, and was forwarded here from Launchpad, see <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/mutter\/+bug\/1767806\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">bug #1767806<\/a> there.<\/p>\n<h1><a id=\"user-content-the-issue\" class=\"anchor\" href=\"#the-issue\"><\/a>The issue<\/h1>\n<p dir=\"auto\">When another window is maximized or tiled to the left side of the screen, re-opening an application whose window was previously tiled to the left side does not restore that windows&#8217; previous position. Instead such windows open at varying distances from the dock, untiled.<\/p>\n<h1><a id=\"user-content-expected-behavior\" class=\"anchor\" href=\"#expected-behavior\"><\/a>Expected behavior<\/h1>\n<h2><a id=\"user-content-steps-to-reproduce-with-a-newly-created-user\" class=\"anchor\" href=\"#steps-to-reproduce-with-a-newly-created-user\"><\/a>Steps to reproduce (with a newly created user)<\/h2>\n<ol>\n<li>open Firefox, drag the window to the left edge of the screen to tile it there (filling up the left half of horizontal screen space)<\/li>\n<li>close Firefox<\/li>\n<li>open Nautilus, make sure that the window floats (i.e. is unmaximized and not tiled to either side of screen)<\/li>\n<li>open Firefox<\/li>\n<\/ol>\n<h2><a id=\"user-content-what-happens\" class=\"anchor\" href=\"#what-happens\"><\/a>What happens<\/h2>\n<p dir=\"auto\">As expected, Firefox&#8217;s window is tiled to the left edge of screen, immediately to the right side of the dock: <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/mutter\/+bug\/1767806\/+attachment\/5130159\/+files\/expected.png\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">screenshot<\/a>.<\/p>\n<h1><a id=\"user-content-unexpected-behavior\" class=\"anchor\" href=\"#unexpected-behavior\"><\/a>Unexpected behavior<\/h1>\n<h2><a id=\"user-content-steps-to-reproduce-with-a-newly-created-user-1\" class=\"anchor\" href=\"#steps-to-reproduce-with-a-newly-created-user-1\"><\/a>Steps to reproduce (with a newly created user)<\/h2>\n<ol>\n<li>open Firefox, drag the window to the left edge of the screen to tile it there (filling up the left half of horizontal screen space)<\/li>\n<li>close Firefox<\/li>\n<li>open Nautilus, <em>maximize its window<\/em><\/li>\n<li>open Firefox<\/li>\n<\/ol>\n<h2><a id=\"user-content-what-happens-1\" class=\"anchor\" href=\"#what-happens-1\"><\/a>What happens<\/h2>\n<p dir=\"auto\">Firefox&#8217;s window opens slightly to the right off the right edge of the dock (with a gap between the dock and the window): <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/mutter\/+bug\/1767806\/+attachment\/5130163\/+files\/unexpected-1.png\" target=\"_blank\" rel=\"nofollow noreferrer noopener\">screenshot<\/a>.<\/p>\n<h2><a id=\"user-content-what-i-expect-to-happen\" class=\"anchor\" href=\"#what-i-expect-to-happen\"><\/a>What I expect to happen<\/h2>\n<p dir=\"auto\">I expect Firefox&#8217;s window to be tiled to the left edge of screen, immediately to the right side of the dock, just as it did following the first recipe above.<\/p>\n<h1><a id=\"user-content-further-information\" class=\"anchor\" href=\"#further-information\"><\/a>Further information<\/h1>\n<ul>\n<li>Either maximizing or tiling Nautilus&#8217; window to the left edge of the screen (at step 3) triggers the issue. Tiling it to the <em>right<\/em> edge of the screen does not.<\/li>\n<li>Using Gnome Terminal instead of Nautilus triggers the issue just as well and I suspect any other application will, though I&#8217;ve only systematically tested these two so far.<\/li>\n<li>From battling with this in my daily use I also know that the distance of incorrectly restored windows from the dock varies: different applications open at different distances. The precise mechanics of this still elude me, though the distances do appear to be multiples of 25 pixels.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using Ubuntu 18.04 with Gnome Shell 3.28.1, and was forwarded here from Launchpad, see bug #1767806 there.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[546,3406,7983,3137],"class_list":["post-5693","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-firefox","tag-gnome","tag-launchpad","tag-nautilus","sijainti-gnome-gitlab"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=5693"}],"version-history":[{"count":3,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5693\/revisions"}],"predecessor-version":[{"id":5696,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5693\/revisions\/5696"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=5693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=5693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=5693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}