Bug 437350

Summary: Ampersand visible in Undo toolbar button tooltip
Product: [Frameworks and Libraries] frameworks-kio Reporter: Dan Dascalescu <ddascalescu+kde>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: a.samirh78, cawa.sapog, davide, kdelibs-bugs-null, krusader-bugs-null
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description Dan Dascalescu 2021-05-19 10:40:59 UTC
Created attachment 138556 [details]
Screenshot

Mousing over the Undo button shows "Und&o: "
Comment 1 Александр 2021-05-20 17:41:49 UTC
(In reply to Dan Dascalescu from comment #0)
> Created attachment 138556 [details]
> Screenshot
> 
> Mousing over the Undo button shows "Und&o: "

Can you give more detail?
Version plasma, name application and version application.
Comment 2 Dan Dascalescu 2021-05-20 18:43:32 UTC
Plasma 5.21.5, but "name application"?? It's Krusader. Version is in this ticket too, 2.7.2. What did you mean?
Comment 3 Davide Gianforte 2021-08-09 15:37:05 UTC
This is provided by KIO widget UndoManager, moving to the KIO guys to check if it's a typo (FileUndoManager::undoText()).
Comment 4 Ahmad Samir 2022-05-26 19:44:40 UTC
I tested with Dolphin, doesn't seem to have this issue; my guess would be a difference in how KXmlGui is used by Dolphin and Krusader. The method that removes the accelerator from action text, KLocalizedString::removeAcceleratorMarker() is used in a code path that is hit by Dolphin in KXmlGui but not by Krusader.