#999679 caja: Caja inserts hyphens into filenames

Package:
caja
Source:
caja
Description:
file manager for the MATE desktop
Submitter:
Qaz
Date:
2022-05-03 14:00:05 UTC
Severity:
normal
#999679#5
Date:
2021-11-14 21:13:31 UTC
From:
To:
Dear Maintainer,

Caja inserts spurious hyphens into filenames in icon view whenever such
filenames are too long to fit on one line.

This bug severely affects usability because it causes unique filenames
to be shown as not unique as explained below.

   * What led up to the situation?
Displaying a file name like "thisisaverylongfilename.txt" in Caja's icon view.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Displaying a file name like "thisisaverylongfilename.txt" in Caja's icon view.

   * What was the outcome of this action?
Caja displays the filename across two lines below the icon, like so:
   thisisaverylongfi-
      lename.txt
Note the hyphen inserted at the end of the first line which is NOT part of
the filename.

   * What outcome did you expect instead?
That Caja displays the filename without inserting any hyphen or any other
character. With the hyphen inserted it becomes impossible to distinguish
between "thisisaverylongfilename.txt" and "thisisaverylongfi-lename.txt"
because both will be displayed with a hyphen between 'fi' and 'le'.

#999679#10
Date:
2021-11-14 21:21:23 UTC
From:
To:

#999679#15
Date:
2022-05-02 20:50:27 UTC
From:
To:
Dear maintainer:

Upstream Caja ticket for this issue is here:
https://github.com/mate-desktop/caja/issues/1583

Upstream developers have root-caused the issue as backwards incompatibility
between newer versions of the compiled Pango libraries and older versions of
the Pango headers. If Caja is built against the older headers and then run
with the latest Pango .so libraries, we get this hyphenation behavior.

To test this, I grabbed the sources to Caja 1.24.0, exactly matching the
version currently in Bullseye, and rebuilt them myself. Lo and behold, the
hyphenation behavior disappears.

So to resolve this issue in Bullseye, all that's needed is to rebuild the
package & version bump, with no other changes required.

Regards,
-Max

#999679#20
Date:
2022-05-03 13:56:08 UTC
From:
To:
Hi Max,

Thanks for the detailled info. This is a nasty issue and should have
been spotted during the library transition before the bullseye release.

Nasty nasty... I'll see what I can do your bullseye.

Mike