{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitica/issues/10021","repository_url":"https://api.github.com/repos/HabitRPG/habitica","labels_url":"https://api.github.com/repos/HabitRPG/habitica/issues/10021/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitica/issues/10021/comments","events_url":"https://api.github.com/repos/HabitRPG/habitica/issues/10021/events","html_url":"https://github.com/HabitRPG/habitica/issues/10021","id":298225083,"number":10021,"title":"Shops > Market slow / unresponsive","user":{"login":"Alys","id":1495809,"avatar_url":"https://avatars0.githubusercontent.com/u/1495809?v=4","gravatar_id":"","url":"https://api.github.com/users/Alys","html_url":"https://github.com/Alys","followers_url":"https://api.github.com/users/Alys/followers","following_url":"https://api.github.com/users/Alys/following{/other_user}","gists_url":"https://api.github.com/users/Alys/gists{/gist_id}","starred_url":"https://api.github.com/users/Alys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alys/subscriptions","organizations_url":"https://api.github.com/users/Alys/orgs","repos_url":"https://api.github.com/users/Alys/repos","events_url":"https://api.github.com/users/Alys/events{/privacy}","received_events_url":"https://api.github.com/users/Alys/received_events","type":"User","site_admin":false},"labels":[{"id":709194281,"url":"https://api.github.com/repos/HabitRPG/habitica/labels/section:%20Market","name":"section: Market","color":"c5def5","default":false},{"id":62632900,"url":"https://api.github.com/repos/HabitRPG/habitica/labels/status:%20issue:%20need%20investigation","name":"status: issue: need investigation","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-19T10:26:30Z","updated_at":"2018-02-21T01:53:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In the Report a Bug guild, NoCyg (154802ac-9567-4916-ac66-79ea5ba81ec7) reports:\r\n\r\n\"The Market isn't working for me in Firefox (version 58.0.1, on Windows 10). Whenever I open a modal, either to buy or sell, the entire tab stops responding--I can't change amount to buy/sell, can't click any buttons, can't close the modal (neither by clicking the x nor by clicking outside the modal), and can't refresh the tab. I have to close the tab and reopen Habitica fresh. I tried closing and restarting Firefox as a whole, but the problem persisted past the restart. Everything else on Habitica seems to be working fine in Firefox as far as I can tell. The Market is working fine in Chrome, so I was able to do what I wanted there.\"\r\n\r\nTheHollidayInn then wrote: \"... Are you able to close the unresponsive tab then open Habitica (hopefully landing you on the task page?) After that, do you go straight to the market, open a modal and then the freeze happens or do you do anything before?\"\r\n\r\nNoCyg replied: \"Yes, I am able to close the unresponsive tab and then open Habitica on a new tab, landing on the tasks page. For the first occurrence of the bug both weeks, I had opened Habitica normally (landing on the task page) and first checked off habits and dailies (and maybe to-dos, I can't remember). The first week, I also hatched pets and raised mounts prior to going to the Market; this week, I went to the market right after checking things off on the tasks page. When I was checking for the persistence of the error the first week, I did go straight from the tasks page to the market, without doing anything in between. In all cases, I encountered the bug as soon as I opened the first modal (I've tried buying subscriber gems, buying quests, and selling eggs and potions--all have caused the freeze).\"\r\n\r\nThen: \"In getting the information you requested _[console log messages]_, I discovered more detail about the issue. The first is that it's not actually a complete freeze, it's a delay of approximately 22-26 seconds; if you wait that long, things start responding normally again (until you trigger the issue again). The second is that the specific trigger seems to be trying to change the value in the amount to be sold box: if you just open the modal and click \"Sell\" directly (i.e. selling only the default 1 item), everything works normally, but if you try to change the amount to be sold, everything hangs for about 25 seconds and then you can change the value and sell things. If you have clicked on things (such as the sell button) during the time it's hanging, it will process those actions upon resuming normal activity. I have several logs from the JavaScript Console from testing this behavior, which I will post in separate comments (immediately following) because they are long.\"\r\n\r\n\r\nNoCyg then gave us console log messages from a few attempts, which I'm going to put into one comment each here to keep them separated.\r\n"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitica/issues/comments/367187381","html_url":"https://github.com/HabitRPG/habitica/issues/10021#issuecomment-367187381","issue_url":"https://api.github.com/repos/HabitRPG/habitica/issues/10021","id":367187381,"user":{"login":"JenniferMartin","id":2581358,"avatar_url":"https://avatars3.githubusercontent.com/u/2581358?v=4","gravatar_id":"","url":"https://api.github.com/users/JenniferMartin","html_url":"https://github.com/JenniferMartin","followers_url":"https://api.github.com/users/JenniferMartin/followers","following_url":"https://api.github.com/users/JenniferMartin/following{/other_user}","gists_url":"https://api.github.com/users/JenniferMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/JenniferMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JenniferMartin/subscriptions","organizations_url":"https://api.github.com/users/JenniferMartin/orgs","repos_url":"https://api.github.com/users/JenniferMartin/repos","events_url":"https://api.github.com/users/JenniferMartin/events{/privacy}","received_events_url":"https://api.github.com/users/JenniferMartin/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T01:53:47Z","updated_at":"2018-02-21T01:53:47Z","author_association":"NONE","body":"This is NoCyg. I tried it with all extensions disabled and the problem behavior was the same. Nothing at all showed up in the console log this time around, though."}}
{"actor":{"display_login":"JenniferMartin"}}