Bug 3988 - Game took my money in store but things disappeared out of my house
Summary: Game took my money in store but things disappeared out of my house
Status: RESOLVED FIXED
Alias: None
Product: Crossroads
Classification: Unclassified
Component: Decisions Game (Production) (show other bugs)
Version: unspecified
Hardware: iPhone iOS
: --- normal
Assignee: Gonzalo
URL:
: 3836 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-22 18:38 MDT by AnnMaria De Mars
Modified: 2019-05-10 23:32 MDT (History)
1 user (show)

See Also:
Legacy Creation Date:
Legacy ID:


Attachments
Attachment showing my money when I started shopping (deleted)
2019-04-22 18:38 MDT, AnnMaria De Mars
Details
Attachment showing my empty living room and less money (deleted)
2019-04-22 18:39 MDT, AnnMaria De Mars
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AnnMaria De Mars 2019-04-22 18:38:28 MDT
Created attachment 2465 [details]
Attachment showing my money when I started shopping

I went to the furniture store and bought a shelf. It showed up in my house fine. Then, I went to the Native Threads store and bought a necklace. It showed up in my living room, which I thought was odd but okay. Then, I went back and bought a pot. When I went back to my living room, there was nothing.

I quit the game, came back and I had a the shelf and necklace but not the pot. 

I bought a basket and came back and I had nothing again. Quit the game, came back and still nothing.

Bought a cabinet in the furniture store and now I have a cabinet, a shelf and a necklace in my living room.  It *seems* like it is a glitch involving the Native Threads store and maybe items in it other than the necklace.
Comment 1 AnnMaria De Mars 2019-04-22 18:39:24 MDT
Created attachment 2466 [details]
Attachment showing my empty living room and less money
Comment 2 Gonzalo 2019-04-23 20:27:21 MDT
I figured out the issue, when the room is resized for the device the widths of each item are not resized immediately. The page requires a reload or some vue equivalent, I am looking into the issue.
Comment 3 Gonzalo 2019-04-25 17:20:00 MDT
*** Bug 3836 has been marked as a duplicate of this bug. ***
Comment 4 Gonzalo 2019-05-09 22:40:15 MDT
Figured out in even more detail what is happening and it has nothing to do with the resizing. When the objects are loaded they are lazy loaded so when the drag-it component fetches their natural width it returns 0 since the img is not loaded yet.
Comment 5 Gonzalo 2019-05-10 23:32:54 MDT
used an ugly settimeout to wait for the img to load, couldn't get a callback working and didn't want to use hard coded widths in the items module.