Bug 424291 - Ellipsis lost when adding some buttons to a toolbar (Configure Annotations... -> Configure Annotations)
Summary: Ellipsis lost when adding some buttons to a toolbar (Configure Annotations......
Status: REPORTED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.71.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-16 15:45 UTC by Laura David Hurka
Modified: 2021-09-26 12:41 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.