# New FamilyTreeView Addon (Thread 2)

**URL:** <https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014>\
**Category:** Development\
**Tags:** third-party-addon, familytreeview\
**Created:** [February 15, 2025, 4:22pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014 "2025-02-15T16:22:26Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)\
**Post date:** [March 20, 2025, 2:14pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/81 "2025-03-20T14:14:52Z")

</div>

To register an icon theme the [`icondir`](https://github.com/gramps-project/gramps/blob/maintenance/gramps60/gramps/gen/plug/_pluginreg.py#L296) attribute should be set.

Our API documentation needs re-generating for v6.0. The documentation of the [`PluginData`](https://www.gramps-project.org/docs/gen/gen_plug.html#module-gramps.gen.plug._pluginreg) object needs tidying up.

I can’t think of a better way of making the position of a view conditional.

---

<div class="post-metadata">

**Author:** ![ztlxltl](https://avatars.discourse-cdn.com/v4/letter/z/96bed5/32.png) [@ztlxltl](https://gramps.discourse.group/u/ztlxltl)\
**Post date:** [March 20, 2025, 5:10pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/82 "2025-03-20T17:10:31Z")

</div>

> [@hamkg](#):
>
> I can imagine that porting the addon to the new version might be a challenge and that it will take some time?

@hamkg  
The hardest part (adapting the abbreviated name display) was done about 3 weeks ago, and the changes worked with 6.0 at that time. They are not public yet. Hopefully I’ll find time this weekend to release the addon for 6.0.

* * *

> [@hamkg](#):
>
> Happy to help with testing pre-releases if necessary.

There was no release version yet, so all versions of FTV should be considered pre-release and somewhat unstable. I’ll let you know when I release the addon for Gramps 6.0.

---

<div class="post-metadata">

**Author:** ![ztlxltl](https://avatars.discourse-cdn.com/v4/letter/z/96bed5/32.png) [@ztlxltl](https://gramps.discourse.group/u/ztlxltl)\
**Post date:** [March 20, 2025, 5:14pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/83 "2025-03-20T17:14:28Z")

</div>

> [@Nick-Hall](#):
>
> To register an icon theme the [`icondir`](https://github.com/gramps-project/gramps/blob/maintenance/gramps60/gramps/gen/plug/_pluginreg.py#L296) attribute should be set.

I’ll take a look.

* * *

> [@Nick-Hall](#):
>
> The documentation of the [`PluginData`](https://www.gramps-project.org/docs/gen/gen_plug.html#module-gramps.gen.plug._pluginreg) object needs tidying up.

@Nick-Hall When this is done: I had no success using `fpath`. My experience was that this is overwritten. Whatever is in the .gpr.py file is discarded and a default path is used.

---

<div class="post-metadata">

**Author:** ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)\
**Post date:** [March 20, 2025, 5:43pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/84 "2025-03-20T17:43:57Z")

</div>

> [@ztlxltl](#):
>
> Whatever is in the .gpr.py file is discarded and a default path is used.

The `fpath` attribute is used in the [`import_plugin`](https://github.com/gramps-project/gramps/blob/master/gramps/gen/plug/_manager.py#L288) method of the plugin manager. It is only used on Windows and the path is only set when an addon is imported. The change is not permanent.

---

<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:** [March 21, 2025, 1:16pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/85 "2025-03-21T13:16:19Z")

</div>

> [@ztlxltl](#):
>
> I’ll let you know when I release the addon for Gramps 6.0.

I’m in no rush to upgrade to Gramps 6.0 but I will get there in due course. Most likely after the first maintenance release. Meanwhile, given that Gramps 6.0 is the future, will you continue to develop FTV for Gramps 5.2? What I mean is, supporting two versions will be a lot of work and since FTV is still pre-release is there any point in carrying on with FTV for Gramps 5.2?

---

<div class="post-metadata">

**Author:** ![ztlxltl](https://avatars.discourse-cdn.com/v4/letter/z/96bed5/32.png) [@ztlxltl](https://gramps.discourse.group/u/ztlxltl)\
**Post date:** [March 21, 2025, 7:06pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/86 "2025-03-21T19:06:04Z")

</div>

> [@stuck](#):
>
> will you continue to develop FTV for Gramps 5.2? What I mean is, supporting two versions will be a lot of work and since FTV is still pre-release is there any point in carrying on with FTV for Gramps 5.2?

I’ve thought about this as well. I think I won’t add new features for both versions because of the extra work and testing on my part. If I continue to work only based on one Gramps version, it makes more sense to continue to implement new features in the 6.0 version, to reduce the potential work of porting those changes from 5.2 to 6.0 later when the version switch for the addon is made. From a user perspective: If I wait to switch to 6.0, users who switch Gramps version earlier will not be able to use FTV at all. If I switch early, everyone will be able to use FTV (while those using 6.0 will get new features).

Since I don’t know how fast people update Gramps (more precisely, how fast FTV users update Gramps\*), it’s hard to find the best time, but it seems like switching FTV to 6.0 earlier is the lesser of two evils.

\* I don’t even know how many people use FTV at all. There were a lot of comments on the forum in the weeks after the first beta was published/announced, but it slowed down.

---

<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 21, 2025, 7:27pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/87 "2025-03-21T19:27:15Z")

</div>

> [@ztlxltl](#):
>
> I don’t even know how many people use FTV at all. There were a lot of comments on the forum in the weeks after the first beta was published/announced, but it slowed down.

I wonder if GitHub has an option to measure the rate that the addons-xx.json are touched?

There would be a lot of repeats from the same IPs but it would hint at the volume of active users. And measuring the surge when you do a 6.0 curated project listing would be informative too.

See

> [@Curated addon collections](https://gramps.discourse.group/t/curated-addon-collections/7170/5):
>
> ztlxltl experimental FamilyTreeView (FTV) chart view by @ztlxltl Project Name: FamilyTreeView (5.2) https://raw.githubusercontent.com/ztlxltl/FamilyTreeView/dist/gramps52 Project Name: FamilyTreeView (6.0) https://raw.githubusercontent.com/ztlxltl/FamilyTreeView/dist/gramps60 [https://github.com/ztlxltl/FamilyTreeView](https://github.com/ztlxltl/FamilyTreeView)

---

<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:** [March 21, 2025, 7:31pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/88 "2025-03-21T19:31:17Z")

</div>

> [@ztlxltl](#):
>
> it makes more sense to continue to implement new features in the 6.0 version

I agree, that’s your only practical way forward. I don’t mind that I won’t get new features in FTV until I update to Gramps 6.

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://gramps.discourse.group/u/Robert)\
**Post date:** [March 21, 2025, 7:47pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/89 "2025-03-21T19:47:29Z")

</div>

I have been using FTV on 5.2.4 (MacOS). I rate it very highly and I look forward to seeing it on 6.0.0!

---

<div class="post-metadata">

**Author:** ![ztlxltl](https://avatars.discourse-cdn.com/v4/letter/z/96bed5/32.png) [@ztlxltl](https://gramps.discourse.group/u/ztlxltl)\
**Post date:** [March 21, 2025, 8:25pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/90 "2025-03-21T20:25:48Z")

</div>

> [@emyoulation](#):
>
> I wonder if GitHub has an option to measure the rate that the addons-xx.json are touched?

I tried to find an api for [raw.githubusercontent.com](http://raw.githubusercontent.com) statistics, but I couldn’t find one. If anyone knows of an endpoint for specific files, let me know!

---

<div class="post-metadata">

**Author:** ![csam](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/csam/32/5361_2.png) [@csam](https://gramps.discourse.group/u/csam)\
**Post date:** [March 22, 2025, 6:36am UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/91 "2025-03-22T06:36:39Z")

</div>

I’m so addicted to FTV, that I will not be able to upgrade to Gramps 6.x until FTV is ready 😉

---

<div class="post-metadata">

**Author:** ![ztlxltl](https://avatars.discourse-cdn.com/v4/letter/z/96bed5/32.png) [@ztlxltl](https://gramps.discourse.group/u/ztlxltl)\
**Post date:** [March 22, 2025, 8:48am UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/92 "2025-03-22T08:48:10Z")

</div>

I’d like to give a small update of the changes that have not yet been discussed in this thread (as of v0.1.118):

- I improved the translatability of FTV and started a [separate topic](https://gramps.discourse.group/t/preparing-the-translation-of-the-familytreeview-addon/7190) to organize the preparation and testing of the translation workflow of FTV. [Currently](https://gramps.discourse.group/t/preparing-the-translation-of-the-familytreeview-addon/7190/13) I’m waiting for a PR with a few translated labes/strings to test the next step in the workflow.
- There is now a config option for whether you want to highlight the home person. (By default, Gramps uses a green background for the home person.) In previous versions, the home person was always highlighted.
- A gallery was added to the person panel.
- Improved tag placement for multiple tags.
- PRs [#37](https://github.com/ztlxltl/FamilyTreeView/pull/37) and [#35](https://github.com/ztlxltl/FamilyTreeView/pull/35) were merged to fix bugs in the panel timeline. Many thanks to @TJB!
  - #37 fixes the timeline when events are hidden due to options in the config dialog
  - #35 introduces escaping special characters in the timeline (since markup (bold) is used there, some special characters need to be escaped)

- Small fixes, e.g. grandparents were not aligned correctly in some cases.

---

<div class="post-metadata">

**Author:** ![ztlxltl](https://avatars.discourse-cdn.com/v4/letter/z/96bed5/32.png) [@ztlxltl](https://gramps.discourse.group/u/ztlxltl)\
**Post date:** [March 22, 2025, 1:15pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/93 "2025-03-22T13:15:37Z")

</div>

FamilyTreeView is now available for Gramps 6.0 (FTV v0.1.120). Please note that the addon should not be considered stable yet. Back up your data before and while using this addon!

Make sure you use the correct URL in the [Addon Manager](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Navigation#Using_the_Addon_Manager) project:  
`https://raw.githubusercontent.com/ztlxltl/FamilyTreeView/dist/gramps60`  
As always, the files that Gramps will download can be found on the dist branch:  
[`https://github.com/ztlxltl/FamilyTreeView/tree/dist/gramps60`](https://github.com/ztlxltl/FamilyTreeView/tree/dist/gramps60)  
See the [installation instructions on GitHub](https://github.com/ztlxltl/FamilyTreeView#Installation) for more details.

New features will only be available for FTV when used with Gramps 6.0, but you can still download the version for Gramps 5.2 using the old URL.

In order to make the addon work with Gramps 6.0, some major changes to the abbreviated name display and some minor changes to the panel gramplet were required. Please let me know if you find any new bugs in FTV.

---

<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 22, 2025, 1:24pm UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/94 "2025-03-22T13:24:54Z")

</div>

[FTV listing](https://gramps.discourse.group/t/curated-addon-collections/7170/5) in the “Curated Addon Collections” thread (in the Help: [User Manual](https://gramps.discourse.group/c/gramps-users/user-manual/26) section) has been updated.

---

<div class="post-metadata">

**Author:** ![Bouscram](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/bouscram/32/1000_2.png) [@Bouscram](https://gramps.discourse.group/u/Bouscram)\
**Post date:** [March 23, 2025, 9:23am UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/95 "2025-03-23T09:23:43Z")

</div>

Hello. Just a small issue on Gramps 6.0 : there is still a dependency on the “Themes” add-on, which I thought had been corrected for Gramps 5.2 (I didn’t re-check).  
If it is not installed, FTV can’t start.

---

<div class="post-metadata">

**Author:** ![ztlxltl](https://avatars.discourse-cdn.com/v4/letter/z/96bed5/32.png) [@ztlxltl](https://gramps.discourse.group/u/ztlxltl)\
**Post date:** [March 23, 2025, 10:02am UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/96 "2025-03-23T10:02:24Z")

</div>

@Bouscram  
Thanks for reporting this. It seems that `ConfigManager.is_key()` and `ConfigManager._validate_section_and_setting()` only check `ConfigManager.data`, but don’t check `ConfigManager.callbacks`, so `ConfigManager.connect` can fail in edge cases. I wrapped a `try` … `except` block around the calls to the `connect` method.  
I don’t think this is a new bug, but it’s just surfacing now that edge cases are more likely due to many new installations.  
Can you try FTV v0.1.121 and report back? If it still doesn’t work, could you open a GitHub issue?

---

<div class="post-metadata">

**Author:** ![Bouscram](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/bouscram/32/1000_2.png) [@Bouscram](https://gramps.discourse.group/u/Bouscram)\
**Post date:** [March 23, 2025, 10:06am UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/97 "2025-03-23T10:06:44Z")

</div>

I already have FTV 0.1.121 installed, I spotted the issue with it while trying to identify the source of the issue I have with launching Gramps from the Mac Finder…

[reported in GitHub: [FTV needs the "Themes" add-on to start correctly on Gramps 6.0 · Issue #52 · ztlxltl/FamilyTreeView · GitHub](https://github.com/ztlxltl/FamilyTreeView/issues/52)]

---

<div class="post-metadata">

**Author:** ![ztlxltl](https://avatars.discourse-cdn.com/v4/letter/z/96bed5/32.png) [@ztlxltl](https://gramps.discourse.group/u/ztlxltl)\
**Post date:** [March 23, 2025, 10:17am UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/98 "2025-03-23T10:17:31Z")

</div>

> [@Bouscram](#):
>
> I already have FTV 0.1.121 installed, I spotted the issue with it

I released v0.1.121 of FTV 33 minutes after you reported the problem. Can you double-check?

---

<div class="post-metadata">

**Author:** ![Bouscram](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/bouscram/32/1000_2.png) [@Bouscram](https://gramps.discourse.group/u/Bouscram)\
**Post date:** [March 23, 2025, 10:20am UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/99 "2025-03-23T10:20:59Z")

</div>

Oups, sorry, it works…

---

<div class="post-metadata">

**Author:** ![Bouscram](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/bouscram/32/1000_2.png) [@Bouscram](https://gramps.discourse.group/u/Bouscram)\
**Post date:** [March 23, 2025, 10:28am UTC](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014/100 "2025-03-23T10:28:40Z")

</div>

I think there is an issue with v0.1.121 : trying to open the panel or info box generates the following error (I’m quite sure it wasn’t there before):

> 7820: ERROR: grampsapp.py: line 188: Unhandled exception  
> Traceback (most recent call last):  
> File “/Users/cram/Library/Application Support/gramps/gramps60/plugins/FamilyTreeView/family\_tree\_view\_widget\_manager.py”, line 878, in cb\_call\_function\_once  
> function(\*data)  
> ~~~~~~~~ ^^^^^^^  
> File “/Users/cram/Library/Application Support/gramps/gramps60/plugins/FamilyTreeView/family\_tree\_view\_panel\_manager.py”, line 85, in open\_person\_panel  
> image = self.create\_image\_widget(person)  
> File “/Users/cram/Library/Application Support/gramps/gramps60/plugins/FamilyTreeView/family\_tree\_view\_info\_widget\_manager.py”, line 118, in create\_image\_widget  
> return self.create\_image\_from\_image\_spec(image\_spec, img\_width, img\_height, color=color)  
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
> File “/Users/cram/Library/Application Support/gramps/gramps60/plugins/FamilyTreeView/family\_tree\_view\_info\_widget\_manager.py”, line 147, in create\_image\_from\_image\_spec  
> pixbuf\_loader.close()  
> ~~~~~~~~~~~~~~~~~~~ ^^  
> gi.repository.GLib.GError: gdk-pixbuf-error-quark: Unrecognized image file format (3)

[Previous page](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014.md?page=4)

[Next page](https://gramps.discourse.group/t/new-familytreeview-addon-thread-2/7014.md?page=6)
