Bug 399362

Summary: Change Okular Selection long press tool button to split button
Product: [Applications] okular Reporter: Simone Gaiarin <simgunz>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 1.5.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: split-button

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