<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Can't set value today on Custom Properties by today button."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135529">bug 135529</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>caolanm@redhat.com, serval2412@yahoo.fr
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>NEW
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Can't set value today on Custom Properties by today button."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135529#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Can't set value today on Custom Properties by today button."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135529">bug 135529</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>On pc Debian x86-64 with master sources updated today, I could reproduce this.

I found use of today in 2 locations:
svtools/uiconfig/ui/calendar.ui:43:            <property name="label"
context="calendar|STR_SVT_CALENDAR_TODAY">Today</property>
svtools/uiconfig/ui/datewindow.ui:48:                <property name="label"
context="calendar|STR_SVT_CALENDAR_TODAY">Today</property>

In our case, we use datewindow.ui
This one is used in:
svtools/source/brwbox/ebbcontrols.cxx:429:        ,
m_xCalendarBuilder(Application::CreateBuilder(m_xMenuButton.get(),
"svt/ui/datewindow.ui"))
svtools/source/control/ctrlbox.cxx:1622:    ,
m_xBuilder(Application::CreateBuilder(m_xControl.get(),
"svt/ui/datewindow.ui"))

First one uses DateControl which contains m_xTodayBtn (also m_xNoneBtn)
Second one uses SvtCalendarBox which doesn't contain these.

Custom property uses the second one, that's why "Today" button doesn't work.
#0  SvtCalendarBox::SvtCalendarBox(std::unique_ptr<weld::MenuButton,
std::default_delete<weld::MenuButton> >) (this=0x87b1c90, pControl=...) at
svtools/source/control/ctrlbox.cxx:1626
#1  0x00007ffff492e43f in
CustomPropertyLine::CustomPropertyLine(CustomPropertiesWindow*, weld::Widget*)
(this=0x86cf6e0, pParent=0x6ac2150, pContainer=0x86700f8) at
sfx2/source/dialog/dinfdlg.cxx:1268
#2  0x00007ffff4932220 in CustomPropertiesWindow::CreateNewLine()
(this=0x6ac2150) at sfx2/source/dialog/dinfdlg.cxx:1465
#3  0x00007ffff4932195 in CustomPropertiesWindow::SetVisibleLineCount(unsigned
int) (this=0x6ac2150, nCount=6) at sfx2/source/dialog/dinfdlg.cxx:1453
#4  0x00007ffff4933fdd in CustomPropertiesControl::ResizeHdl(Size const&)
(this=0x87be0d0, rSize=Size = {...}) at sfx2/source/dialog/dinfdlg.cxx:1819
#5  0x00007ffff4933d58 in CustomPropertiesControl::Init(weld::Builder&)
(this=0x87be0d0, rBuilder=...) at sfx2/source/dialog/dinfdlg.cxx:1808
#6  0x00007ffff4934697 in
SfxCustomPropertiesPage::SfxCustomPropertiesPage(weld::Container*,
weld::DialogController*, SfxItemSet const&)
    (this=0x86f5f20, pPage=0x87be0b8, pController=0x72273e0,
rItemSet=SfxItemSet of pool 0x33d8f50 with parent 0x0 and Which ranges: [(5535,
5535), (5590, 5590), (6410, 6410), (6518, 6518)] = {...})
    at sfx2/source/dialog/dinfdlg.cxx:1874

It seems there are 2 similar classes and one seems in unfinished state.

Caolán: thought you might be interested in this one.</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>