<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - "Support primary keys" checkbox in Advanced Settings dialog must be tri-state"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123975">123975</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"Support primary keys" checkbox in Advanced Settings dialog must be tri-state
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.1.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Base
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mikekaganski@hotmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>caolanm@redhat.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=149851" name="attach_149851" title="A dummy ODBC connection to test Advanced Settings dialog">attachment 149851</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=149851&action=edit" title="A dummy ODBC connection to test Advanced Settings dialog">[details]</a></span>
A dummy ODBC connection to test Advanced Settings dialog

In Edit->Database->Advanced Settings... dialog, Support primary keys checkbox
must be a tri-state [1]. In 6.2, it's a simple toggle, which makes it
impossible to enable the heuristics described in [1].

The underlying pool item is indeed OptionalBoolItem - see
ODbAdminDialog::createItemSet. But the weld::CheckButton never gets initialized
as a tri-state control; and even if it would, all its methods disable the
tri-state mode, even initially set by set_inconsistent().

Use attached dummy database to test the dialog.

This is regression from welding work; Caolan - could you please look at this?

Version: 6.2.2.1 (x64)
Build ID: fcd633fb1bf21b0a99c9acb3ad6e526437947b01
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL

[1] <a href="https://help.libreoffice.org/Common/Special_Settings">https://help.libreoffice.org/Common/Special_Settings</a></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>