RSS/Atom feed Twitter
Site is read-only, email is disabled

Odd behavior with rotation dialog

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

14 of 14 messages available
Toggle history

Please log in to manage your subscriptions.

Odd behavior with rotation dialog Jeffery Small 03 Jan 14:00
  Odd behavior with rotation dialog John Coppens 03 Jan 14:10
  Odd behavior with rotation dialog Sven Neumann 03 Jan 20:06
  Odd behavior with rotation dialog Sven Neumann 06 Jan 15:25
Odd behavior with rotation dialog Jeffery Small 03 Jan 16:00
Odd behavior with rotation dialog Jeffery Small 03 Jan 21:46
  Odd behavior with rotation dialog norman 03 Jan 22:22
   Odd behavior with rotation dialog John Coppens 04 Jan 00:53
   Odd behavior with rotation dialog Sven Neumann 04 Jan 01:50
Odd behavior with rotation dialog Leonard Evens 03 Jan 22:50
  Odd behavior with rotation dialog Patrick Shanahan 03 Jan 23:01
   Odd behavior with rotation dialog norman 04 Jan 09:51
Odd behavior with rotation dialog Jeffery Small 04 Jan 03:30
  Odd behavior with rotation dialog Sven Neumann 04 Jan 09:44
Jeffery Small
2008-01-03 14:00:46 UTC (about 17 years ago)

Odd behavior with rotation dialog

I'm using gimp 2.4.3 on a Sun Solaris 10 system. When using the rotation tool, I find that if I enter a number in the Angle box (say 17.50) and the image is rotated, if I then use the mouse to grab the picture and drag it a bit more in the direction of positive rotation, the image takes a huge jump backwards and reset itself to a lower value such as 10.71. Am I misunderstanding something about how the dialog and the drag function work?

Also, a small suggestion to the development team. If you have a value such as 11.20 in a field and I place the cursor between the 2 and the 0 and then try to enter another digit like 8 for a value of 11.281, nothing happens because the display is fixed to two decimal places. I think it would be an improvement in the user interface if we could edit these fields without restriction. If gimp then wants to evaluate the number and round and redisplay it as two digits, this would be OK. But the failure to be able to place the cursor and edit these numeric fields is really unexpected and very confusing until you figure out what is happening.

Regards, --
Jeffery Small

John Coppens
2008-01-03 14:10:58 UTC (about 17 years ago)

Odd behavior with rotation dialog

On Thu, 3 Jan 2008 13:00:46 GMT
jeff@cjsa.com (Jeffery Small) wrote:

Am I
misunderstanding something about how the dialog and the drag function work?

Put the cursor farther from the image centre todo the rotation, and you'll be able to do smaller rotation increments. You can even activate rotation inside the image, then take it outside (without releasing the button) to have better control. Think that mouse movements are always integer pixels... (Same as the slider movement in previous question).

John

Jeffery Small
2008-01-03 16:00:11 UTC (about 17 years ago)

Odd behavior with rotation dialog

I wrote:

Am I misunderstanding something about how the dialog and the drag function work?

John Coppens writes:

Put the cursor farther from the image centre todo the rotation, and you'll be able to do smaller rotation increments. You can even activate rotation inside the image, then take it outside (without releasing the button) to have better control. Think that mouse movements are always integer pixels... (Same as the slider movement in previous question).

John:

I did discover that the drag rotation amount was proportional to the distance from the center of rotation. However, what stumps me is why, after applying a numeric angle of rotation using the dialog, the rotation changes (jumps) drastically if you try to further refine it using the mouse. It seems logical to me that you should still be able to grab the image and give it a further small tweak with the mouse.

Regards,

Sven Neumann
2008-01-03 20:06:05 UTC (about 17 years ago)

Odd behavior with rotation dialog

Hi,

On Thu, 2008-01-03 at 13:00 +0000, Jeffery Small wrote:

I'm using gimp 2.4.3 on a Sun Solaris 10 system. When using the rotation tool, I find that if I enter a number in the Angle box (say 17.50) and the image is rotated, if I then use the mouse to grab the picture and drag it a bit more in the direction of positive rotation, the image takes a huge jump backwards and reset itself to a lower value such as 10.71.

I can not reproduce this behavior.

Sven

Jeffery Small
2008-01-03 21:46:58 UTC (about 17 years ago)

Odd behavior with rotation dialog

On Thu, 2008-01-03 at 13:00 +0000, Jeffery Small wrote:

I'm using gimp 2.4.3 on a Sun Solaris 10 system. When using the rotation tool, I find that if I enter a number in the Angle box (say 17.50) and the image is rotated, if I then use the mouse to grab the picture and drag it a bit more in the direction of positive rotation, the image takes a huge jump backwards and reset itself to a lower value such as 10.71.

Sven Neumann writes:

I can not reproduce this behavior.

That's interesting. It is consistently reproducible here. I just loaded another jpeg image, rotated it 20 degrees in the dialog. Then no mater where I grab the image and drag a bit, as soon as I release mouse button B1, the image jumps back to a small positive angle of rotation and then moves a bit in the direction I was dragging.

This version of gimp was linked against the latest gtk2 2.12.3.

Does anyone else see this behavior?

Regards,

norman
2008-01-03 22:22:23 UTC (about 17 years ago)

Odd behavior with rotation dialog

That's interesting. It is consistently reproducible here. I just loaded another jpeg image, rotated it 20 degrees in the dialog. Then no mater where I grab the image and drag a bit, as soon as I release mouse button B1, the image jumps back to a small positive angle of rotation and then moves a bit in the direction I was dragging.

This version of gimp was linked against the latest gtk2 2.12.3.

Does anyone else see this behavior?

I couldn't resist having a go. In every case I tried, when I set the correction to any number of degrees and then clicked inside the grid, the grid jumped towards zero. However, when I manually rotated the grid, and then clicked inside the grid stayed where it was. The behaviour was the same in both Normal and Corrective.

I am using Gimp 2.4.0-rc3 with Ubuntu 7.10.

Norman

Leonard Evens
2008-01-03 22:50:28 UTC (about 17 years ago)

Odd behavior with rotation dialog

On Thu, 2008-01-03 at 13:00 +0000, Jeffery Small wrote:

I'm using gimp 2.4.3 on a Sun Solaris 10 system. When using the

rotation

tool, I find that if I enter a number in the Angle box (say 17.50)

and the

image is rotated, if I then use the mouse to grab the picture and

drag

it a bit more in the direction of positive rotation, the image takes

a

huge jump backwards and reset itself to a lower value such as

10.71.

Sven Neumann writes:

I can not reproduce this behavior.

That's interesting. It is consistently reproducible here. I just loaded
another jpeg image, rotated it 20 degrees in the dialog. Then no mater
where I grab the image and drag a bit, as soon as I release mouse button
B1, the image jumps back to a small positive angle of rotation and then
moves a bit in the direction I was dragging.

When I set the rotation to 20 degrees in the dialog, the image immediately rotates what I presume is 20 degrees. If I then click in the image, the 20 degree setting is negated with the mouse taking control, and it behaves just the way it would had I not set the rotation angle at all in the dialog box. I presume these are two mutually exclusive modes of operation.

This version of gimp was linked against the latest gtk2 2.12.3.

Does anyone else see this behavior?

Regards,

Patrick Shanahan
2008-01-03 23:01:42 UTC (about 17 years ago)

Odd behavior with rotation dialog

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

* Leonard Evens [01-03-08 16:55]:

When I set the rotation to 20 degrees in the dialog, the image immediately rotates what I presume is 20 degrees. If I then click in the image, the 20 degree setting is negated with the mouse taking control, and it behaves just the way it would had I not set the rotation angle at all in the dialog box. I presume these are two mutually exclusive modes of operation.

I believe that you have explained his observation. He has not committed the numerically entered rotation and it is negated when he attempts to rotate the image with the mouse, and is much more noticable at larger angles of rotation.

-

John Coppens
2008-01-04 00:53:00 UTC (about 17 years ago)

Odd behavior with rotation dialog

On Thu, 03 Jan 2008 21:22:23 +0000 norman wrote:

I couldn't resist having a go. In every case I tried, when I set the correction to any number of degrees and then clicked inside the grid, the grid jumped towards zero. However, when I manually rotated the grid, and then clicked inside the grid stayed where it was. The behaviour was the same in both Normal and Corrective.

The behaviour here is normal (as expected, I mean). Norman, do note that if you click in a way that such that the rotate dialog is cancelled you'll have the behaviour you mention. The rotation (even if you type it in) is not really executed till Ok'd (the button pressed).

Jeff, manual rotation after a 20 degree rotate acts normal here. You don't have your ctl pressed, haven't you? That rounds the steps to 15 degrees!

John

Sven Neumann
2008-01-04 01:50:24 UTC (about 17 years ago)

Odd behavior with rotation dialog

Hi,

On Thu, 2008-01-03 at 21:22 +0000, norman wrote:

That's interesting. It is consistently reproducible here. I just loaded another jpeg image, rotated it 20 degrees in the dialog. Then no mater where I grab the image and drag a bit, as soon as I release mouse button B1, the image jumps back to a small positive angle of rotation and then moves a bit in the direction I was dragging.

This version of gimp was linked against the latest gtk2 2.12.3.

Does anyone else see this behavior?

I couldn't resist having a go. In every case I tried, when I set the correction to any number of degrees and then clicked inside the grid, the grid jumped towards zero. However, when I manually rotated the grid, and then clicked inside the grid stayed where it was.

Ah, now I see what you are doing differently. You guys are activating the tool from the Layer->Transform->Arbitrary Rotation menu. I haven't done this in years. Indeed, there seems to be a bug in the Rotate tool when it is being called from the menus. You may want to make sure that this is reported at bugzilla.gnome.org.

Sven

Jeffery Small
2008-01-04 03:30:28 UTC (about 17 years ago)

Odd behavior with rotation dialog

Sven Neumann writes:

Ah, now I see what you are doing differently. You guys are activating the tool from the Layer->Transform->Arbitrary Rotation menu. I haven't done this in years. Indeed, there seems to be a bug in the Rotate tool when it is being called from the menus. You may want to make sure that this is reported at bugzilla.gnome.org.

Sven:

What are you doing for rotation? I select the rotation tool from the toolbox and as soon as I click in the image the Rotate dialog is displayed. This is the same menu you get if you select Layer->Transform->Arbitrary Rotation. You don't need to call this from the menu to get the behavior I have been reporting. Once the menu is displayed, it shows the angle of rotation achieved by dragging the mouse. You can drag the mouse as many times as you like, making incremental changes to the rotation angle, before committing the rotation. I think you should be able to interactively switch between typing in the angle or dragging the rotation until you have the results tweaked to your liking, and I think you are agreeing with that in your statement above. I'll report this as a bug.

Regards,

Sven Neumann
2008-01-04 09:44:45 UTC (about 17 years ago)

Odd behavior with rotation dialog

Hi,

On Fri, 2008-01-04 at 02:30 +0000, Jeffery Small wrote:

What are you doing for rotation? I select the rotation tool from the toolbox and as soon as I click in the image the Rotate dialog is displayed.

That is what I do and I can not reproduce your problem then.

Sven

norman
2008-01-04 09:51:50 UTC (about 17 years ago)

Odd behavior with rotation dialog

< snip >

I believe that you have explained his observation. He has not committed the numerically entered rotation and it is negated when he attempts to rotate the image with the mouse, and is much more noticable at larger angles of rotation.

I would like to add that I never actually do the process mentioned here when I want to correct the image by rotation I just wanted to see if I could reproduce what had been reported.

Norman

Sven Neumann
2008-01-06 15:25:44 UTC (about 17 years ago)

Odd behavior with rotation dialog

Hi,

On Thu, 2008-01-03 at 13:00 +0000, Jeffery Small wrote:

Also, a small suggestion to the development team. If you have a value such as 11.20 in a field and I place the cursor between the 2 and the 0 and then try to enter another digit like 8 for a value of 11.281, nothing happens because the display is fixed to two decimal places. I think it would be an improvement in the user interface if we could edit these fields without restriction. If gimp then wants to evaluate the number and round and redisplay it as two digits, this would be OK. But the failure to be able to place the cursor and edit these numeric fields is really unexpected and very confusing until you figure out what is happening.

Please inform the GTK+ developers about this. GIMP only uses the GtkSpinButton widget and the logic for limiting the number of digits is implemented there. You may want to check in bugzilla.gnome.org, product GTK+, if there's a bug report for this already.

Sven