Bug 399362 - Change Okular Selection long press tool button to split button
Summary: Change Okular Selection long press tool button to split button
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.5.1
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-04 06:03 UTC by Simone Gaiarin
Modified: 2019-10-13 06:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
split-button (10.45 KB, image/png)
2018-10-04 06:03 UTC, Simone Gaiarin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Gaiarin 2018-10-04 06:03:58 UTC
Created attachment 115401 [details]
split-button

SUMMARY
The selection action button can be long pressed to select among three options: selection, text selection, table selection.

Long pressing a button to display the associated menu is not very intuitive. It would be better to use "split buttons" (see attachment) that allows to display the menu instantly when the arrow is pressed. 


The button is a KSelectionAction for which it would be possible to set the mode to QToolButton::MenuButtonPopup to achieve the result.


SOFTWARE VERSIONS

KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1