<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bug in the model switcher display ?]]></title><description><![CDATA[<p dir="auto">I noticed a problem with the model switcher (bottom right of <a href="http://windy.com" rel="nofollow ugc">windy.com</a>).<br />
It becomes invisible when my plugin is opened.</p>
<p dir="auto"><img src="https://github.com/vicb/windy-plugin-sounding/raw/bug/switch.png" alt="alt text" class=" img-fluid img-markdown" /></p>
<p dir="auto">Steps to reproduce:</p>
<ol>
<li>go to <a href="http://windy.com" rel="nofollow ugc">windy.com</a> - the model switcher is displayed</li>
<li>Install windy-plugin-sounding,</li>
<li>right click on the map and select "better sounding" - the switcher is pushed out of the screen to the right (no more visible)</li>
<li>close the plugin, the switcher stays invisible</li>
</ol>
<p dir="auto"><img src="https://raw.githubusercontent.com/vicb/windy-plugin-sounding/bug/noswitch.png" alt="alt text" class=" img-fluid img-markdown" /></p>
<ol start="5">
<li>Open detailed forecasts (ie bottom bar) - the switcher re-appears</li>
<li>now you can open/close the plugin, the switcher remains visible.</li>
</ol>
<p dir="auto">It might well be a problem with my plugin. However</p>
<ul>
<li>I haven't noticed it before (first noticed yesterday or 2 days ago),</li>
<li>I tried an older version of my plugin, still has the same bug,</li>
<li>As noted before, openning/closing detailed forecasts "fix" the problem.</li>
</ul>
<p dir="auto">Thanks for your help</p>
]]></description><link>https://community.windy.com/topic/8055/bug-in-the-model-switcher-display</link><generator>RSS for Node</generator><lastBuildDate>Sat, 17 Oct 2026 03:24:07 GMT</lastBuildDate><atom:link href="https://community.windy.com/topic/8055.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Mar 2019 16:54:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug in the model switcher display ? on Fri, 29 Mar 2019 17:11:03 GMT]]></title><description><![CDATA[<p dir="auto">I ended up loading <code>detail-render</code> instead and it fixed my issue.</p>
<p dir="auto">Thanks !</p>
]]></description><link>https://community.windy.com/post/20286</link><guid isPermaLink="true">https://community.windy.com/post/20286</guid><dc:creator><![CDATA[vicb]]></dc:creator><pubDate>Fri, 29 Mar 2019 17:11:03 GMT</pubDate></item><item><title><![CDATA[Reply to Bug in the model switcher display ? on Fri, 29 Mar 2019 16:51:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ivo" aria-label="Profile: ivo">@<bdi>ivo</bdi></a> I can not remove the lines you pointed out because I want the plugin to be on the left hand side.</p>
<p dir="auto">The class are expected and what is used in the <a href="https://github.com/windycom/windy-plugins/blob/master/examples/02-window-on-left-side/plugin.less" rel="nofollow ugc">left pane example</a>.</p>
<p dir="auto">I have investigated a little more and figure out that the problem come from the fact that I load the detail plugin (to get access to the "meteogram" dependency).</p>
<pre><code>
    const meteogram = W.require("plugins")
      .detail.load()
      .then(() =&gt; {
        W.define("sMeteogram", ["meteogram", "Class"], function(m, c) {
          return c.extend(m, {
            legend: () =&gt; this,
          });
        });
        return W.require("sMeteogram");
      });
</code></pre>
<p dir="auto">The detail plugin is probably exclusive for the bottom pane hence the issue.</p>
]]></description><link>https://community.windy.com/post/20285</link><guid isPermaLink="true">https://community.windy.com/post/20285</guid><dc:creator><![CDATA[vicb]]></dc:creator><pubDate>Fri, 29 Mar 2019 16:51:20 GMT</pubDate></item><item><title><![CDATA[Reply to Bug in the model switcher display ? on Fri, 29 Mar 2019 06:52:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vicb" aria-label="Profile: vicb">@<bdi>vicb</bdi></a> said in <a href="/post/20255">Bug in the model switcher display ?</a>:</p>
<blockquote>
<p dir="auto">windy-plugin-sounding</p>
</blockquote>
<p dir="auto">There is a BUG in plugin</p>
<pre><code class="language-js">
module.exports = {
  displayName: "Better Sounding",
  hook: "contextmenu",
  dependencies: [
    "https://cdn.jsdelivr.net/npm/d3@5/dist/d3.min.js",
    "https://cdn.jsdelivr.net/npm/preact@8/dist/preact.min.js",
  ],

// REMOVE THIS
  className: "plugin-lhpane plugin-mobile-fullscreen", 
  exclusive: "lhpane",  
};
</code></pre>
<pre><code class="language-css">
REMOVE THIS
.onwindy-plugin-sounding {
	.left-border {
        left: @width;
  }
	#search {
		display: none;
	}
}
</code></pre>
]]></description><link>https://community.windy.com/post/20265</link><guid isPermaLink="true">https://community.windy.com/post/20265</guid><dc:creator><![CDATA[ivo]]></dc:creator><pubDate>Fri, 29 Mar 2019 06:52:24 GMT</pubDate></item><item><title><![CDATA[Reply to Bug in the model switcher display ? on Fri, 29 Mar 2019 06:47:14 GMT]]></title><description><![CDATA[<p dir="auto">Strange will check. Is that hidden with CSS or it is removed from DOM?</p>
]]></description><link>https://community.windy.com/post/20264</link><guid isPermaLink="true">https://community.windy.com/post/20264</guid><dc:creator><![CDATA[ivo]]></dc:creator><pubDate>Fri, 29 Mar 2019 06:47:14 GMT</pubDate></item></channel></rss>