Gimp 3.0.2 windows Squared Border Help

I am trying to make a squared border around my image and cannot figure out how at all. I have read countless posts and tutorials across the net but I can’t get it so I need someone to explain what I am doing wrong.

Attempt 1:

First I select my image using fuzzy select.
Then I select ‘edit > border’.
I set border width and set “hard” for border style.
This creates a rounded border.

Attempt 2:
I goto ‘edit > stroke <path | selection>’ (both produce same result)
I set cap style to ‘square’.
I set joint style to ‘miter’ (actually its already selected).
I have tried every miter limit 0 through 100.
I set “line”.
I click stroke.
This creates a rounded stroke border.

The image I am attempting this with has perfect 90 degree angles. They are not rounded, so I need the border to also be 90 degree squared angles.

What am I missing?

I know i could attempt to manually create the border but there are a TON of edges on the image and ensuring its all the exact same width is both annoying and very time consuming. The older versions it was a simple matter of clicking border and it created a squared border. Seems crazy to think gimp moved backwards and now it takes 20 times longer to create a square border.

I feel like I need to make a sandbox for the old version of gimp just so I can make borders in seconds instead of hours.

So what am I doing wrong and how do I properly do this?

Hi Bruce welcome to the forum. Borders are so easy in GIMP. Make your life easy and use the add border filter for the job.

Another method is to make your rectangle selection and stroke the border. I tested this method and you get straight edges.

It is still there, or should be. The only thing of note is set the delta value to one and Allow resizing for the border either inside or outside the image.

https://docs.gimp.org/3.0/en/script-fu-addborder.html
https://docs.gimp.org/3.0/en/script-fu-fuzzy-border.html