| Summary: | UI Warning about unavailable hyperlink targets needs to UTF-encode the target file name | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | NISZ LibreOffice Team <libreoffice> |
| Component: | UI | Assignee: | Gabor Kelemen (allotropia) <kelemeng> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kelemeng, nemeth, varga.balazs3, xiscofauli |
| Priority: | medium | ||
| Version: | 7.3.0.0 alpha0+ | ||
| Hardware: | All | ||
| OS: | Windows (All) | ||
| Whiteboard: | target:7.3.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
Screenshot of the problem in Calc
How it looks on Linux The warning dialog after the proposed patch |
||
|
Description
NISZ LibreOffice Team
2021-09-28 14:27:16 UTC
No error message in Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: ac34bafb6cad056f843ff3ff0dee293bf1e18c56 CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Same with GEN Created attachment 175377 [details] How it looks on Linux Indeed no dialog in Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: b63c5ade3554a42def4bce94f9fd67ea66528214 CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: hu-HU (hu_HU.UTF-8); UI: en-US Calc: threaded A similar but not the same message is visible on the UI, coming from gio: gabor@voldemort:~/src/bb73$ gio: file:///home/gabor/Dokumentumok/peldadoksik/T%C3%BCk%C3%B6rf%C3%BAr%C3%B3g%C3%A9p.xlsx#'%C3%81rv%C3%ADzt%C5%B1r%C5%91%20t%C3%BCk%C3%B6rf%C3%BAr%C3%B3g%C3%A9p%201'!A1: Error when getting information for file “/home/gabor/Dokumentumok/peldadoksik/Tükörfúrógép.xlsx”: No such file or directory A quick search show the location of the Windows-specific string: gabor@voldemort:~/src/core$ gg STR_NO_ABS_URI_REF include/sfx2/strings.hrc:#define STR_NO_ABS_URI_REF NC_("STR_NO_ABS_URI_REF", "\"$(ARG1)\" cannot be passed to an external application to open it (e.g., it might not be an absolute URL, or might denote no existing file).") sfx2/source/appl/openuriexternally.cxx: SfxResId(STR_NO_ABS_URI_REF))); Created attachment 176218 [details] The warning dialog after the proposed patch Proposed patch: https://gerrit.libreoffice.org/c/core/+/125121 The string has changed after https://cgit.freedesktop.org/libreoffice/core/commit/?id=70009098fd70df021048c540d1796c928554b494 but the problem stayed the same. Gabor Kelemen committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/db0f2c29bf3a6ad5a08f8524ea0e65aa90792bb2 tdf#144769 Properly encode file name in error dialog It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |