# How to refresh dashboard gramplets?

**URL:** <https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969>\
**Category:** Help\
**Created:** [November 12, 2021, 12:07am UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969 "2021-11-12T00:07:18Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeorgeWilmes](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@GeorgeWilmes](https://gramps.discourse.group/u/GeorgeWilmes)\
**Post date:** [November 12, 2021, 12:07am UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/1 "2021-11-12T00:07:18Z")

</div>

Is there a way to refresh the content in a dashboard gramplet (only on demand, not continuously!), other than by removing and re-adding the gramplet, or restarting Gramps?

It’s not necessary for most dashboard gramplets, but would be useful for some:

- This Day In Family History (Also, it would be nice if I could enter just any given month and day, without a year, in the sidebar filter of the Events category view.)

- Latest Changes (I realize I can also go into Edit - Undo History but that doesn’t contain links to the changed people.)

- Others that are less important to me (Statistics, Records, the various name Clouds)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [November 12, 2021, 12:28am UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/2 "2021-11-12T00:28:16Z")

</div>

@SNoiraud has created 2 variations of a Freeze for Gramplet refresh. They need use testing and feedback. These give manual refreshing options.

[0010850: Freeze contextual updating to Gramplet content?](https://gramps-project.org/bugs/view.php?id=10850)

- [This PR option is configurable in the display preference tab.](https://github.com/gramps-project/gramps/pull/698)

 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/0/09c30abb17bed6dc4d3781003a8c0515458854c7.png)

- I think we may have another solution available by gramplet.  
For each tab in the notebook, we already have an optional close button. We [could add a new button](https://github.com/gramps-project/gramps/pull/699) called for example freeze/unfreeze to avoid the automatic refresh.

 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/d/dcc82cacb4c692919fcdf8631bca7f67ec16826c.png)

---

<div class="post-metadata">

**Author:** ![GeorgeWilmes](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@GeorgeWilmes](https://gramps.discourse.group/u/GeorgeWilmes)\
**Post date:** [November 12, 2021, 12:58am UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/3 "2021-11-12T00:58:46Z")

</div>

It sounds like those changes would affect gramplets that are already refreshing; but would they affect the dashboard gramplets that currently don’t refresh?

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [November 12, 2021, 1:49am UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/4 "2021-11-12T01:49:24Z")

</div>

An excellent question.

You’ll have to try them and let us know.

---

<div class="post-metadata">

**Author:** ![Mattkmmr](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/mattkmmr/32/410_2.png) [@Mattkmmr](https://gramps.discourse.group/u/Mattkmmr)\
**Post date:** [November 12, 2021, 8:45am UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/5 "2021-11-12T08:45:51Z")

</div>

> [@GeorgeWilmes](#):
>
> Is there a way to refresh the content in a dashboard gramplet (only on demand, not continuously!)

You could disable the gramplet catching database update signals like [here](https://github.com/gramps-project/addons-source/blob/1304b65a7d758bfe17339c26260473ac3e9c4061/ThisDayInFamilyHistory/ThisDayInFamilyHistory.py#L146), add a refresh button and use the button click callback to update the gramplet.

---

<div class="post-metadata">

**Author:** ![GeorgeWilmes](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@GeorgeWilmes](https://gramps.discourse.group/u/GeorgeWilmes)\
**Post date:** [November 12, 2021, 2:08pm UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/6 "2021-11-12T14:08:47Z")

</div>

Are you saying that the dashboard gramplets should already be refreshing automatically? My problem is the opposite; they are not refreshing, and I would like them to (preferably on demand, but automatically would be ok if it is not too inefficient).

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [March 17, 2022, 5:42pm UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/9 "2022-03-17T17:42:32Z")

</div>

@GeorgeWilmes  
Can you tell us which Dashboard Gramplets have NOT been refreshing for you?

I’m trying a few things with old built-ins adapted to add-ons. I’ve only noticed one not refocusing after an Active Person change. And that was only when the Active Person change was done via a particular method.

---

<div class="post-metadata">

**Author:** ![GeorgeWilmes](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@GeorgeWilmes](https://gramps.discourse.group/u/GeorgeWilmes)\
**Post date:** [March 17, 2022, 9:09pm UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/10 "2022-03-17T21:09:03Z")

</div>

> [@emyoulation](#):
>
> Can you tell us which Dashboard Gramplets have NOT been refreshing for you?

“This Day in Family History” was the one that led me to start this thread.

---

<div class="post-metadata">

**Author:** ![GeorgeWilmes](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@GeorgeWilmes](https://gramps.discourse.group/u/GeorgeWilmes)\
**Post date:** [March 17, 2022, 9:14pm UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/11 "2022-03-17T21:14:05Z")

</div>

Also, is it possible to resize a dashboard gramplet? For example, if the Date Calculator were just a little taller, it wouldn’t require a scrollbar to get to the result section.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [March 17, 2022, 9:40pm UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/12 "2022-03-17T21:40:14Z")

</div>

> [@GeorgeWilmes](#):
>
> For example, if the Date Calculator were just a little taller, it wouldn’t require a scrollbar to get to the result section.

In the Dashboard configure, each active Gramplet will have a tab where you can set it to use maximum height or set a greater height if not maximized  
 ![Gramps-config](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/2/2afae4715cee629a5540ac8731549aae1b3a2f89.png)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [March 17, 2022, 9:41pm UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/13 "2022-03-17T21:41:40Z")

</div>

> [@GeorgeWilmes](#):
>
> is it possible to resize a dashboard gramplet

Try the Configure… icon on the toolbar. Each Gramplet has a height value that you can set. (It can also be changed outside the program by editing the `.gpr.py` registration file for that Gramplet. (There is a consolidated registration file for the built-in Gramplets.)

---

<div class="post-metadata">

**Author:** ![GeorgeWilmes](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@GeorgeWilmes](https://gramps.discourse.group/u/GeorgeWilmes)\
**Post date:** [March 17, 2022, 10:31pm UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/14 "2022-03-17T22:31:20Z")

</div>

Thanks @DaveSch and @emyoulation! (I tried clicking on the “Solution” button for both of your replies, but it only lets me choose one.)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [March 17, 2022, 10:38pm UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/15 "2022-03-17T22:38:08Z")

</div>

Dave was in first an his has the icon that people will recognize. So your selection is great. (I don’t care about getting ‘credit’ in the software. Happy enough with working on balancing my karma.)

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [March 17, 2022, 10:46pm UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/16 "2022-03-17T22:46:09Z")

</div>

Just remember that if you close a gramplet and then reactivate it in the future, Gramps will not remember the previous setting.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [March 17, 2022, 11:25pm UTC](https://gramps.discourse.group/t/how-to-refresh-dashboard-gramplets/1969/17 "2022-03-17T23:25:41Z")

</div>

Given the above forewarning, I would suggest experimenting with the Configure feature.

Then commit the change to the .gpr.py file so that it is persistent.

And finally, submit the change via the MantisBT system so that the Master code inherits a pervasive & permanent correction.
