| Summary: | icon name has unexpected line break | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
| Component: | Desktop icons & Folder View widget | Assignee: | Eike Hein <hein> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | screenshot | ||
Actually not unexpected - there's nothing else for the wrapping algorithm in Qt to do. The word is longer than the space is, so it has to be split up. And it doesn't have hyphenation. I think Nate is planning to add configurable grid size for the Plasma folder view. Then the grid could be made a few pixels larger to accomodate the long word. Also it could be checked if SHY (soft hyphen) characters could be inserted into long translations. Then Qt could actually hyphenate these words. For this grid size, it would then actually need three lines, though. The problem is that the word "Configurações" is slightly too wide to fit in the medium label width at that icon and font size. You might try using the Wide size or increasing the icon size. I added that label width control specifically for cases like this. :) But I'm afraid there is no generic solution for this problem because files on the desktop can have arbitrary names and lines need to be broken *somewhere.* |
Created attachment 119345 [details] screenshot SUMMARY Observe the selected icon in my screenshot. There is an unexpected line break before "s": Configuraçõe s do sistema" STEPS TO REPRODUCE 1. set system language to pt-br 2. add system settings to desktop 3. restart plasma EXPECTED RESULT correct line breaks: "Configurações do sistema" SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.15.80 KDE Frameworks Version: 5.57.0 Qt Version: 5.12.0