{"id":6764,"date":"2021-09-11T13:08:00","date_gmt":"2021-09-11T10:08:00","guid":{"rendered":"https:\/\/mummila.net\/kommentit\/?p=6764"},"modified":"2021-09-11T13:08:00","modified_gmt":"2021-09-11T10:08:00","slug":"the-trigger-for-this-is-moz_enable_wayland1-and-layout-css-devpixelsperpx1-2","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2021\/09\/11\/the-trigger-for-this-is-moz_enable_wayland1-and-layout-css-devpixelsperpx1-2\/","title":{"rendered":"The trigger for this is MOZ_ENABLE_WAYLAND=1 and layout.css.devPixelsPerPx=1.2"},"content":{"rendered":"<div id=\"comment-preview-tabpanel\" class=\"comment-tabpanel\" role=\"tabpanel\" aria-labelledby=\"comment-preview-tab\">\n<div id=\"comment-preview\" class=\"comment-text markdown-body\">\n<p>I can&#8217;t speak for Jeroen, but I played around with the upstream builds (both 92 and 91) and my faulty profile a bit and managed to isolate the trigger combination for this: <code>MOZ_ENABLE_WAYLAND=1<\/code> and setting <code>layout.css.devPixelsPerPx<\/code> to my preferred value of <code>1.2<\/code>; either resetting <code>layout.css.devPixelsPerPx<\/code> to its default (<code>-1.0<\/code>), or running Firefox without <code>MOZ_ENABLE_WAYLAND=1<\/code> will make the toolbar items work again. <a href=\"https:\/\/pastebin.mozilla.org\/OdgM9Oox\" rel=\"nofollow\">Here&#8217;s the graphics portion of my <code>about:support<\/code><\/a>.<\/p>\n<p><strong>So my steps to reproduce this are:<\/strong><\/p>\n<ol>\n<li>start Firefox with <code>MOZ_ENABLE_WAYLAND=1<\/code><\/li>\n<li>set <code>layout.css.devPixelsPerPx<\/code> to <code>1.2<\/code><\/li>\n<li>click on the hamburger menu button<\/li>\n<\/ol>\n<p><strong>What I expect to happen:<\/strong><br \/>\nFor the hamburger menu content to show.<\/p>\n<p><strong>What happens instead:<\/strong><br \/>\nThe hamburger menu content flickers or doesn&#8217;t show at all.<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Resetting layout.css.devPixelsPerPx to its default (-1.0), or running Firefox without MOZ_ENABLE_WAYLAND=1 will make the toolbar items work again.<\/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],"class_list":["post-6764","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-firefox","sijainti-mozilla-bugzilla"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6764","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=6764"}],"version-history":[{"count":2,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6764\/revisions"}],"predecessor-version":[{"id":6766,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6764\/revisions\/6766"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=6764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=6764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=6764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}