Help About showing system details

The Help/About pop up currently shows as below so either the popup has to expandable to show data or data needs a change of layout to fix box problem is marked with *
GRAMPS: 5.1.6
Python: 3.10.12 (main, Nov 20 2023, 15:14:05) [G *
BSDDB: 6.2.9 (5, 3, 28)
sqlite: 3.37.2 (2.6.0)
LANG: en_GB.UTF-8
OS: Linux
Distribution: 6.2.0-39-generic
Phil

1 Like

Looks like reasonable enhancement request.

The beta releases of Gramps have version numbers that are incredibly long. It’d be nice if they didn’t have an ellipsis asterisk placeholder when copying too.

The asterisk was mine to take the eye straight to the issue, apologies
for any confusion this might have caused
Phil

Thanks for the clarification. By the way, there is a discourse markdown reference page with a few ways to insert highlights. (Since they are used infrequently, you can just write “discourse markdown” in your message. The preview will “linkify” that with a clickable link that can be opened in another tab.)

Thanks Brian bit of a newbie on this extremely complex system
Phil

We all start there. And most of us only will ever use just a fraction of the capabilities.

FYI, after many years without, a PDF of the manual is available for download. MUCH easier to search.

Code in the About box dialog truncates lines and adds ellipsis at the end if they are “too long”. In the About box version information, the Python version string in line 149 seems to be the longest of them, something like (image below):

Python: 3.6.4 (default, Jan 23 2018, 13:17:37) [GCC 7.2.0 64 bit (AMD64)]

This is the output of sys.version() which includes not only the Python version (which seems to be the intent), but also info about the build and compiler. If that’s not required, we could change the call to platform.python_version() which returns a simpler string (image below):

Python: 3.6.4

Is there any reason to include details about the Python bulid in the About box? If not I can submit a PR with this change. All calls to ellipses() could also be removed because most of the strings are small, and if they are longer than a line, they will wrap around to the next line which doesn’t seem like a bad thing. Thoughts?

Python version full string, wrapped to next line:

Python version, short string:

1 Like

This only came about because It was the natural place to get the
information as a copy and paste into my messages, as requested to
Discourse if it does not help anybody responding to a query then for me
it should be removed.
Phil

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