<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - TABLES STYLES: If you insert a row or column (with cursor in a cell), the formatting of the whole table changes (steps in comment 5)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126008">bug 126008</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>momonasmon@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - TABLES STYLES: If you insert a row or column (with cursor in a cell), the formatting of the whole table changes (steps in comment 5)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126008#c18">Comment # 18</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - TABLES STYLES: If you insert a row or column (with cursor in a cell), the formatting of the whole table changes (steps in comment 5)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126008">bug 126008</a>
              from <span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span></b>
        <pre>(In reply to Aron Budea from <a href="show_bug.cgi?id=126008#c16">comment #16</a>)
<span class="quote">> Do you know what the reason for that could be? It's really not clear
> to me why everything should be reset to the table style, it makes any direct
> formatting in a table useless.</span >
As Jim said, that's how table styles were implemented right from the beginning.
Here are the relevant commits:

<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=ac6f8bc92b1abe995694602f43d8ad108b7030fb">https://cgit.freedesktop.org/libreoffice/core/commit/?id=ac6f8bc92b1abe995694602f43d8ad108b7030fb</a>

<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=73f4a06c0bce51c7c8b9ae9adfdc7ffac27d06b4">https://cgit.freedesktop.org/libreoffice/core/commit/?id=73f4a06c0bce51c7c8b9ae9adfdc7ffac27d06b4</a>

I don't think that the current behavior was on purpose; it just that the
implementation was not completed, and no one made any fixes to it since initial
introduction. 

<span class="quote">> I think the reasonable expectation would be
> that nothing changes when deleting a row/column,</span >
It's not that simple, e.g. table styles support banded columns and a different
last column, so when deleting columns the formatting of the nearby columns
might need to be adjusted. Of course this should not touch direct formatting
that was explicitly applied by the user.

<span class="quote">> Also, the steps in <a href="show_bug.cgi?id=126008#c5">comment 5</a> certainly have a different outcome before the
> mentioned commit and now.</span >
That commit only made the table insert dialog apply the table style, instead of
just direct formatting based on it. You could reproduce the bug before it, by
manually applying a table style from the sidebar.

(In reply to Jim Raykowski from <a href="show_bug.cgi?id=126008#c17">comment #17</a>)
<span class="quote">> I suggested that table styles
> could be used as a template by programmatically changing to no table style
> after table style was used for initial creation of a table or application to
> existing table.</span >
Table templates ("AutoFormat") is exactly how it used to work before the table
styles work. I'm not sure that reverting the table styles work is good idea in
the long run. It will be better to find and fix the bugs in it.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>