<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    In my opinion this is a bug. I agree that by switching off the rule
    should not make the features fall into the ELSE rule. At least from
    a usability point of view. Or we need to ELSE rules - a "TRUE ELSE"
    rule that behaves like now and an "ELSE" rule that behaves like the
    users expect it to behave.<br>
    <br>
    Andreas<br>
    <br>
    <div class="moz-cite-prefix">On 19.06.2015 13:36, Etienne Trimaille
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAMtDFLLtRw_bKyRecEVyjC+jdGGmTitQG6gFB1yOEE=SWNpHhg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>I've this kind of bug too.<br>
          <br>
          If you create a categorized symbology, apply the change and
          then switch to a ruled-based symbology (keeping the previous
          rules), you will see that the ELSE statement will draw
          features twice.<br>
          <br>
          Enable "show feature count" to check.<br>
        </div>
        <div><br>
        </div>
        <div>I didn't check if there is a ticket for that. <br>
        </div>
        <br>
        <div>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">2015-06-19 13:18 GMT+02:00
              Alexandre Neto <span dir="ltr"><<a
                  moz-do-not-send="true"
                  href="mailto:senhor.neto@gmail.com" target="_blank">senhor.neto@gmail.com</a>></span>:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div dir="ltr">
                  <div>
                    <div>Indeed Nathan,<br>
                      <br>
                    </div>
                    But do you thinks that is what you were expecting?
                    when you turn the "layer" off?<span><font
                        color="#888888"><br>
                        <br>
                      </font></span></div>
                  <span><font color="#888888">Alexandre<br>
                    </font></span></div>
                <div>
                  <div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Fri, Jun 19, 2015 at
                        12:08 PM, Nathan Woodrow <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:madmanwoo@gmail.com"
                            target="_blank">madmanwoo@gmail.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <p dir="ltr">I would say they are getting
                            skipped in the rule check so fall into the
                            else rule. <br>
                          </p>
                          <br>
                          <div class="gmail_quote">
                            <div>
                              <div>
                                <div dir="ltr">On Fri, 19 Jun 2015 9:05
                                  pm Alexandre Neto <<a
                                    moz-do-not-send="true"
                                    href="mailto:senhor.neto@gmail.com"
                                    target="_blank">senhor.neto@gmail.com</a>>
                                  wrote:<br>
                                </div>
                              </div>
                            </div>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex">
                              <div>
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div>Using the rule-based
                                        symbology with several rules and
                                        an ELSE expression. If you, in
                                        map canvas legend, set a rule
                                        "layer" to invisible, all it's
                                        features will be represented
                                        with the ELSE Symbol.<br>
                                        <br>
                                        Not sure if this is the expected
                                        behaviour. I would expect that
                                        those feature would simply
                                        became invisible.<br>
                                        <br>
                                        Should I open a ticket?<br>
                                        <br>
                                      </div>
                                      Thanks,<br>
                                      <br>
                                    </div>
                                    Alexandre Neto<br>
                                  </div>
                                </div>
                              </div>
_______________________________________________<br>
                              Qgis-developer mailing list<br>
                              <a moz-do-not-send="true"
                                href="mailto:Qgis-developer@lists.osgeo.org"
                                target="_blank">Qgis-developer@lists.osgeo.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://lists.osgeo.org/mailman/listinfo/qgis-developer"
                                rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                </div>
                <br>
                _______________________________________________<br>
                Qgis-developer mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Qgis-developer@lists.osgeo.org"
                  target="_blank">Qgis-developer@lists.osgeo.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.osgeo.org/mailman/listinfo/qgis-developer"
                  rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>