textOverflows method: not doing what the docs say?

Previous topic - Next topic

henrylaw

The documentation at https://impagina.org/scribus-scripter-api/text-frame/#textoverflows says that the 'nolinks' parameter controls whether or not Scripter will look at the whole text chain for an overflow. I have a test case which suggests that it never does so; that you have specifically to look at the last frame to find out whether or not there is text overflow.

Run the attached script (after renaming it .py!) in the attached test case document. Run it from the command line, as it uses 'print()' to report what it's doing. You should see from the messages that the 'nolinks' parameter has no effect.

Am I doing something wrong?  I'll raise a defect report if not.

Scribus 1.7.1 svn running under Linux Mint 22.3.

(PS this might be crummy Python; I've been a Perl programmer to date!)