Operating System: Linux, both Gentoo and Debian, using NodeJS (18.3.0 and 16.15.1, respectively) directly
How Are You Using Foundry: Foundry running from node directly, accessed via Firefox 101.0.1
Which Game System: pf1e
Modules Enabled?: none except Chat Portrait
Issue Description
When using Chat Portrait with the Pathfinder 1e system, and issuing an attacking while having a token targetted, the token image of the targetted creature is not at the position it's supposed to be in the attack chat card.
The normal attack chat card when issuing an attack from a combat item does not show this behaviour, but the one from an attack using an inventory item. It seems it has to do with the different headings these chat cards use and Chat Portrait gets confused what is what.
Similarily, this also happens on spells when the caster needs to roll for arcane spell failure.
I first assume this is a bug in the alternate attack chat card module I'm using, and opened a bug report there: https://gitlab.com/zenvy/foundryvtt-pf1-alt-sheet/-/issues/39 . There's screenshots in that bug report that show what's wrong, and some further discussion. I.e. for context and screenshots, that bug report there is probably relevant.
However, it turns out the alternate attack chat card is not to blame. This bug also happens when no alternate attack chat card has been selected and when no modules but Chat Portrait is even active. Conversely, this bug does not happen when Chat Portrait has been disabled.
Environment Details
Issue Description
When using Chat Portrait with the Pathfinder 1e system, and issuing an attacking while having a token targetted, the token image of the targetted creature is not at the position it's supposed to be in the attack chat card.
The normal attack chat card when issuing an attack from a combat item does not show this behaviour, but the one from an attack using an inventory item. It seems it has to do with the different headings these chat cards use and Chat Portrait gets confused what is what.
Similarily, this also happens on spells when the caster needs to roll for arcane spell failure.
I first assume this is a bug in the alternate attack chat card module I'm using, and opened a bug report there: https://gitlab.com/zenvy/foundryvtt-pf1-alt-sheet/-/issues/39 . There's screenshots in that bug report that show what's wrong, and some further discussion. I.e. for context and screenshots, that bug report there is probably relevant.
However, it turns out the alternate attack chat card is not to blame. This bug also happens when no alternate attack chat card has been selected and when no modules but Chat Portrait is even active. Conversely, this bug does not happen when Chat Portrait has been disabled.