Bug 448059

Summary: Name of a program and the open file should be separated by an emdash, not a hyphen
Product: [Frameworks and Libraries] kded-appmenu Reporter: tomashnyk
Component: menu exporterAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 5.23.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Kate is doing great, Libreoffice not so much

Description tomashnyk 2022-01-07 12:45:01 UTC
Created attachment 145189 [details]
Kate is doing great, Libreoffice not so much

Name of a program and the open file should be separated by an emdash, not a hyphen. For some reason, Kate does this correctly, LibreOffice Writer does it incorrectly (see attachment). I am using Locally Integrated Menu (LIM) from here: https://github.com/Zren/material-decoration
I hope I am filling this correctly and this is not a LibreOffice issue or LIM issue.

Hyphen is this: -
Em-dash is this: —

For the correct usage, see here: https://practicaltypography.com/hyphens-and-dashes.html
Comment 1 Kai Uwe Broulik 2022-01-07 13:06:39 UTC
That's the application's job. It's just that Qt does that (curiously, only on X11): https://code.woboq.org/qt5/qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp.html#2586
Comment 2 Kai Uwe Broulik 2022-01-07 13:07:48 UTC
(Correction: It does on Wayland, too)

I suggest you report that to LibreOffice.
Comment 3 tomashnyk 2022-01-07 13:32:13 UTC
Thanks for the swift response, reported to LibreOffice: https://bugs.documentfoundation.org/show_bug.cgi?id=146638

(though I think Qt5 does a sensible thing here)