You are not logged in.

#1 2024-11-24 14:57

padota1663
Member
Registered: 2024-09-21
Posts: 31

Tofu boxes appearing in some applications

Hi everyone,

as per title, I have a weird issue since I started using Q4OS back in May, and I still haven't been able to solve it: in some (not all) applications, instead of some kind of characters (more specifically, emojis and italics) tofu boxes appear, and I already installed fonts-noto with all its dependencies:

dolphin-tofu-boxes

firefox-no-tofu-boxes

fonts-noto-installed

konsole-tofu-boxes

The problem arises specifically for files and folders names, as you can see in the above screenshots.

How can I solve this issue? Am I missing some other fonts package? It's been 3 months since I started attempting to solve it, but insofar none of the solutions posted online has been of any help.

Thanks!

Offline

#2 2024-11-24 22:08

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,772
Website

Re: Tofu boxes appearing in some applications

Would you tar.gz some of the directories in question and ship it via support@q4os.org ?

Offline

#3 2024-11-25 21:40

padota1663
Member
Registered: 2024-09-21
Posts: 31

Re: Tofu boxes appearing in some applications

Just sent you an email with a tar.gzipped folder attached (the one you see in the above screens as being displayed with tofu boxes).

I let inside some small files which names are also displayed with boxes instead of their actual characters.

Thanks again

Offline

#4 2024-11-26 11:34

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,772
Website

Re: Tofu boxes appearing in some applications

We have performed some testing and we can confirm a bug in Trinity desktop related to UTF-8 named files. While the file names are displayed correctly in Plasma applications and desktop, the same file names shows unknown characters in Trinity apps.

We have also made testing on pure Debian/TDE installation with the same result. So the bug is not native Q4OS, but Trinity desktop one. We would suggest you to report it for Trinity developers directly https://trinitydesktop.org/ . Thanks for reporting.

Offline

#5 2024-12-04 21:34

padota1663
Member
Registered: 2024-09-21
Posts: 31

Re: Tofu boxes appearing in some applications

Hi,

thank you, I'll report the bug to the Trinity Dev Team.

Regards

Offline

#6 2024-12-21 18:29

padota1663
Member
Registered: 2024-09-21
Posts: 31

Re: Tofu boxes appearing in some applications

Hi q4osteam,

The guys at TDE Dev Team did some testing and confirmed the bug, an issue has been opened on TDE Gitea Workspace: https://mirror.git.trinitydesktop.org/g … issues/218

Here is the link at the discussion I started on their mailing list: https://mail.trinitydesktop.org/mailman … MNKHOCY6K/

I'm keeping an eye on both of them, please do it too, so you'll be able to update TDE as soon as the bug is solved and the changes merged into TDE.

Regards
padota1663

Offline

#7 2024-12-21 20:04

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,772
Website

Re: Tofu boxes appearing in some applications

Thanks for reporting

Offline

#8 2025-01-10 12:31

padota1663
Member
Registered: 2024-09-21
Posts: 31

Re: Tofu boxes appearing in some applications

Hi,

a quick update on this issue, I'm keeping an eye on the TDE bug which has been opened (link in my previous message), and progress is being done by the TDE devs, it's an issue of the TQt3 libraries, more specifically it's due to TQt3 code related to font handling and rendering; Unicode fonts on plane 1 are not handled correctly, but the characters on plane 0 are. They came up with a proof of concept that is able to handle unicode characters beyond 0xFFFF correctly, and are slowly coming to a solution.

Will update again when there are news.

Regards

Offline

#9 2025-01-10 12:32

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,772
Website

Re: Tofu boxes appearing in some applications

Great news, thanks for the update.

Offline

#10 2025-01-23 00:57

padota1663
Member
Registered: 2024-09-21
Posts: 31

Re: Tofu boxes appearing in some applications

Hi guys, final update on the issue, the TDE devs implemented an intermediate solution here: https://mirror.git.trinitydesktop.org/g … /pulls/213 which has been merged into R14.1.4 and will be backported in all R14.1.x versions.

The pull request which has been merged adds support for surrogate characters and planes above 0, but requires the font to support such characters. If fonts that do not support those characters are used, empty boxes will be displayed (in the correct number now).

A more extensive solution (searching for alternative fonts) will require API changes and will go into R14.2.0.

Unifont Upper can be used for displaying characters above plain 0 Unicode in files which contain them; the font is part of the fonts-unifont package.

Regards

Offline

Board footer

Powered by FluxBB