What patches are 'vital' to your use of Gramps 5.1.x?

Well, definitively there should be some interim releases. I can’t understand why an obvious (and trivial) bug like the one for long/lat doesn’t trigger a new build - I definitely would if I was a developper. Not everybody is tech savvy enough to apply these manually (even if I am)

I am not arguing either direction.

But there are ALWAYS significant issues in any complex software. And the Lat/Long swap only affects a ‘convenience’… a feature that simplifies data entry… not the functionality of maps nor the integrity of the data being stored.

If something is discovered that presents a large risk to the research of the average user, then an emergency update would certainly be warranted. Similarly, if it would create a small injury to the majority of users.

This particular item doesn’t cross that threshold.

Maybe not vital, but for me personally, this one was a big deal, I havent tried 5.1.4 yet but if it isnt included, I will manually add it as I had on 5.1.3, as it makes the note view so much more usefull for me.


There was a Name & ID conflict with 5.1.4 in that Note Gramplet for the Notes view.

So Matt amended the original with another patch in July. That update is in the same thread.

Make certain you don’t just work from patches described in old eMails.

1 Like

I patched both breakages since they are very annoying. I hope there will be another maintenance release soon to fix them for all users.

Releases are a lot of work and require serveral people (for all the OS supported) even if the changes are minor.

I’m glad that adding the NoteView note gramplet was very usefull to you! :grinning_face_with_smiling_eyes:


I have no idea whether there is one, but when I want to add a Gramplet on Linux, in Cinnamon, I have no scroll arrows in the pop-up, so I can’t pick one from the bottom of the list if the list is longer than my screen height.
The arrows do appear in Windows 10.

That sounds like a good bug report if missing scrollbars for the Gramplet Bar Menu Add a gramplet can be reproduced in 5.1.4 version. I would expect that this code has been touched a few times since the 3.4.9 version you’ve been using though.

However, maybe it is time to revisit the decision to use a menu there? With the volume of add-ons, maybe a searchable (with info and Help access for each addon) selector (something akin to the Plugin Manager Advanced) would be more effective?

Re scroll arrows; This sounds like it might be the disappearing scrollbars that recent Gnome systems are using in their themes. If you move the cursor to near the right edge of the list ,does the scrollbar/arrows appear? Alternatively, I think you should be able to use the arrow keys to scroll through the list.

1 Like

I tried both, but they don’t appear when I move the cursor to the right place, and using the arrow keys doesn’t help either, because I don’t see any focused item.

They are visible in the older Linux that I run Gramps 3.4.9 on, for my daily use, and that has another theme, Mint-X instead of Mint-Y.

See also 0012413: Add gramplet pop-up does not show arrows for scrolling - Gramps - Bugtracker – Free Genealogy Software

Be careful (I learned this the hard way), if you install this change for 5.1.3 or 5.1.4, you need to change this line in the gramps/plugins/gramplet/gramplet.gpr.py file from 5.2 back to 5.1:


Otherwise, the gramplets won’t register and Gramps will hang when you try to navigate from the dashboard to any of the category views.

To be safe, when you open Gramps after installing the changes, go to Help - Plugin Manager and make sure all of the Notes gramplets appear there.

I agree, it is a very useful change, thanks @Mattkmmr!

1 Like

And of course, one should always be careful about adding any new code to an older installation. Just forcing the version number, as in that example, doesn’t magically make the code backwardly compatible, it just tricks your current installation of Gramps into trying to use it. Also, a given file may have been updated for more than one patch.

7 posts were split to a new topic: Feature preview hack: Custom Map provider tiles


Could you look if there is a bug report filed? And if not, file one?

I suppose that it is arguable that if you’re techie enough to manually install, you should be responsible for the problems you create.

But it seems reasonable that since the .gpr.py registration system demands versioning info, it should be able to handle version mismatches in a more graceful manner than a hang.

You might mark it as related to feature request 9677: Make “help_url” an option for all plugins and addons. (Registration currently errors out if a help_url is defined for any add-on type other than Gramplets)

I don’t think it’s a bug. The file in the 5.1.4 release has “5.1”. I imagine there are other files in the current master branch that aren’t intended for release until 5.2? But I don’t know how to check.

Now, if there is a 5.1.5 release someday and that file somehow gets distributed with “5.2” in it, that would be a bug. But if a given release never contains files that are targeted for future releases, then I don’t think any effort should be put into building protection from that scenario.

I agree with you that anyone who applies their own patches needs to be careful and responsible.

You can use Matt’s new site to look for add-ons specifically for 5.2 (or any other version)

It’s generally better to have a graceful fail with prerequisites check instead of a hang with no feedback. But adding that sort of precautionary error handling adds a lot code to a program. It is a judgement call.

7 posts were split to a new topic: Feature preview hack: Custom Map provider tiles

Thank you @SNoiraud, I will wait for 5.2. As I mentioned earlier, it [the “custom map provider tiles” hack] is not a “vital patch” for me, I was just curious to try it.

To return now to @emyoulation’s original question:

Other patches I currently have (besides some of the ones already mentioned by others above) are these:

A post was merged into an existing topic: Feature preview hack: Custom Map provider tiles

This is what I am using for Gramps 5.1.5 on Windows:
1183 img_dpi: gramps\plugins\lib\libcairodoc.py
1284 bottombar creep
1295 note type
1311 database closed
1351 persian dates: gramps\gen\lib\gcalendar.py (a 5.2 change I copied back into 5.1)
1359 records report
1377 no attribute: gramps\gui\viewmanager.py
1393 IndexError: gramps\gui\viewmanager.py
1395 revert the LaTeX change regarding spaces in file names: gramps\gen\plug\docgen\treedoc.py
1401 remove some python2 code: gramps\plugins\export\exportgedcom.py (causing corrupt NOTE tags with utf-8 multi byte characters)

Plugin PR 285: [MediaReport] New image DPI option (this requires PR 1183, seen above)

patch for 5.1 to fix #12680 (PR for 5.2: 1387):

  • gramps\plugins\webreport\place.py
  • gramps\plugins\webreport\person.py

patchs for #12547 to protect Graphviz - dot.exe on Windows
# from non-ascii characters in the Windows user name
# needed by dot.exe version 2.40 (used in Gramps 5.1.5 and before)
patch from bug #12547: gramps\plugins\graph\gvfamilylines.py
patch from bug #12547: gramps\plugins\graph\gvrelgraph.py
(NOTE: this is a patch, if we need to release again with dot.exe version 2.40, a more sophisticated Python developer could put it in a more general place, and improve the efficiency)

1 Like

Four I’ve stored for future versions if I need them again:

Links or PDFs:

I have these in a list that I keep. I see now that some of them are in the master branch and others are in the maintenance/gramps51 branch. I’m currently using 5.1.4-2.