• Bug#1109002: libreoffice: Basic function BubbleSortList gives wrong res

    From Arnaud Giersch@21:1/5 to All on Wed Jul 9 12:30:01 2025
    Package: libreoffice
    Version: 4:7.4.7-1+deb12u8
    Severity: normal

    Dear Maintainer,

    The Basic function BubbleSortList from the module Tools/Strings gives
    sometimes a wrong answer.

    When the smallest element of the array is at the last position, it is taken
    to the second position instead of the first in the sorted result.

    For example, the following program shows "After: [2, 1, 3]" instead of the expected "After: [1, 2, 3]".

    Rem ***** cut here *****
    Sub Main
    Dim a(2)
    a(0) = "2"
    a(1) = "3"
    a(2) = "1"
    Print "Before: [" + a(0) + ", " + a(1) + ", " + a(2) + "]"
    b = BubbleSortList(a)
    ' expected: After: [1, 2, 3]
    Print "After: [" + b(0) + ", " + b(1) + ", " + b(2) + "]"
    End Sub
    Rem ***** cut here *****

    I guess that in the code for the BubbleSortList function, the "For s"-loop should be
    For s = 1 to i
    instead of
    For s = 1 to i - 1

    Regards,
    Arnaud Giersch

    -- Package-specific info:
    All deployed bundled extensions:

    <none>
    All deployed shared extensions:

    <none>
    All deployed user extensions:

    <none>

    Experimental features enabled:
    <item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="ExperimentalMode" oor:op="fuse"><value>false</value></prop></item>

    Installed VCLplugs:
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description +++-================-============-============-=================================
    un libreoffice-gtk3 <none> <none> (no description available)
    un libreoffice-kf5 <none> <none> (no description available)
    un libreoffice-qt5 <none> <none> (no description available)

    Java (javaldx): /usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/client:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/server:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/native_threads:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64

    Java:
    <java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <javaInfo xsi:nil="false" vendorUpdate="2019-07-26" autoSelect="true"> <location>file:///usr/lib/jvm/java-11-openjdk-amd64</location>
    </javaInfo>
    </java>
    Configuration file Package Exists Changed
    /etc/libreoffice/registry/writer.xcd libreoffice-writer Yes No All deployed bundled extensions:

    <none>
    All deployed shared extensions:

    <none>
    All deployed user extensions:

    <none>

    Experimental features enabled:
    <item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="ExperimentalMode" oor:op="fuse"><value>false</value></prop></item>

    Installed VCLplugs:
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description +++-================-============-============-=================================
    un libreoffice-gtk3 <none> <none> (no description available)
    un libreoffice-kf5 <none> <none> (no description available)
    un libreoffice-qt5 <none> <none> (no description available)

    Java (javaldx): /usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/client:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/server:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/native_threads:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64

    Java:
    <java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <javaInfo xsi:nil="false" vendorUpdate="2019-07-26" autoSelect="true"> <location>file:///usr/lib/jvm/java-11-openjdk-amd64</location>
    </javaInfo>
    </java>
    Configuration file Package Exists Changed
    /etc/libreoffice/registry/calc.xcd libreoffice-calc Yes No All deployed bundled extensions:

    <none>
    All deployed shared extensions:

    <none>
    All deployed user extensions:

    <none>

    Experimental features enabled:
    <item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="ExperimentalMode" oor:op="fuse"><value>false</value></prop></item>

    Installed VCLplugs:
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description +++-================-============-============-=================================
    un libreoffice-gtk3 <none> <none> (no description available)
    un libreoffice-kf5 <none> <none> (no description available)
    un libreoffice-qt5 <none> <none> (no description available)

    Java (javaldx): /usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/client:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/server:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/native_threads:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64

    Java:
    <java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <javaInfo xsi:nil="false" vendorUpdate="2019-07-26" autoSelect="true"> <location>file:///usr/lib/jvm/java-11-openjdk-amd64</location>
    </javaInfo>
    </java>
    Configuration file Package Exists Changed
    /etc/libreoffice/registry/base.xcd libreoffice-base Yes No All deployed bundled extensions:

    <none>
    All deployed shared extensions:

    <none>
    All deployed user extensions:

    <none>

    Experimental features enabled:
    <item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="ExperimentalMode" oor:op="fuse"><value>false</value></prop></item>

    Installed VCLplugs:
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description +++-================-============-============-=================================
    un libreoffice-gtk3 <none> <none> (no description available)
    un libreoffice-kf5 <none> <none> (no description available)
    un libreoffice-qt5 <none> <none> (no description available)

    Java (javaldx): /usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/client:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/server:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/native_threads:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64

    Java:
    <java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <javaInfo xsi:nil="false" vendorUpdate="2019-07-26" autoSelect="true"> <location>file:///usr/lib/jvm/java-11-openjdk-amd64</location>
    </javaInfo>
    </java>
    Configuration file Package Exists Changed
    /etc/libreoffice/registry/draw.xcd libreoffice-draw Yes No /etc/libreoffice/registry/graphicfilter.xcd libreoffice-draw Yes No All deployed bundled extensions:

    <none>
    All deployed shared extensions:

    <none>
    All deployed user extensions:

    <none>

    Experimental features enabled:
    <item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="ExperimentalMode" oor:op="fuse"><value>false</value></prop></item>

    Installed VCLplugs:
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description +++-================-============-============-=================================
    un libreoffice-gtk3 <none> <none> (no description available)
    un libreoffice-kf5 <none> <none> (no description available)
    un libreoffice-qt5 <none> <none> (no description available)

    Java (javaldx): /usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/client:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/server:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/native_threads:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64

    Java:
    <java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <javaInfo xsi:nil="false" vendorUpdate="2019-07-26" autoSelect="true"> <location>file:///usr/lib/jvm/java-11-openjdk-amd64</location>
    </javaInfo>
    </java>
    Configuration file Package Exists Changed
    /etc/libreoffice/registry/impress.xcd libreoffice-impress Yes No /etc/libreoffice/registry/ogltrans.xcd libreoffice-impress Yes No All deployed bundled extensions:

    <none>
    All deployed shared extensions:

    <none>
    All deployed user extensions:

    <none>

    Experimental features enabled:
    <item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="ExperimentalMode" oor:op="fuse"><value>false</value></prop></item>

    Installed VCLplugs:
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description +++-================-============-============-=================================
    un libreoffice-gtk3 <none> <none> (no description available)
    un libreoffice-kf5 <none> <none> (no description available)
    un libreoffice-qt5 <none> <none> (no description available)

    Java (javaldx): /usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/client:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/server:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/native_threads:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64

    Java:
    <java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <javaInfo xsi:nil="false" vendorUpdate="2019-07-26" autoSelect="true"> <location>file:///usr/lib/jvm/java-11-openjdk-amd64</location>
    </javaInfo>
    </java>
    Configuration file Package Exists Changed
    /etc/libreoffice/registry/draw.xcd libreoffice-draw Yes No /etc/libreoffice/registry/graphicfilter.xcd libreoffice-draw Yes No All deployed bundled extensions:

    <none>
    All deployed shared extensions:

    <none>
    All deployed user extensions:

    <none>

    Experimental features enabled:
    <item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="ExperimentalMode" oor:op="fuse"><value>false</value></prop></item>

    Installed VCLplugs:
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description +++-================-============-============-=================================
    un libreoffice-gtk3 <none> <none> (no description available)
    un libreoffice-kf5 <none> <none> (no description available)
    un libreoffice-qt5 <none> <none> (no description available)

    Java (javaldx): /usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/client:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/server:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/native_threads:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64

    Java:
    <java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <javaInfo xsi:nil="false" vendorUpdate="2019-07-26" autoSelect="true"> <location>file:///usr/lib/jvm/java-11-openjdk-amd64</location>
    </javaInfo>
    </java>
    Configuration file Package Exists Changed
    /etc/libreoffice/registry/math.xcd libreoffice-math Yes No All deployed bundled extensions:

    <none>
    All deployed shared extensions:

    <none>
    All deployed user extensions:

    <none>

    Experimental features enabled:
    <item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="ExperimentalMode" oor:op="fuse"><value>false</value></prop></item>

    Installed VCLplugs:
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description +++-================-============-============-=================================
    un libreoffice-gtk3 <none> <none> (no description available)
    un libreoffice-kf5 <none> <none> (no description available)
    un libreoffice-qt5 <none> <none> (no description available)

    Java (javaldx): /usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/client:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/server:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64/native_threads:/usr/lib/jvm/java-17-openjdk-amd64/lib/amd64

    Java:
    <java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <javaInfo xsi:nil="false" vendorUpdate="2019-07-26" autoSelect="true"> <location>file:///usr/lib/jvm/java-11-openjdk-amd64</location>
    </javaInfo>
    </java>

    -- System Information:
    Debian Release: 12.11
    APT prefers unstable-debug
    APT policy: (500, 'unstable-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'stable'), (50, 'unstable'), (40, 'experimental'), (1, 'experimental-debug')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.1.0-33-amd64 (SMP w/8 CPU threads; PREEMPT)
    Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages libreoffice depends on:
    ii libreoffice-base 4:7.4.7-1+deb12u8
    ii libreoffice-calc 4:7.4.7-1+deb12u8
    ii libreoffice-core 4:7.4.7-1+deb12u8
    ii libreoffice-draw 4:7.4.7-1+deb12u8
    ii libreoffice-impress 4:7.4.7-1+deb12u8
    ii libreoffice-math 4:7.4.7-1+deb12u8
    ii libreoffice-report-builder-bin 4:7.4.7-1+deb12u8
    ii libreoffice-writer 4:7.4.7-1+deb12u8
    ii python3-uno 4:7.4.7-1+deb12u8

    Versions of packages libreoffice recommends:
    ii fonts-crosextra-caladea 20200211-1
    ii fonts-crosextra-carlito 20220224-1
    ii fonts-dejavu 2.37-6
    ii fonts-liberation 1:1.07.4-11
    ii fonts-liberation2 2.1.5-1
    ii fonts-linuxlibertine 5.3.0-6
    ii fonts-noto-core 20201225-1
    ii fonts-noto-extra 20201225-1
    ii fonts-noto-mono 20201225-1
    ii fonts-noto-ui-core 20201225-1
    ii fonts-sil-gentium-basic 1.102-1.1
    ii libreoffice-java-common 4:7.4.7-1+deb12u8
    pn libreoffice-nlpsolver <none>
    pn libreoffice-report-builder <none>
    pn libreoffice-script-provider-bsh <none>
    pn libreoffice-script-provider-js <none>
    pn libreoffice-script-provider-python <none>
    ii libreoffice-sdbc-mysql 4:7.4.7-1+deb12u8
    pn libreoffice-sdbc-postgresql <none>
    pn libreoffice-wiki-publisher <none>

    Versions of packages libreoffice suggests:
    ii cups-bsd 2.4.2-3+deb12u8
    ii default-jre [java8-runtime] 2:1.17-74
    ii firefox-esr 128.12.0esr-1~deb12u1
    ii ghostscript 10.0.0~dfsg-11+deb12u7
    ii gnupg 2.2.40-1.1+deb12u1
    pn gpa <none>
    ii gstreamer1.0-libav 1.22.0-2
    ii gstreamer1.0-plugins-bad 1.22.0-4+deb12u6
    ii gstreamer1.0-plugins-base 1.22.0-3+deb12u4
    ii gstreamer1.0-plugins-good 1.22.0-5+deb12u2
    ii gstreamer1.0-plugins-ugly 1.22.0-2+deb12u1
    ii hunspell-en-us [hunspell-dictionary] 1:2020.12.07-2
    ii hunspell-fr-classical [hunspell-dictionary] 1:7.0-1
    ii hyphen-fr [hyphen-hyphenation-patterns] 1:7.5.0-1
    ii imagemagick 8:6.9.11.60+dfsg-1.6+deb12u3 ii imagemagick-6.q16 [imagemagick] 8:6.9.11.60+dfsg-1.6+deb12u3 ii libgl1 1.6.0-1
    pn libofficebean-java <none>
    pn libreoffice-gnome | libreoffice-plasma <none>
    pn libreoffice-grammarcheck <none>
    ii libreoffice-help-fr [libreoffice-help] 4:7.4.7-1+deb12u8
    ii libreoffice-l10n-fr [libreoffice-l10n] 4:7.4.7-1+deb12u8
    pn libreoffice-librelogo <none>
    ii libsane1 1.2.1-2
    ii libxrender1 1:0.9.10-1.1
    pn myspell-dictionary <none>
    ii mythes-fr [mythes-thesaurus] 1:7.5.0-1
    pn openclipart-libreoffice <none>
    ii openjdk-11-jre [java8-runtime] 11.0.23+9-1~deb11u1
    ii openjdk-17-jre [java8-runtime] 17.0.15+6-1~deb12u1
    ii pstoedit 3.78-2
    ii thunderbird 1:128.12.0esr-1~deb12u1
    pn unixodbc <none>

    Versions of packages libreoffice-core depends on:
    ii fontconfig 2.14.1-4
    ii fonts-opensymbol 4:102.12+LibO7.4.7-1+deb12u8
    ii libabsl20220623 20220623.1-1+deb12u2
    ii libboost-locale1.74.0 1.74.0+ds1-21
    ii libc6 2.36-9+deb12u12
    ii libcairo2 1.16.0-7
    ii libclucene-contribs1v5 2.3.3.4+dfsg-1.1
    ii libclucene-core1v5 2.3.3.4+dfsg-1.1
    ii libcups2 2.4.2-3+deb12u8
    ii libcurl3-gnutls 7.88.1-10+deb12u13
    ii libdbus-1-3 1.14.10-1~deb12u1
    ii libdconf1 0.40.0-4
    ii libeot0 0.01-5+b1
    ii libepoxy0 1.5.10-1
    ii libexpat1 2.5.0-1+deb12u2
    ii libexttextcat-2.0-0 3.4.5-1
    ii libfontconfig1 2.14.1-4
    ii libfreetype6 2.12.1+dfsg-5+deb12u4
    ii libgcc-s1 12.2.0-14+deb12u1
    ii libglib2.0-0 2.74.6-2+deb12u6
    ii libgpgmepp6 1.18.0-3+b1
    ii libgraphite2-3 1.3.14-1
    ii libgstreamer-plugins-base1.0-0 1.22.0-3+deb12u4
    ii libgstreamer1.0-0 1.22.0-2+deb12u1
    ii libharfbuzz-icu0 6.0.0+dfsg-3
    ii libharfbuzz0b 6.0.0+dfsg-3
    ii libhunspell-1.7-0 1.7.1-1
    ii libhyphen0 2.8.8-7
    ii libice6 2:1.0.10-1
    ii libicu72 72.1-3+deb12u1
    ii libjpeg62-turbo 1:2.1.5-2
    ii liblcms2-2 2.14-2
    ii libldap-2.5-0 2.5.13+dfsg-5
    ii libmythes-1.2-0 2:1.2.5-1
    ii libnspr4 2:4.35-1
    ii libnss3 2:3.87.1-1+deb12u1
    ii libnumbertext-1.0-0 1.0.11-1
    ii libopenjp2-7 2.5.0-2+deb12u1
    ii liborcus-0.17-0 0.17.2-2+b2
    ii liborcus-parser-0.17-0 0.17.2-2+b2
    ii libpng16-16 1.6.39-2
    ii libpoppler126 22.12.0-2+deb12u1
    ii libraptor2-0 2.0.15-4+deb12u1
    ii librdf0 1.0.17-3
    ii libreoffice-common 4:7.4.7-1+deb12u8
    ii librevenge-0.0-0 0.0.5-3
    ii libsm6 2:1.2.3-1
    ii libstdc++6 12.2.0-14+deb12u1
    ii libtiff6 4.5.0-6+deb12u2
    ii libuno-cppu3 4:7.4.7-1+deb12u8
    ii libuno-cppuhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libuno-sal3 4:7.4.7-1+deb12u8
    ii libuno-salhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libwebp7 1.2.4-0.2+deb12u1
    ii libx11-6 2:1.8.4-2+deb12u2
    ii libx11-xcb1 2:1.8.4-2+deb12u2
    ii libxext6 2:1.3.4-1+b1
    ii libxinerama1 2:1.1.4-3
    ii libxml2 2.9.14+dfsg-1.3~deb12u2
    ii libxmlsec1 1.2.37-2
    ii libxmlsec1-nss 1.2.37-2
    ii libxrandr2 2:1.5.2-2+b1
    ii libxrender1 1:0.9.10-1.1
    ii libxslt1.1 1.1.35-1+deb12u1
    ii libzxing2 1.4.0-3+b1
    ii uno-libs-private 4:7.4.7-1+deb12u8
    ii ure 4:7.4.7-1+deb12u8
    ii zlib1g 1:1.2.13.dfsg-1

    Versions of packages libreoffice-core recommends:
    ii gstreamer1.0-libav 1.22.0-2
    ii gstreamer1.0-plugins-bad 1.22.0-4+deb12u6
    ii gstreamer1.0-plugins-base 1.22.0-3+deb12u4
    ii gstreamer1.0-plugins-good 1.22.0-5+deb12u2
    ii gstreamer1.0-plugins-ugly 1.22.0-2+deb12u1
    ii libpaper-utils 1.1.29

    Versions of packages libreoffice-writer depends on:
    ii libabw-0.1-1 0.1.3-1
    ii libc6 2.36-9+deb12u12
    ii libe-book-0.1-1 0.1.3-2+b2
    ii libepubgen-0.1-1 0.1.1-1
    ii libetonyek-0.1-1 0.1.10-3+b1
    ii libgcc-s1 12.2.0-14+deb12u1
    ii libicu72 72.1-3+deb12u1
    ii libmwaw-0.3-3 0.3.21-1
    ii libodfgen-0.1-1 0.1.8-2
    ii libreoffice-base-core 4:7.4.7-1+deb12u8
    ii libreoffice-common 4:7.4.7-1+deb12u8
    ii libreoffice-core 4:7.4.7-1+deb12u8
    ii librevenge-0.0-0 0.0.5-3
    ii libstaroffice-0.0-0 0.0.7-1
    ii libstdc++6 12.2.0-14+deb12u1
    ii libuno-cppu3 4:7.4.7-1+deb12u8
    ii libuno-cppuhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libuno-sal3 4:7.4.7-1+deb12u8
    ii libuno-salhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libwpd-0.10-10 0.10.3-2+b1
    ii libwpg-0.3-3 0.3.3-1
    ii libwps-0.4-4 0.4.13-1
    ii libxml2 2.9.14+dfsg-1.3~deb12u2
    ii ucf 3.0043+nmu1+deb12u1
    ii uno-libs-private 4:7.4.7-1+deb12u8
    ii zlib1g 1:1.2.13.dfsg-1

    Versions of packages libreoffice-writer recommends:
    ii libreoffice-math 4:7.4.7-1+deb12u8

    Versions of packages libreoffice-writer suggests:
    ii default-jre [java8-runtime] 2:1.17-74
    ii fonts-crosextra-caladea 20200211-1
    ii fonts-crosextra-carlito 20220224-1
    ii libreoffice-base 4:7.4.7-1+deb12u8
    ii libreoffice-java-common 4:7.4.7-1+deb12u8
    ii openjdk-11-jre [java8-runtime] 11.0.23+9-1~deb11u1
    ii openjdk-17-jre [java8-runtime] 17.0.15+6-1~deb12u1

    Versions of packages libreoffice-calc depends on:
    ii coinor-libcoinmp1v5 1.8.3-3
    ii libc6 2.36-9+deb12u12
    ii libetonyek-0.1-1 0.1.10-3+b1
    ii libgcc-s1 12.2.0-14+deb12u1
    ii libicu72 72.1-3+deb12u1
    ii libmwaw-0.3-3 0.3.21-1
    ii libodfgen-0.1-1 0.1.8-2
    ii liborcus-0.17-0 0.17.2-2+b2
    ii liborcus-parser-0.17-0 0.17.2-2+b2
    ii libreoffice-base-core 4:7.4.7-1+deb12u8
    ii libreoffice-common 4:7.4.7-1+deb12u8
    ii libreoffice-core 4:7.4.7-1+deb12u8
    ii librevenge-0.0-0 0.0.5-3
    ii libstaroffice-0.0-0 0.0.7-1
    ii libstdc++6 12.2.0-14+deb12u1
    ii libuno-cppu3 4:7.4.7-1+deb12u8
    ii libuno-cppuhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libuno-sal3 4:7.4.7-1+deb12u8
    ii libuno-salhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libwps-0.4-4 0.4.13-1
    ii libxml2 2.9.14+dfsg-1.3~deb12u2
    ii lp-solve 5.5.2.5-2
    ii ucf 3.0043+nmu1+deb12u1
    ii uno-libs-private 4:7.4.7-1+deb12u8

    Versions of packages libreoffice-calc suggests:
    ii ocl-icd-libopencl1 2.3.1-1

    Versions of packages libreoffice-base depends on:
    ii dpkg 1.21.22
    ii libc6 2.36-9+deb12u12
    ii libgcc-s1 12.2.0-14+deb12u1
    ii libreoffice-base-core 4:7.4.7-1+deb12u8
    ii libreoffice-base-drivers 4:7.4.7-1+deb12u8
    ii libreoffice-common 4:7.4.7-1+deb12u8
    ii libreoffice-core 4:7.4.7-1+deb12u8
    ii libstdc++6 12.2.0-14+deb12u1
    ii libuno-cppu3 4:7.4.7-1+deb12u8
    ii libuno-cppuhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libuno-sal3 4:7.4.7-1+deb12u8
    ii libuno-salhelpergcc3-3 4:7.4.7-1+deb12u8
    ii ucf 3.0043+nmu1+deb12u1
    ii uno-libs-private 4:7.4.7-1+deb12u8

    Versions of packages libreoffice-base recommends:
    ii default-jre [java8-runtime] 2:1.17-74
    ii libreoffice-java-common 4:7.4.7-1+deb12u8
    ii libreoffice-writer 4:7.4.7-1+deb12u8
    ii openjdk-11-jre [java8-runtime] 11.0.23+9-1~deb11u1
    ii openjdk-17-jre [java8-runtime] 17.0.15+6-1~deb12u1

    Versions of packages libreoffice-base suggests:
    pn libreoffice-report-builder <none>
    ii python3-uno 4:7.4.7-1+deb12u8
    pn unixodbc <none>

    Versions of packages libreoffice-draw depends on:
    ii libavahi-client3 0.8-10+deb12u1
    ii libavahi-common3 0.8-10+deb12u1
    ii libc6 2.36-9+deb12u12
    ii libcdr-0.1-1 0.1.6-2+b2
    ii libdbus-1-3 1.14.10-1~deb12u1
    ii libfreehand-0.1-1 0.1.2-3
    ii libgcc-s1 12.2.0-14+deb12u1
    ii libglib2.0-0 2.74.6-2+deb12u6
    ii libmspub-0.1-1 0.1.4-3+b3
    ii libmwaw-0.3-3 0.3.21-1
    ii libodfgen-0.1-1 0.1.8-2
    ii libpagemaker-0.0-0 0.0.4-1
    ii libqxp-0.0-0 0.0.2-1+b3
    ii libreoffice-common 4:7.4.7-1+deb12u8
    ii libreoffice-core 4:7.4.7-1+deb12u8
    ii librevenge-0.0-0 0.0.5-3
    ii libstaroffice-0.0-0 0.0.7-1
    ii libstdc++6 12.2.0-14+deb12u1
    ii libuno-cppu3 4:7.4.7-1+deb12u8
    ii libuno-cppuhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libuno-sal3 4:7.4.7-1+deb12u8
    ii libuno-salhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libvisio-0.1-1 0.1.7-1+b3
    ii libwpg-0.3-3 0.3.3-1
    ii libxml2 2.9.14+dfsg-1.3~deb12u2
    ii libzmf-0.0-0 0.0.2-1+b5
    ii ucf 3.0043+nmu1+deb12u1
    ii uno-libs-private 4:7.4.7-1+deb12u8

    Versions of packages libreoffice-impress depends on:
    ii libbox2d2 2.4.1-3
    ii libc6 2.36-9+deb12u12
    ii libepoxy0 1.5.10-1
    ii libetonyek-0.1-1 0.1.10-3+b1
    ii libgcc-s1 12.2.0-14+deb12u1
    ii libmwaw-0.3-3 0.3.21-1
    ii libodfgen-0.1-1 0.1.8-2
    ii libreoffice-common 4:7.4.7-1+deb12u8
    ii libreoffice-core 4:7.4.7-1+deb12u8
    ii libreoffice-draw 4:7.4.7-1+deb12u8
    ii librevenge-0.0-0 0.0.5-3
    ii libstaroffice-0.0-0 0.0.7-1
    ii libstdc++6 12.2.0-14+deb12u1
    ii libuno-cppu3 4:7.4.7-1+deb12u8
    ii libuno-cppuhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libuno-sal3 4:7.4.7-1+deb12u8
    ii libuno-salhelpergcc3-3 4:7.4.7-1+deb12u8
    ii ucf 3.0043+nmu1+deb12u1
    ii uno-libs-private 4:7.4.7-1+deb12u8

    Versions of packages libreoffice-impress suggests:
    pn bluez <none>

    Versions of packages libreoffice-math depends on:
    ii fonts-opensymbol 4:102.12+LibO7.4.7-1+deb12u8
    ii libc6 2.36-9+deb12u12
    ii libgcc-s1 12.2.0-14+deb12u1
    ii libreoffice-common 4:7.4.7-1+deb12u8
    ii libreoffice-core 4:7.4.7-1+deb12u8
    ii libstdc++6 12.2.0-14+deb12u1
    ii libuno-cppu3 4:7.4.7-1+deb12u8
    ii libuno-cppuhelpergcc3-3 4:7.4.7-1+deb12u8
    ii libuno-sal3 4:7.4.7-1+deb12u8
    ii libuno-salhelpergcc3-3 4:7.4.7-1+deb12u8
    ii ucf 3.0043+nmu1+deb12u1
    ii uno-libs-private 4:7.4.7-1+deb12u8

    -- debconf-show failed

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rene Engelhard@21:1/5 to All on Wed Jul 9 18:00:01 2025
    tag 1109002 + moreinfo

    thanks


    Hi,

    Am 09.07.25 um 12:18 schrieb Arnaud Giersch:
    The Basic function BubbleSortList from the module Tools/Strings gives sometimes a wrong answer.

    When the smallest element of the array is at the last position, it is taken to the second position instead of the first in the sorted result.

    https://bugs.documentfoundation.org/show_bug.cgi?id=89803, maybe?


    In any case, this is reported against stables old version. Which would definitely not receive fixes for bugs like this - especially as "stable" also means "non-changing" in case people had workarounds in their code.


    Backports has 25.2.3, please  retry there? Maybe even 25.8.0 rc1 which is in experimental in some test VM or so?


    Regards,


    Rene

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arnaud Giersch@21:1/5 to All on Wed Jul 9 20:00:01 2025
    found 1109002 4:25.2.3-2~bpo12+1

    thanks


    Hi,

    ----- Le 9 Juil 25, à 17:53, Rene Engelhard [email protected] a écrit :

    https://bugs.documentfoundation.org/show_bug.cgi?id=89803, maybe?

    I took a look at the upstream bug report #89803, but I think that it relates to a different problem (it talks about the ordering of accented characters).


    Backports has 25.2.3, please  retry there? Maybe even 25.8.0 rc1 which is in experimental in some test VM or so?

    Sorry, I forgot to include a line in the sample code I provided earlier. The following
    line must be added at the beginning of the procedure :
    GlobalScope.BasicLibraries.LoadLibrary("Tools")

    With this change, I can confirm that the bug is also present in version 4:25.2.3-2~bpo12+1.

    This is not surprising, given that the code has apparently not been changed in the last 20 years :
    https://github.com/LibreOffice/core/blame/master/wizards/source/tools/Strings.xba#L373

    Unfortunately, I currently have no means to test the experimental version.

    Regars,
    Arnaud

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)