<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:caolanm@redhat.com" title="Caolán McNamara <caolanm@redhat.com>"> <span class="fn">Caolán McNamara</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EDITING: Fields in tablecontrols of a form could not be moved/sorted"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=54021">bug 54021</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>sbergman@redhat.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EDITING: Fields in tablecontrols of a form could not be moved/sorted"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=54021#c49">Comment # 49</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EDITING: Fields in tablecontrols of a form could not be moved/sorted"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=54021">bug 54021</a>
              from <span class="vcard"><a class="email" href="mailto:caolanm@redhat.com" title="Caolán McNamara <caolanm@redhat.com>"> <span class="fn">Caolán McNamara</span></a>
</span></b>
        <pre>Using <a href="https://bugs.documentfoundation.org/attachment.cgi?id=112455">https://bugs.documentfoundation.org/attachment.cgi?id=112455</a> and digging
into what is different between old working state and current state I strangely
see that:

back in the working case we get a FmXGridControl from a sControlServiceName of
"com.sun.star.form.control.GridControl" in
ViewObjectContactOfUnoControl_Impl::createControlForDevice

now we get a SbaXGridControl from "com.sun.star.form.control.GridControl"
instead. (SbaXGridControl inherits from FmXGridControl)

looks to me that SbaXGridControl has drag and drop support that FmXGridControl
does not, and that this is the difference that has triggered all this

com.sun.star.form.control.GridControl appears in dbaccess/util/dbu.component
and SbaXGridControl::getSupportedServiceNames

but 

svx/source/form/fmservs.cxx has ImplSmartRegisterUnoServices and the last entry
of REGISTER_SERVICE(FmXGridControl, FM_SUN_CONTROL_GRIDCONTROL); 

expands to...

uno::Reference< lang::XMultiServiceFactory >  xServiceFactory =
::comphelper::getProcessServiceFactory();
uno::Reference< container::XSet >  xSet(xServiceFactory, uno::UNO_QUERY);
OUString sString = "com.sun.star.form.control.GridControl";
xSingleFactory = ::cppu::createSingleFactory(xServiceFactory,
                    OUString(), FmXGridControl_NewInstance_Impl,
                    uno::Sequence< OUString>(&sString, 1));
xSet->insert(uno::makeAny(xSingleFactory));

which sort of looks like it wants to replace the default target of
"com.sun.star.form.control.GridControl" with a replacement

caolam->sberg: IYO what is ImplSmartRegisterUnoServices trying to do ?</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>