Project

General

Profile

Actions

Task #3867

open

Implement a donate banner on part of the Start Center

Added by Mike Saunders about 2 months ago. Updated about 6 hours ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

100%


Description

LibreOffice has a Start Center showing recently opened documents. We can add a small banner there (bottom third) explaining that LibreOffice is a community-driven project, and donations help to support the community. Structure:

  • Banner = 1/3 of the Start Center
  • 10-20 word message, with picture on the right
  • Two buttons: Donate, and Dismiss
  • Show after every update, or once per month

For testing, I've attached an example image (we'll choose the final one later). And a message for testing: "LibreOffice is made by a worldwide community. Support us today!"


Files

donate.jpg (81.2 KB) donate.jpg Mike Saunders, 2026-02-27 15:14
donate.jpg (135 KB) donate.jpg Mike Saunders, 2026-03-31 09:54
Actions #1

Updated by Heiko Tietze about 2 months ago

  • Project changed from Infrastructure to Marketing
  • Assignee changed from Mike Saunders to Heiko Tietze

Taking over the coding part.

Actions #2

Updated by Heiko Tietze 29 days ago

  • Status changed from New to In Progress

The first patch uses hard-coded values at include/sfx2/strings.hrc with

STR_DONATIONBANNER: the text
DONATIONBANNER_HEIGHT: the percentage of the window height with a default of 0.25
DONATIONBANNER_FREQ: the frequency when the donation banner is shown; it calculates as current day mod FREQ, meaning 1 shows the banner always, 2 only on even days, 3 on days since 1.1.1970 that can be divided by 3 without remainder, etc. At this day, the banner will be shown any time the start center opens.

The image is icon-themes/colibre/brand/shell/donatebanner.png. It is proportionally scaled to the height of the banner and drawn at the right edge (independently from LTR/RTL). The text wraps into multiple lines and calculates its font size so it fits into the available space starting with 48px down to a minimum of 12px.

This patch has no interactive elements (the image also does not respond on clicks) but ensures the donate button left-hand to be shown.

Actions #3

Updated by Mike Saunders 28 days ago

Thanks! When you say the "donate button left-hand", do you mean the one we've had for a while, on the left-hand column in the Start Center? It might be worth having a dedicated "Donate" button in this banner as well (along with a "Don't show me again") – what do you think?

Actions #4

Updated by Heiko Tietze 28 days ago

I cannot draw a control (button) onto another object (image). If you want interactions in the banner we have to make space for it.
And why do you want a "[ ] Don't show me again" option? I mean sure, users do not want to see a nag screen. But that's rather my POV and not what marketing wants :-).

Actions #5

Updated by Mike Saunders 28 days ago

Heiko Tietze wrote in #note-4:

I cannot draw a control (button) onto another object (image). If you want interactions in the banner we have to make space for it.
And why do you want a "[ ] Don't show me again" option? I mean sure, users do not want to see a nag screen. But that's rather my POV and not what marketing wants :-).

Ah, I thought we'd have a button under the text. Just "Donate" (or "Support us") on its own would be good :-)

Actions #6

Updated by Eyal Rozenberg 17 days ago

This issue does not belong here, it should have been filed on LibreOffice' bugzilla, and gone through a process of discussion - especially since the proposed change has such extreme visibility; and the fact that there already is a a donation solicitation in the start scenter.

Actions #7

Updated by Mike Saunders 16 days ago

@Heiko Tietze: Attached is an image (donate.jpg) with permission from the people in it, so let's please use that. Clickable wording:

"LibreOffice is free software. Click here to donate, and support the community that makes it!"

Actions #8

Updated by Heiko Tietze 15 days ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

This has been done as best as possible by me. The banner will be 25% of the window height, with a background that is not stretched but cut-off, an image on the right side scaled to the banner height, and text in the left part vertically centered and wrapped to fit the area. The banner shows up every 30 days, always on this day. The next day is Apr/7.

What is not working:
  • the banner should be shown on updates major and minor - I'm not sure we know about minor updates in the code and the function to read also stores the new version; touching it is dangerous
  • left-clicking the image opens our donation page but there is no indicator such as a changed mouse pointer - could be done with a CustomWidgetController but then I have no information about the parent size
Actions #9

Updated by Heiko Tietze 15 days ago

  • Assignee deleted (Heiko Tietze)
Actions #10

Updated by vsfoote Foote 1 day ago

@Mike Saunders, * --- No great objection from me, but Heiko's first stab is a bit rough yet. See tdf#171674 for complaints of the UX.

If we are going to fully implement, it needs TDF dev effort (JJ maybe?) to instrument the points Heiko noted: controlled exposure on version/patch update (or cleared profile/safe-mode), some indication (a URI focus pointer change), or a clear button.

Also, as suggested in the BZ issue, 1/3 of heigh is needlessly tall in the UI. See https://bug-attachments.documentfoundation.org/attachment.cgi?id=206587 from https://bugs.documentfoundation.org/show_bug.cgi?id=171674

- Stuart

Actions #11

Updated by Heiko Tietze about 6 hours ago

The banner has been updated to use standard controls. Its height is now fix at 200px, all strings are defined at the labels instead in a hrc file. The URL opens correctly per click on the hyperlink.

Remaining issue:

  • the banner should be shown on updates major and minor
Actions

Also available in: Atom PDF