https://bugs.documentfoundation.org/show_bug.cgi?id=151040

Xisco FaulĂ­ <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=16
                   |                            |1796
           Keywords|                            |bibisected, bisected,
                   |                            |regression

--- Comment #23 from Xisco FaulĂ­ <[email protected]> ---
This issue is reproduced with GEN environment or on Windows

Issue introduced by

commit  4b3995bf5d0058ec70e35679abf1940a5c0e2f69        [log]
author  Heiko Tietze <[email protected]>      Thu Jun 27
13:21:59 2024 +0200
committer       Heiko Tietze <[email protected]>      Mon Jul
01 09:09:10 2024 +0200
tree    76b47442205864146dbb8224f3a176ad20e10ad9
parent  c65127e5f6efcc5db93d2f80b9592f458200d596 [diff]

Resolves tdf#161796 - Add a donate button to the start center

if I remove this part of the code, then the issue is not reproducible

--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -195,19 +195,6 @@ BackingWindow::BackingWindow(vcl::Window* i_pParent)
     mxHelpButton->connect_clicked(LINK(this, BackingWindow, ClickHelpHdl));

     // tdf#161796 replace the extension button with a donate button
-    if (officecfg::Office::Common::Misc::ShowDonation::get())
-    {
-        mxExtensionsButton->hide();
-        mxDonateButton->show();
-        mxDonateButton->set_from_icon_name(BMP_DONATE);
-        OUString sDonate(SfxResId(STR_DONATE_BUTTON));
-        if (sDonate.getLength() > 8)
-        {
-            mxDonateButton->set_tooltip_text(sDonate);
-            sDonate = OUString::Concat(sDonate.subView(0, 7)) + "...";
-        }
-        mxDonateButton->set_label(sDonate);
-    }

     mxDropTarget = mxAllRecentThumbnails->GetDropTarget();

@Heiko, could you please take a look ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to