After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 342773 - bad right resize in UML large package containing at least 2 small packages
bad right resize in UML large package containing at least 2 small packages
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: win32
0.95
Other All
: Normal normal
: 0.96
Assigned To: Steffen Macke
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-24 08:57 UTC by Iulian Serbanoiu
Modified: 2006-10-13 18:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Iulian Serbanoiu 2006-05-24 08:57:33 UTC
Please describe the problem:
bad right resize in UML large package containing at least 2 small packages.

When the large package contains only 1 small package the right resize works well

by right resize I mean when resizing from the right side:

 ---------------
|large package  | <- resizing from this size (horizontally) in any direction
 ---------------


this is the case:

- s1, s2, s3 are the small packages in the large packages - the rectangle that
contains them ( preferably put in this order when drawing )

 -----------
| s1  s2 s3  | <- resizing from here
 -----------

whether you resize to the left or to the right the size is not consistent with
the mouse position


NOTE: Similar cases of BAD resize occured when positioning small packages
similar but vertically, or combined ( vertically and horizontally ). in those
cases BAD resize happens in the left, up or down parts.




Steps to reproduce:
1. Select UML -> large package and 
2. Select UML -> small package and place 2 of them in the large package
*horizontally* distanced ( like in the text scheme above - in the description )
3. Try to resize the large package to the right side


Actual results:
Whether you resize to the left or to the right the size is not consistent with
the mouse position.
You can see that the resize is not following the mouse ( as it should -
intuitivelly ). The resize is bigger than the mouse move


Expected results:
The bug should be seen.

Does this happen every time?
yes

Other information:
not really. I think it is enough
Comment 1 Iulian Serbanoiu 2006-05-25 07:24:39 UTC
one thing I've noticed ... the bug also apears on version 0.95 under linux, but it DOES NOT apear on version 0.94 on linux ( I think this might be useful )
Comment 2 Lars Clausen 2006-05-26 19:54:11 UTC
Confirmed.
Comment 3 Hans Breuer 2006-10-13 18:35:34 UTC
Fixed.

2006-10-13  Hans Breuer  <hans@breuer.org>

	* lib/parent.[ch] : parent_handle_move_in_check() was moving 
	the checked point about twice as much as needed, bug #342773.