Use a more conventional dropdown menu style instead of press-and-hold

Authored by ngraham on Jun 6 2019, 2:18 PM.

Description

Use a more conventional dropdown menu style instead of press-and-hold

Summary:
Currently, ToolAction menus (of which there is only one, the selection tool menu)
activate the current tool on click, and require a click-and-hold to choose a new tool.
This is a somewhat unfamiliar user interface that I myself struggled with when initially
encountering it, and I've encountered user complaints about it as well.

This patch adjusts the behavior so that clicking on the arrow on the right side of the
button will open the pop-up and allow choosing another tool, which is a more common
method of implementing the feature. The patch also adjusts the tooltop accordingly.

Test Plan:

Reviewers: Okular, VDG, ndavis

Reviewed By: VDG, ndavis

Subscribers: ndavis, abetts, filipf, okular-devel

Tags: Okular

Differential Revision: https://phabricator.kde.org/D21622

Details

Committed
ngrahamJun 6 2019, 5:40 PM
Reviewer
VDG
Differential Revision
D21622: Use a more conventional dropdown menu style instead of press-and-hold
Parents
R223:c325cb416113: Regularize tool names
Branches
Unknown
Tags
Unknown