View Issue Details

IDProjectCategoryView StatusLast Update
0017547ScribusGeneralpublic2025-06-02 21:41
Reporterale Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version1.7.1.svn 
Fixed in Version1.7.1.svn 
Summary0017547: short-words: text splitting changed between 1.6.4 and 1.7.0
DescriptionA former Scribus developer, reported a 3rd party user complaining that:

    When I use Short Words on a text (regardless of whether it's Slovak or Czech), non-breaking spaces are added even where they shouldn't be. For example, take the sentence: “koľko u vás prší”. After using the plugin, the result becomes "koľko uvásprší".

    When I analyzed multiple texts, I realized that the issue lies in the evaluation of letters with diacritics. For example, all words ending in “u” or “s”, etc., that are preceded by a letter with a diacritic, are interpreted as one-letter words, and so a non-breaking space is added after them. In this case, it's “vás”, but it does the same for words like “čo” or “vôľu”…

    I also tried it in version 1.6.4, and there it's working correctly.



the 1st frame has Short Words applied - the nbsp is appliad after "či" -- which is not specified in the config

the 2bd frame shows the text without SW applied
TagsNo tags attached.
PatchNo

Activities

ale

2025-05-31 06:03

manager  

Document-1.png (25,592 bytes)   
Document-1.png (25,592 bytes)   
Document-1.tar.gz (4,308 bytes)

jghali

2025-06-02 21:41

administrator   ~0052695

It seems Qt6 QRegularExpression had a behavior change vs Qt5 QRegExp : in order to take unicode properties into account, a specific non default option needs to be set : QRegularExpression::UseUnicodePropertiesOption. Once done, it seems to work as before.

Issue History

Date Modified Username Field Change
2025-05-31 06:03 ale New Issue
2025-05-31 06:03 ale File Added: Document-1.png
2025-05-31 06:03 ale File Added: Document-1.tar.gz
2025-06-02 21:41 jghali Assigned To => jghali
2025-06-02 21:41 jghali Status new => resolved
2025-06-02 21:41 jghali Resolution open => fixed
2025-06-02 21:41 jghali Fixed in Version => 1.7.1.svn
2025-06-02 21:41 jghali Note Added: 0052695