[Kst] [Bug 128086] New: For some view objects, maintain aspect can be lost when resized or newly created objects encounter bounds.
Duncan Hanson
duncan.hanson at gmail.com
Fri May 26 18:02:45 CEST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=128086
Summary: For some view objects, maintain aspect can be lost when
resized or newly created objects encounter bounds.
Product: kst
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kst kde org
ReportedBy: duncan.hanson gmail com
Version: (using KDE KDE 3.5.0)
Installed from: Compiled From Sources
Maintain aspect on resize/create new is slightly borked.
STEPS TO REPRODUCE:
1. Create a rectangle.
2. Resize it with the shift key pressed down to maintain aspect, until one edge of the rectangle encounters its parents' bounds.
RESULT:
The rectangle will start to lose its aspect.
EXPECTED BEHAVIOUR:
The rectangle maintains its aspect?
This behaviour is common to all of the other view objects, except lines (which were fixed in a recent bug). It's not a huge problem, but could be annoying for picture objects.
It also occurs for all view objects when creating new. Right now, creating new objects and resizing them use completely different code. I'll try to bring them together.
I think that fixing this bug may require removing the current snap on resize behaviour, at least when objects are resized with maintain aspect. Are there any objections to this?
More information about the Kst
mailing list