Page 1 of 1

[0.17.79] Placing train signal over its ghost does not adopt its direction

Posted: Sun Dec 29, 2019 12:53 pm
by Blacky007
I was building with ghost planer and building the signal manualy
but in this case the planer preselected the wrong signal position that hasn't even be planed by ghost.
railghost-error0.png
railghost-error0.png (1.64 MiB) Viewed 3631 times
railghost-error1.png
railghost-error1.png (2.19 MiB) Viewed 3631 times
is this as designet or wrong order of preselection?

Re: [0.17.79] wrong preselection on placeing ghost signals

Posted: Sun Dec 29, 2019 1:34 pm
by PyroFire
plz give blueprint string

Re: [0.17.79] wrong preselection on placeing ghost signals

Posted: Sun Dec 29, 2019 2:00 pm
by Blacky007
BP doesn't matter

build a strait rail with a signal - create a ghost siderail with the two signals like in picture 1
try to build the chainsignal by hand.

Re: [0.17.79] wrong preselection on placeing ghost signals

Posted: Sun Dec 29, 2019 5:12 pm
by Squelch
I believe this is by design.

The chain signal that the arrow points to is in a location that it has two valid orientations. If you look closely, its orientation shows it will connect to the ghosted branch, and not the existing track. The ghost track does not yet have a direction defined, so is therefore treated as bidirectional - the other ghost rail signal is not treated as a valid signal yet, so therefore has not constrained the direction of travel.

This happens often where two tracks intersect at an angle. Especially if one is bidirectional, or not yet constrained by existing signals. Use the rotate button to force the chain signal to attach to the correct track in this case.

Re: [0.17.79] wrong preselection on placeing ghost signals

Posted: Sun Dec 29, 2019 5:30 pm
by Loewchen
Can you confirm, that what you consider the bug is, that when attempting to place the non ghost signal entity on the ghost signal its direction is not the same as the ghosts direction?

Re: [0.17.79] wrong preselection on placeing ghost signals

Posted: Sun Dec 29, 2019 7:01 pm
by Blacky007
Loewchen wrote:
Sun Dec 29, 2019 5:30 pm
Can you confirm, that what you consider the bug is, that when attempting to place the non ghost signal entity on the ghost signal its direction is not the same as the ghosts direction?
yes it is not the ghost direktion when you try to build the Signal - it creates a signal on the ghost track from the south-west - you need to choose the second option with rotating the signal

Re: [0.17.79] Placing train signal over its ghost does not adopt its direction

Posted: Fri Jan 03, 2020 3:48 pm
by Blacky007
the same bug happens on rail tracks that are crossing under 90 degres north-south // east-west
railghost-error2.png
railghost-error2.png (415.82 KiB) Viewed 3482 times

Re: [0.17.79] Placing train signal over its ghost does not adopt its direction

Posted: Sun Feb 02, 2020 10:45 pm
by Klonan
I don't really see a major problem here

Re: [0.17.79] Placing train signal over its ghost does not adopt its direction

Posted: Mon Feb 03, 2020 9:36 am
by planetmaker
I think this is a general feature of "Manually you can place stuff as you wish and it generally ignores blueprints in the location". The same applies to rails and signals... so you have to rotate them appropriately before placing them.

Overall this behaviour is more advantegous than disadvantegous :)

Re: [0.17.79] Placing train signal over its ghost does not adopt its direction

Posted: Mon Feb 03, 2020 10:37 am
by mrvn
planetmaker wrote:
Mon Feb 03, 2020 9:36 am
I think this is a general feature of "Manually you can place stuff as you wish and it generally ignores blueprints in the location". The same applies to rails and signals... so you have to rotate them appropriately before placing them.

Overall this behaviour is more advantegous than disadvantegous :)
I think the default rotation should be the one of the ghost if there is one though.

Re: [0.17.79] Placing train signal over its ghost does not adopt its direction

Posted: Mon Feb 17, 2020 11:09 pm
by Squelch
mrvn wrote:
Mon Feb 03, 2020 10:37 am
planetmaker wrote:
Mon Feb 03, 2020 9:36 am
I think this is a general feature of "Manually you can place stuff as you wish and it generally ignores blueprints in the location". The same applies to rails and signals... so you have to rotate them appropriately before placing them.

Overall this behaviour is more advantegous than disadvantegous :)
I think the default rotation should be the one of the ghost if there is one though.
This report has been on my mind since it was posted, and only now do I see how there might be some confusion in assuming that the ghost's rotation would be assumed. Therefore, I feel it might be prudent to clarify how the process works for anyone else having a similar problem with manual building over ghosts and blueprints.

If the item in hand is taken directly from your inventory or item shortcut used, and placed over the ghosted entity. it will adopt the default rotation for that item. However, if the dropper/picker/pipette (Q by default on English layout KB's) is used to bring the item to hand while hovering over the ghost, only then will the item will adopt the ghost's rotation.

Re: [0.17.79] Placing train signal over its ghost does not adopt its direction

Posted: Tue Feb 18, 2020 3:47 am
by valneq
Squelch wrote:
Mon Feb 17, 2020 11:09 pm
If the item in hand is taken directly from your inventory or item shortcut used, and placed over the ghosted entity. it will adopt the default rotation for that item. However, if the dropper/picker/pipette (Q by default on English layout KB's) is used to bring the item to hand while hovering over the ghost, only then will the item will adopt the ghost's rotation.
But this is also exactly the behavior of inserters, miners, refineries and chemplants. Why would anyone assume that especially rail signals behave differently in that regard?

Re: [0.17.79] Placing train signal over its ghost does not adopt its direction

Posted: Tue Feb 18, 2020 4:10 am
by Squelch
valneq wrote:
Tue Feb 18, 2020 3:47 am
Squelch wrote:
Mon Feb 17, 2020 11:09 pm
If the item in hand is taken directly from your inventory or item shortcut used, and placed over the ghosted entity. it will adopt the default rotation for that item. However, if the dropper/picker/pipette (Q by default on English layout KB's) is used to bring the item to hand while hovering over the ghost, only then will the item will adopt the ghost's rotation.
But this is also exactly the behavior of inserters, miners, refineries and chemplants. Why would anyone assume that especially rail signals behave differently in that regard?
It seems to be the most plausible reason for the bug report.

@Blacky007 can probably confirm or otherwise if this is the case.

Re: [0.17.79] Placing train signal over its ghost does not adopt its direction

Posted: Sat Feb 22, 2020 4:30 pm
by Blacky007
why is this moved to Won't fix?
the signal is taking the orientation from the ghost rail on the opposide direction where no signal is ghostprinted.
this signals makes NO SENCE in this situation!

for me this is clearly a bug that need to be fixed

Re: [0.17.79] Placing train signal over its ghost does not adopt its direction

Posted: Sat Feb 22, 2020 6:13 pm
by ptx0
use Ghost Placer Express mod, problem solved.