Bug 349098

Summary: Moving layers with right button (stylus)
Product: [Applications] krita Reporter: Roman Ilin <abelisauridae>
Component: DockersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: halla, portnov
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Roman Ilin 2015-06-13 12:46:52 UTC
When i try use context menu, with stilus  right button, sometimes that initiates layer moving. Because it is difficult to hold the pen still, when you click.
Comment 1 Halla Rempt 2015-06-19 21:19:17 UTC
Hi Roman,

I'm sorry, I'm not sure I understand your issue. Could you try to elabora -- or maybe make a screencast? thanks!
Comment 2 Ilya V. Portnov 2015-06-21 11:18:05 UTC
What Roman describes is the usual issue when you code drag-n-drop manually: so many programmers just forget to check which exactly mouse button was pressed; so it's possible to drag-n-drop things with any button.
On my systems, I can't drag-n-drop layers with right button; but I can drag-n-drop them with middle button. I.e. middle button is working the same way as left button, for drag-n-drop. That's a bit weird.
Comment 3 Halla Rempt 2015-06-21 13:30:37 UTC
Well, D&D is all done by Qt, I'm afraid. We don't handle that manually...
Comment 4 Halla Rempt 2016-03-22 13:00:04 UTC
The timing and distance for a drag operation to be started is defined in Qt's platform plugins. So we let Qt handle all of that in the layerbox and cannot influence that, I'm afraid.