# 'Restart where your were last working'

**URL:** <https://gramps.discourse.group/t/restart-where-your-were-last-working/6444>\
**Category:** Help\
**Created:** [November 15, 2024, 6:14pm UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444 "2024-11-15T18:14:29Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuck](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@stuck](https://gramps.discourse.group/u/stuck)\
**Post date:** [November 15, 2024, 6:14pm UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/1 "2024-11-15T18:14:29Z")

</div>

Win 10 / 11 Pro, Gramps AIO64-5.2.3-r1-aa03f5a

The blurb for the addon ‘Restart where your were last working’ says it causes Gramps to restart on the same view and object where Gramps was previously closed. That’s not how it behaves for me. Regardless of what I’m looking at when I leave Gramps, when I restart it always opens on the dashboard.

Am I missing something?

---

<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 15, 2024, 7:20pm UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/2 "2024-11-15T19:20:07Z")

</div>

Did you enable the two “Remember” checkboxes in the General tab of the 5.2 Preferences options?

---

<div class="post-metadata">

**Author:** ![stuck](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@stuck](https://gramps.discourse.group/u/stuck)\
**Post date:** [November 16, 2024, 7:17pm UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/3 "2024-11-16T19:17:55Z")

</div>

I think it was because the second tick box wasn’t ticked. Now that’s ticked Gramps is reopening where I left it.

However, those tick boxes, in particular the second one, appear to make the addon redundant because even though I have removed the addon (by deleting the relevant folder from the hidden\AppData.…\plugins folder) Gramps still reopens where I left it.

What exactly is it that the addon is supposed to do?

---

<div class="post-metadata">

**Author:** ![anon44746896](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@anon44746896](https://gramps.discourse.group/u/anon44746896)\
**Post date:** [November 16, 2024, 10:22pm UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/4 "2024-11-16T22:22:18Z")

</div>

Support page shows a bit more information:

> The **‘Restart where you were last working’** aka RestoreHist (Restore History) addon allows a portion of the [Go menu](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Navigation#Go) can be made to persist between restarts of Gramps. This addon causes Gramps to restart on the same view and object where Gramps was previously closed.
> 
> Usage - Once this addon has been installed it adds no new menus or Gramplet, but allows the last six [objects](https://gramps-project.org/wiki/index.php/Gramps_Glossary#object) visited to be found via the ‘Go’ menu.
> 
> [https://gramps-project.org/wiki/index.php/Addon:RestartWhereYouWereLastWorking](https://gramps-project.org/wiki/index.php/Addon:RestartWhereYouWereLastWorking)

---

<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 16, 2024, 10:47pm UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/5 "2024-11-16T22:47:15Z")

</div>

[quote=“Gioto, post:4, topic:6444”]  
allows the last six [objects](https://gramps-project.org/wiki/index.php/Gramps_Glossary#object) visited to be found via the ‘Go’ menu.  
[/quote] related to the Restore History

@kku , is the [Recent Items](https://github.com/kkujansuu/gramps/tree/master/addons/recent-items) GENERAL addon related to the [Restore History](https://github.com/gramps-project/addons-source/tree/maintenance/gramps52/RestoreHist) GENERAL addon?

They both cache 6 items of History, one for the Go menu, the other for the Object Selectors.

Do they share cache files? Can they exist independently? Can they be combined into a single addon?

---

<div class="post-metadata">

**Author:** ![kku](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@kku](https://gramps.discourse.group/u/kku)\
**Post date:** [November 17, 2024, 7:31am UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/6 "2024-11-17T07:31:09Z")

</div>

> [@emyoulation](#):
>
> @kku , is the [Recent Items](https://github.com/kkujansuu/gramps/tree/master/addons/recent-items) GENERAL addon related to the [Restore History](https://github.com/gramps-project/addons-source/tree/maintenance/gramps52/RestoreHist) GENERAL addon?
> 
> They both cache 6 items of History, one for the Go menu, the other for the Object Selectors.
> 
> Do they share cache files? Can they exist independently? Can they be combined into a single addon?

No, the addons are not related. I wasn’t familiar with the Restore History addon.

They do not share cache files. Obviously they can exist independently. In principle they could be combined but I’m not sure if it is a good idea.

---

<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 17, 2024, 9:36am UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/7 "2024-11-17T09:36:32Z")

</div>

> [@kku](#):
>
> They do not share cache files.

Perhaps they could be made to share cache files and eliminate a redundacy?

Your list of ‘recents’ seems to be more consistent and comprehensive. One of the ‘recents’ that the Go menu ignores are: newly created objects… and when users utilize the Edit → Add a \_\_\_ , to create a disconnected object, the obvious next step is to attach that object to the tree somehow.

Or, more related to one of your workflows, one of the reasons to save a SuperTool Script to a Note is to edit the script where more rows are visible. But to get to that Note editor, you have to switch to the Notes category (which clears the results in the SuperTool gui) and find the new Note. Then switch back to the original category and re-run the script to reference the results.

Neither ‘recent’ really helps there. Perhaps the context menu in the Clipboard could have a “Clip recent” menu with a submenu of 6 objects?

I often edit or cite something and realize belatedly that there are about to be several more uses of that object. So I should have clipped it.

---

<div class="post-metadata">

**Author:** ![kku](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@kku](https://gramps.discourse.group/u/kku)\
**Post date:** [November 17, 2024, 11:05am UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/8 "2024-11-17T11:05:04Z")

</div>

> [@emyoulation](#):
>
> But to get to that Note editor, you have to switch to the Notes category

Not really. The “Load from note” dialog has the “Edit” button that allows you to edit the notes.

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

---

<div class="post-metadata">

**Author:** ![kku](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@kku](https://gramps.discourse.group/u/kku)\
**Post date:** [November 17, 2024, 11:08am UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/9 "2024-11-17T11:08:48Z")

</div>

Anyway, for larger scripts I tend to use the @include feature and store all code in a separate Python file (for example, see the ‘subsets’ script). That file can then be edited with an external editor. All changes take effect immediately. And the external editor can support syntax highlighting which is nice.

---

<div class="post-metadata">

**Author:** ![kku](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@kku](https://gramps.discourse.group/u/kku)\
**Post date:** [November 17, 2024, 11:27am UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/10 "2024-11-17T11:27:30Z")

</div>

It seems to be that the “Restore History” addon does not _decide_ what is stored in the Go menu. It just saves and restores the menu items. The menu is populated elsewhere (in core Gramps code).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [December 17, 2024, 11:28am UTC](https://gramps.discourse.group/t/restart-where-your-were-last-working/6444/11 "2024-12-17T11:28:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
