Bug 424291

Summary: Ellipsis lost when adding some buttons to a toolbar (Configure Annotations... -> Configure Annotations)
Product: [Frameworks and Libraries] frameworks-kxmlgui Reporter: Laura David Hurka <laura.stern>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal CC: aspotashev, jjm, laura.stern, nate
Priority: NOR    
Version First Reported In: 5.71.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Laura David Hurka 2020-07-16 15:45:45 UTC
SUMMARY
It appears that some buttons lose the ellipsis in the action text when they are added to a toolbar through Configure Toolbars....

STEPS TO REPRODUCE
1. Open Okular 20.08, Settings -> Configure Toolbars...
2. Add the okularpart action “Configure Annotations...”  to a toolbar.

OBSERVED RESULT
Immediately becomes “Configure Annotations”, even with Change Text... no ellipsis is shown.

3. Remove “Configure Annotations” from the toolbar.

OBSERVED RESULT
Becomes “Configure Annotations...”

5. Add “Configure Annotations...” to the toolbar and rename it from “Configure Annotations” to “Configure Annotations...”

OBSERVED RESULT
Ellipsis is now present.

EXPECTED RESULT
Ellipsis does not get lost.

SOFTWARE/OS VERSIONS
Okular compiled from release/20.08
KDE Neon 5.19
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.71
Qt Version: 5.14.2

ADDITIONAL INFORMATION
This also happened with “Annotate...”, which temporarily existed in Okular MR !218.

Annotate is a KSelectAction, and was the only KSelectAction in Okular with ellipsis.
Configure Annotations... is a QAction, like many other actions too. It is child of the KActionCollection, but other actions apparently too.