#27 Miner resumes unexpectedly in Split View on Mojave

Open
opened 10 months ago by jhabdas · 2 comments

This is a corner case and I’m still isolating the specific conditions to determine if it’s a browser bug or not. Essentially, sometimes if I’m mining and I close my laptop and come back later, log into my account and start doing stuff the miner begins mining in a background tab.

This could be fixed by checking periodically if the browser window has attention but that violates DMAIC principles and therefore is a fat ‘ol ugly hack and a last resort.

Related: #25, #16

This is a corner case and I'm still isolating the specific conditions to determine if it's a browser bug or not. Essentially, sometimes if I'm mining and I close my laptop and come back later, log into my account and start doing stuff the miner begins mining in a background tab. This _could_ be fixed by checking periodically if the browser window has attention but that violates DMAIC principles and therefore is a fat 'ol ugly hack and a last resort. Related: #25, #16
jhabdas added the
Investigation
label 10 months ago
jhabdas added the
bug
label 9 months ago
jhabdas commented 9 months ago
Owner

Flagging this a bug as I saw it again. Right now, to reproduce user must do something like:

  • Open a Split View in macOS Mojave
  • Open multiple tabs in Yandex (Chromium)
  • Start mining with battery plugged in
  • Close laptop screen
  • Unplug power
  • Open laptop screen
  • Switch desktops

More investigation needed for reduced test case with corners and edges removed.

Flagging this a bug as I saw it again. Right now, to reproduce user must do something like: - Open a Split View in macOS Mojave - Open multiple tabs in Yandex (Chromium) - Start mining with battery plugged in - Close laptop screen - Unplug power - Open laptop screen - Switch desktops More investigation needed for reduced test case with corners and edges removed.
jhabdas changed title from Miner resumes unexpectedly after screen wake to Miner resumes unexpectedly in Split View on Mojave 9 months ago
jhabdas commented 8 months ago
Owner

Corner-case appears to be spec related. Vivaldi 2.x has this issue as well except, in the case of Vivaldi, one doesn’t even need to switch screens: just Alt+Tab to a new Vivaldi window.

As a result, investigation should push spec forward instead of papering over its deficiencies as this SO answer covers: https://stackoverflow.com/a/9502074/712334

Corner-case appears to be spec related. Vivaldi 2.x has this issue as well except, in the case of Vivaldi, one doesn't even need to switch screens: just `Alt+Tab` to a new Vivaldi window. As a result, investigation should push spec forward instead of papering over its deficiencies as this SO answer covers: https://stackoverflow.com/a/9502074/712334
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.