• Bug#1105093: fvwm: should filter out non-printable characters for the w

    From Vincent Lefevre@21:1/5 to All on Sun May 11 01:50:01 2025
    Package: fvwm
    Version: 1:2.7.0-3
    Severity: minor

    Fvwm should filter out the non-printable characters for the window
    title.

    The issue can be reproduced with

    xmessage -geometry 400x100 -title "$(printf "\u200E ABC")" Test

    (or with gxmessage). Due to the U+200E LEFT-TO-RIGHT MARK character,
    I get some strange glyph before "ABC". Without the space before "ABC",
    this glyph appears partly over the "A".

    Note: I first saw this issue with

    https://community-imdb.sprinklr.com/conversations/data-issues-policy-discussions/announcement-contribution-form-update/681b76ab20d5b71fad32eac8

    whose title starts with the U+200E LEFT-TO-RIGHT MARK character, and
    I was wondering about the cause of the display issue.

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable-debug
    APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.25-amd64 (SMP w/16 CPU threads; PREEMPT)
    Locale: LANG=C.UTF-8, LC_CTYPE=C.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 fvwm depends on:
    ii libc6 2.41-7
    ii libcairo2 1.18.4-1+b1
    ii libfontconfig1 2.15.0-2.3
    ii libfribidi0 1.0.16-1
    ii libglib2.0-0t64 2.84.1-2
    ii libice6 2:1.1.1-1
    ii libperl4-corelibs-perl 0.005-1
    ii libpng16-16t64 1.6.48-1
    ii libreadline8t64 8.2-6
    ii librplay3 3.3.2-20
    ii librsvg2-2 2.60.0+dfsg-1
    ii libsm6 2:1.2.6-1
    ii libstroke0 0.5.1-10+b1
    ii libx11-6 2:1.8.12-1
    ii libxcursor1 1:1.2.3-1
    ii libxext6 2:1.3.4-1+b3
    ii libxft2 2.3.6-1+b4
    ii libxinerama1 2:1.1.4-3+b4
    ii libxpm4 1:3.5.17-1+b3
    ii libxrender1 1:0.9.12-1
    ii perl 5.40.1-3

    Versions of packages fvwm recommends:
    ii gnome-menus 3.36.0-3
    ii python3 3.13.3-1
    ii python3-xdg 0.28-2

    Versions of packages fvwm suggests:
    ii cpp 4:14.2.0-1
    ii libx11-protocol-perl 0.56-9
    ii m4 1.4.19-8
    ii perl-tk 1:804.036+dfsg1-5
    pn stalonetray <none>

    -- no debconf information

    --
    Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
    100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
    Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Vincent Lefevre@21:1/5 to Jaimos Skriletz on Sun Jun 1 02:10:01 2025
    On 2025-05-31 13:05:08 -0600, Jaimos Skriletz wrote:
    On Sun, 11 May 2025 01:39:33 +0200 Vincent Lefevre <vincent@vinc17.net> wrote:
    Fvwm should filter out the non-printable characters for the window
    title.

    This really isn't something I think fvwm should do, as fvwm doesn't
    really know if characters are in a user's fonts or not, this is all
    done via libxft and fallback fonts.

    Non-printable characters should never be present in any font,
    as they are not printable.

    --
    Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
    100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
    Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

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