Select tool right click while left click unspected results

Bug #1668274 reported by Jabiertxof
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Undecided
Unassigned

Bug Description

It happends in 0.92.x and trunk.
Different beahabiours if the shape or path has LPE
Whith LPE the element dont display and move to original position
Without it reset his document scale
To fire.

Select a shape, for example, and drag it, whitout release it click on right button, It happends very often when using mouse, normaly is a unwanted right click.

Revision history for this message
su_v (suv-lp) wrote :

AFAICT the selected object which was dragged when the move was canceled by opening the canvas context menu is temporarily rendered at the size it has at 100% zoom level - despite the canvas e.g. being zoomed out to 50% - and at the position offset relative to the page origin (bottom-left page corner) instead of the SVG origin (top-left page corner) at 100% (again ignoring current canvas zoom level).

This can be tested easiest in a px-based document, but exposes the same way in a new default mm-based document.

This incorrect temporary rendering (the correct appearance is restored when changing the zoom level, or toggling the current layer's visibility) is a regression in >= 0.92. The fact that opening the canvas context menu during an on-going drag operation (moving a selected object with the mouse) cancels the drag operation is reproducible e.g. with 0.47, 0.48.5 and 0.91 as well.

Based on tests with archived builds (on OS X 10.7.5), this temporarily incorrect rendering is:
- not reproduced with 0.47, 0.48.x, 0.91
- not reproduced with lp:inkscape rev <= 14831,
- reproduced with lp:inkscape rev >= 14835,
- reproduced with 0.92.0, 0.92.1, lp:inkscape/0.92.x r15394
the reported rendering regression was likely exposed with the canvas refactoring/ attempts to fix "invalid state when picking" messages during the hackfest 2016:

Relevant changelog:
https://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/changes/14835

tags: added: regression renderer-cairo
tags: added: selection
Revision history for this message
su_v (suv-lp) wrote :

Unexpected temporary rendering error reproduced on OS X 10.7.5 (0.92.0, 0.92.1, 0.92.x r15394) and Windows 10 (0.92.0, 0.92.1, trunk r15551); note though that this affects various types of elements (tested with shapes (rect, ellipse), regular paths, paths with path effects (Spiro, PaP, Perspective on a group), groups).

TODO:
- Figure out what differences might be exposed for path effects versus shapes and regular paths (based on the original bug description).
- Test with more object types (e.g. clones, text, bitmaps).

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

Incorrect temporary rendering (wrong position, wrong scale if current zoom level ≠ 100%) of selected object after drag (move) was cancelled via canvas context menu also reproduced on Ubuntu 14.04.5 LTS with lp:inkscape/0.92.x r15394 and lp:inkscape r15551.

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Thanks su_v for get into. I give a look to the bug this weekend.

jazzynico (jazzynico)
Changed in inkscape:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.