{"id":5048,"date":"2016-01-30T11:17:53","date_gmt":"2016-01-30T09:17:53","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=5048"},"modified":"2016-01-30T11:19:40","modified_gmt":"2016-01-30T09:19:40","slug":"confusing-unnecessary-do-you-want-to-close-it-dialog","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2016\/01\/30\/confusing-unnecessary-do-you-want-to-close-it-dialog\/","title":{"rendered":"Confusing, unnecessary &#8221;Do you want to close it&#8221; dialog"},"content":{"rendered":"<p>Steps to reproduce:<\/p>\n<p>0. Have two projects, A and B<br \/>\n1. Open project A in Geany, make no changes<br \/>\n2. Select Project &gt; Recent Projects &gt; Project B<\/p>\n<p>(Reproduced on an up-to-date Xenial installation today.)<\/p>\n<p>What happens:<br \/>\nA dialog pops up saying the previous project is open, and asks if I want to close it before proceeding.<\/p>\n<p>What I expect to happen instead:<br \/>\nFor Project B to open without the dialog. I&#8217;ve not made any changes to Project A so the dialog is blocking the switch unnecessarily. If I *had* made changes, I&#8217;d expect them to be saved implicitly at this point, or, failing that, to be prompted to *save* the changes before switching; not whether I want to close Project A (which I do).<\/p>\n<p>Perhaps unrelatedly, the prompt title (&#8221;The &#8217;Project A&#8217; project is open.&#8221;) seems to be missing from Launchpad translations; only the question (&#8221;Do you want to close it before proceeding?&#8221;) is translatable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The dialog shouldn&#8217;t block the switch. I&#8217;d expect changes to be saved implicitly at this point, or, failing that, to be prompted to save, not close.<\/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":[2143],"class_list":["post-5048","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-saavutettavuus","sijainti-launchpad"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5048","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=5048"}],"version-history":[{"count":3,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5048\/revisions"}],"predecessor-version":[{"id":5051,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5048\/revisions\/5051"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=5048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=5048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=5048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}