Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arrow Script
#84
(10-26-2022, 09:58 AM)programmer_ceds Wrote:
(10-26-2022, 03:25 AM)teapot Wrote: Why are they changing this? The arrow script issue wasn't a gimp bug. Do you have a link to the issue that was raised requesting it?

The arrow script bug that we were discussing previously was in V2.10.32 - the issue that I have raised relates to the behaviour of standard GIMP functions (Edit/Stroke Path and Edit/Stroke Selection) in GIMP V2.99.12/13 - it just happens that I noticed it when testing the V3 version of the arrow script and found that the arrow shafts were being drawn in the wrong place. This is not as a result of any change made to GIMP as a result of the recent arrow script changes - I didn't raise an issue for that (thankfully users of this site pointed out the error of my ways before I embarrassed myself on the GIMP site!) The code that is causing the problem lies in functions gimp_paint_core_stroke_vector() and gimp_paint_core_stroke_selection() (stroking selections has the same problem) in file app/paint/gimppaintcore-stroke.c this code remains unchanged from V2.10.32 - it is not something that has been introduced recently.

(10-26-2022, 03:25 AM)teapot Wrote: Hardly surprising, change the coordinates and there will be consequences, possibly more than you have found so far. Not to mention the many plugins that were handling the layer offset correctly will become broken.

That is quite possible but when the standard Edit/Stroke Path and Edit/Stroke Selection don't function correctly with offset layers there is a problem that needs to be fixed. It could be that I am doing something wrong but I can't see a problem with the procedure that I noted in the GIMP issue - if there is a problem with my procedure then I can see numerous others falling into the same trap.

If there is something that determines whether or not strokes appear in the correct place on offset layers then we need to know what that something is and how to recognise it. The latest comment from the developer suggests that there is a possibility that they may have been mistaken in thinking that the stroke sometimes appeared in the correct place (see the latest posts on the GIMP issue). However, if anyone else can get paths and/or selections stroked in the correct places in V2.99.12/13 I should like to hear from them (preferably with an xcf file that shows this working correctly).

(10-26-2022, 03:25 AM)teapot Wrote: I don't fancy using different coordinates depending on how I stroke the path.

Quite - the corrections that I have identified relate to the functions that stroke selections and paths (vectors) using the paintbrush tool - implementing these corrections will mean that stroking with a line or with a paint tool will result in the strokes appearing in the same places regardless of the method used to create the strokes.

Thanks for your reply.

From a quick look, it might be commit 8934d43975 is causing the issue.  https://gitlab.gnome.org/GNOME/gimp/-/commit/8934d43975

It's part of GIMP_2_99_6-398-g8934d43975 and you were using V2.99.12/13.

Jehan says:

At this step, it is still very bugged and not really working properly. In particular, since we don't process the drawable offset early anymore (because it makes no sense when we pass a list of drawables with different offsets), I suspect that all the offset-related code will be very broken.
Reply


Messages In This Thread
Arrow Script - by rich2005 - 03-01-2017, 11:04 AM
RE: Arrow Script - by dinasset - 03-01-2017, 12:35 PM
RE: Arrow Script - by StrummerG - 01-23-2019, 08:44 PM
RE: Arrow Script - by rich2005 - 01-23-2019, 08:51 PM
RE: Arrow Script - by programmer_ceds - 01-24-2019, 04:48 PM
RE: Arrow Script - by programmer_ceds - 01-24-2019, 07:41 PM
RE: Arrow Script - by rich2005 - 01-24-2019, 05:06 PM
RE: Arrow Script - by Asgeirjonsson - 03-27-2020, 10:28 AM
RE: Arrow Script - by rich2005 - 03-27-2020, 11:17 AM
RE: Arrow Script - by Asgeirjonsson - 03-27-2020, 02:07 PM
RE: Arrow Script - by Krikor - 03-27-2020, 03:19 PM
RE: Arrow Script - by rich2005 - 03-27-2020, 03:27 PM
RE: Arrow Script - by rich2005 - 03-27-2020, 04:02 PM
RE: Arrow Script - by Krikor - 03-27-2020, 04:38 PM
RE: Arrow Script - by rich2005 - 03-27-2020, 04:58 PM
RE: Arrow Script - by Krikor - 03-27-2020, 07:11 PM
RE: Arrow Script - by rich2005 - 03-27-2020, 07:34 PM
RE: Arrow Script - by Krikor - 03-27-2020, 07:49 PM
RE: Arrow Script - by denzjos - 03-28-2020, 10:23 AM
RE: Arrow Script - by Krikor - 03-31-2020, 10:11 PM
RE: Arrow Script - by rich2005 - 04-01-2020, 12:02 PM
RE: Arrow Script - by Krikor - 04-01-2020, 07:41 PM
RE: Arrow Script - by jcwjcw42 - 12-10-2020, 10:31 PM
RE: Arrow Script - by carmen - 12-10-2020, 11:42 PM
RE: Arrow Script - by jcwjcw42 - 12-11-2020, 03:51 AM
RE: Arrow Script - by Krikor - 12-11-2020, 08:51 AM
RE: Arrow Script - by rich2005 - 12-11-2020, 10:44 AM
RE: Arrow Script - by denzjos - 12-12-2020, 04:29 PM
RE: Arrow Script - by programmer_ceds - 05-06-2021, 10:26 PM
RE: Arrow Script - by programmer_ceds - 05-07-2021, 06:29 AM
RE: Arrow Script - by programmer_ceds - 05-07-2021, 05:12 PM
RE: Arrow Script - by rich2005 - 05-07-2021, 06:00 PM
RE: Arrow Script - by programmer_ceds - 05-07-2021, 09:51 PM
RE: Arrow Script - by rich2005 - 05-08-2021, 07:22 AM
RE: Arrow Script - by Krikor - 05-08-2021, 01:10 AM
RE: Arrow Script - by programmer_ceds - 05-08-2021, 09:38 AM
RE: Arrow Script - by rich2005 - 05-08-2021, 09:52 AM
RE: Arrow Script - by programmer_ceds - 05-08-2021, 10:07 AM
RE: Arrow Script - by rich2005 - 05-08-2021, 10:16 AM
RE: Arrow Script - by programmer_ceds - 05-08-2021, 04:04 PM
RE: Arrow Script - by rich2005 - 05-08-2021, 04:54 PM
RE: Arrow Script - by Histone - 07-26-2021, 11:50 AM
RE: Arrow Script - by programmer_ceds - 07-26-2021, 12:29 PM
RE: Arrow Script - by rich2005 - 07-26-2021, 12:26 PM
RE: Arrow Script - by Histone - 07-26-2021, 12:57 PM
RE: Arrow Script - by programmer_ceds - 07-26-2021, 01:21 PM
RE: Arrow Script - by Histone - 07-26-2021, 01:56 PM
RE: Arrow Script - by programmer_ceds - 07-26-2021, 05:11 PM
RE: Arrow Script - by Histone - 07-26-2021, 08:57 PM
RE: Arrow Script - by programmer_ceds - 07-26-2021, 09:31 PM
RE: Arrow Script - by Histone - 07-26-2021, 10:01 PM
RE: Arrow Script - by programmer_ceds - 07-27-2021, 04:37 PM
RE: Arrow Script - by Histone - 07-28-2021, 03:27 AM
RE: Arrow Script - by programmer_ceds - 07-28-2021, 08:46 AM
RE: Arrow Script - by programmer_ceds - 07-28-2021, 04:09 PM
RE: Arrow Script - by programmer_ceds - 07-29-2021, 09:08 AM
RE: Arrow Script - by rich2005 - 07-29-2021, 01:53 PM
RE: Arrow Script - by Histone - 08-08-2021, 08:56 PM
RE: Arrow Script - by programmer_ceds - 08-09-2021, 10:04 AM
RE: Arrow Script - by vitforlinux - 09-01-2022, 11:17 AM
RE: Arrow Script - by programmer_ceds - 09-01-2022, 12:25 PM
RE: Arrow Script - by rich2005 - 09-01-2022, 12:22 PM
RE: Arrow Script - by vitforlinux - 09-01-2022, 02:26 PM
RE: Arrow Script - by programmer_ceds - 09-01-2022, 03:48 PM
RE: Arrow Script - by programmer_ceds - 09-01-2022, 07:09 PM
RE: Arrow Script - by programmer_ceds - 09-04-2022, 03:44 PM
RE: Arrow Script - by vitforlinux - 09-05-2022, 11:16 AM
RE: Arrow Script - by BugsBunnySan - 10-07-2022, 09:42 PM
RE: Arrow Script - by programmer_ceds - 10-08-2022, 07:20 PM
RE: Arrow Script - by BugsBunnySan - 10-08-2022, 08:18 PM
RE: Arrow Script - by programmer_ceds - 10-11-2022, 04:44 PM
RE: Arrow Script - by teapot - 10-12-2022, 02:17 AM
RE: Arrow Script - by programmer_ceds - 10-12-2022, 04:46 PM
RE: Arrow Script - by BugsBunnySan - 10-12-2022, 09:11 PM
RE: Arrow Script - by teapot - 10-13-2022, 03:16 AM
RE: Arrow Script - by programmer_ceds - 10-13-2022, 07:33 AM
RE: Arrow Script - by programmer_ceds - 10-13-2022, 01:13 PM
RE: Arrow Script - by BugsBunnySan - 10-14-2022, 01:17 AM
RE: Arrow Script - by teapot - 10-13-2022, 10:54 PM
RE: Arrow Script - by programmer_ceds - 10-14-2022, 10:24 AM
RE: Arrow Script - by programmer_ceds - 10-25-2022, 04:35 PM
RE: Arrow Script - by teapot - 10-26-2022, 03:25 AM
RE: Arrow Script - by programmer_ceds - 10-26-2022, 09:58 AM
RE: Arrow Script - by teapot - 10-26-2022, 05:30 PM
RE: Arrow Script - by programmer_ceds - 10-26-2022, 09:57 PM
RE: Arrow Script - by programmer_ceds - 11-27-2022, 06:23 PM
RE: Arrow Script - by kyolim - 02-02-2023, 06:39 PM
RE: Arrow Script - by programmer_ceds - 02-02-2023, 07:37 PM
RE: Arrow Script - by kyolim - 10-24-2023, 08:02 PM
RE: Arrow Script - by rich2005 - 10-24-2023, 08:40 PM
RE: Arrow Script - by vitforlinux - 10-03-2023, 02:02 PM
RE: Arrow Script - by programmer_ceds - 10-03-2023, 04:40 PM
RE: Arrow Script - by programmer_ceds - 12-24-2023, 05:07 PM
RE: Arrow Script - by vitforlinux - 10-04-2023, 11:12 AM
RE: Arrow Script - by vitforlinux - 10-25-2023, 03:28 PM
RE: Arrow Script - by ChrisHammond56 - 01-06-2024, 12:48 PM
RE: Arrow Script - by rich2005 - 01-06-2024, 01:07 PM
RE: Arrow Script - by programmer_ceds - 01-06-2024, 06:18 PM
RE: Arrow Script - by ChrisHammond56 - 01-07-2024, 01:23 AM
RE: Arrow Script - by programmer_ceds - 02-18-2024, 05:00 PM
RE: Arrow Script - by vitforlinux - 03-01-2024, 01:15 PM
RE: Arrow Script - by programmer_ceds - 03-01-2024, 04:59 PM
RE: Arrow Script - by PixLab - 03-02-2024, 04:46 AM
RE: Arrow Script - by programmer_ceds - 03-02-2024, 10:30 AM
RE: Arrow Script - by PixLab - 03-03-2024, 06:37 AM
RE: Arrow Script - by vitforlinux - 03-05-2024, 02:49 PM
RE: Arrow Script - by vitforlinux - 07-22-2024, 12:05 PM
RE: Arrow Script - by rich2005 - 07-22-2024, 12:44 PM
RE: Arrow Script - by vitforlinux - 07-22-2024, 01:22 PM
RE: Arrow Script - by vitforlinux - 11-02-2024, 12:53 PM
RE: Arrow Script - by programmer_ceds - 11-02-2024, 05:40 PM
RE: Arrow Script - by vitforlinux - 11-03-2024, 01:16 PM
RE: Arrow Script - by programmer_ceds - 11-04-2024, 04:31 PM
RE: Arrow Script - by rich2005 - 11-16-2024, 09:58 AM
RE: Arrow Script - by vitforlinux - 11-05-2024, 12:50 PM
RE: Arrow Script - by programmer_ceds - 11-07-2024, 10:29 PM
RE: Arrow Script - by rich2005 - 11-16-2024, 01:03 PM
RE: Arrow Script - by programmer_ceds - 11-16-2024, 05:55 PM
RE: Arrow Script - by MrsP-from-C - 11-16-2024, 06:28 PM

Forum Jump: