19

I think that if the hats get resized that the position of the hat gets re-calculated incorrectly, probably from (X,Y) position that is shifted according to the hat. Simply wearing the hat and returning to the hat-"dialog" screen will already move the position of the hat.

enter image description here enter image description here

Also seen on the icon, which triggered my small exploration:

enter image description here

I think it is hat size related as it seems to move in the other direction if the hat is smaller.

Using Firefox 95.0 on Ubuntu, mostly mint condition (but includes an add blocker, if that's important). I've included the pictures taken from the Cryptography site.

2
  • 8
    We had noticed this and are already working on a fix. Thanks for reporting!
    – Catija StaffMod
    Dec 15 '21 at 15:39
  • 1
    It's different depending on the site's image, and all my images are 1:1 ratio to avoid the ratio bug; so this won't be a simple fix. Just got through adjusting a few dozen hat positions because I have custom avatars on quite a few sites.
    – Rob
    Dec 15 '21 at 15:41
12

This one was hard to find, but we believe we have a fix!

The short story here is: we were calculating the positioning of the hat inside the hat adjustment modal a little too soon, which meant that the hat would render on a different position there. As soon as someone tried to adjust it inside that modal, it would break the real thing.

The hat should now only be rendered when the modal is fully loaded, which should fix the issue going forward.

You should also now be able to go into the hat adjustment modal and fix the positioning of your hat.

Let us know if for some reason it doesn't work for you!

Thanks for reporting! We appreciate the help.

1
  • 7
    I have to give public kudos to Felippe on this one - this was a crazy bug to crack (and was his first work on anything touching the front-end of WB, which is…quite complex), especially because it seemingly happened at random in a very hard-to-understand section of UI logic. Thanks!
    – Yaakov Ellis StaffMod
    Dec 15 '21 at 20:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .