Bug 298936

Summary: cannot middle mouse drag with locked layer selected
Product: [Applications] krita Reporter: Tom Hall <tahall256>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla, sven.langkamp
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tom Hall 2012-04-27 20:39:47 UTC
Dragging with the middle mouse button (or stylus equivalent) to move the current view of the canvas does not work if the layer which is currently selected in the layers docker is locked.

It *should* work, as it is not an operation that alters the selected layer. Similar operation, zoom with scroll-wheel does work under the same conditions.

Reproducible: Always

Steps to Reproduce:
1. Lock the currently selected layer
2. Drag the canvas with the middle mouse button

Actual Results:  
Nothing happens.

Expected Results:  
Canvas moves in the view, like it does if the selected layer isn't locked. (I'm not doing anything to the selected layer, just trying to look at a different bit of it!)
Comment 1 Tom Hall 2012-04-29 18:35:59 UTC
Results may depend which tool is selected. (e.g. "Move and rotate your canvas" tool will still allow middle mouse drag on a locked layer.) Brush, Bucket, transform tools, etc. all seem to exhibit bug behaviour.
Comment 2 Halla Rempt 2012-05-08 08:06:04 UTC
Yes... We need to reconsider some basic implementation decisions for our tool system.
Comment 3 Sven Langkamp 2012-06-20 20:22:40 UTC
Fixed by the new interaction system.