Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nwjs upgrade #615

Merged
merged 7 commits into from
Feb 10, 2019
Merged

Nwjs upgrade #615

merged 7 commits into from
Feb 10, 2019

Conversation

bastimeyer
Copy link
Member

@bastimeyer bastimeyer commented Jan 23, 2019

Before building the app, please back up your streamlink-twitch-gui{,-test} config folder(s), so that you're able to downgrade later on again if you need to.

Checklist

  • Fix failing tests
  • Fix regressions
    • Hidden scrollbars
    • Chunky smooth scrolling
    • Default NW.js icon is included in desktop notifications on Cinnamon
      This is caused by an improperly implemented workaround in Chromium (https://crbug.com/804637) which made it into this NW.js release. Has been fixed just recently and will land in NW.js hopefully soon.
  • Add new stuff enabled by the Chromium update
    • Back and forward mouse button navigation
  • Check build dependencies
    • nw-builder sometimes fails while downloading the new NW.js release archives
      Didn't happen again, must have been an issue with the servers.
  • Check builds on all OSes

Minor breaking changes

  • Remove start.sh wrapper script on Linux.
    If you're running Streamlink Twitch GUI from the Linux tarballs, you'll have to run remove-menuitems.sh once before upgrading and run add-menuitems.sh after upgrading for setting up a new menu shortcut. This change is not tied to the NW.js upgrade, but was overdue a long time ago. The available Linux packages won't be affected on the next release, as they include properly packaged menu shortcuts.

Why is Github still showing the wrong commit order after my forced branch pushes? Not that it matters, but...

@codecov
Copy link

codecov bot commented Jan 23, 2019

Codecov Report

Merging #615 into master will decrease coverage by 0.06%.
The diff coverage is 9.09%.

@@            Coverage Diff             @@
##           master     #615      +/-   ##
==========================================
- Coverage   83.79%   83.73%   -0.07%     
==========================================
  Files         479      479              
  Lines       13527    13537      +10     
  Branches     1224     1226       +2     
==========================================
  Hits        11335    11335              
- Misses       2098     2108      +10     
  Partials       94       94

@bastimeyer bastimeyer force-pushed the nwjs-upgrade branch 3 times, most recently from 5987b35 to 99cdf36 Compare January 25, 2019 16:49
Somehow NW.js/Chromium doesn't like overflow:hidden being set on the
document body anymore and the parent wrapper element of the main content
element needs to have this property set.
And use proper initial timestamps for requestAnimationFrame callbacks
instead of making a second runtime evaluation over the CDP
@bastimeyer bastimeyer merged commit 38525b8 into master Feb 10, 2019
@bastimeyer bastimeyer deleted the nwjs-upgrade branch March 31, 2019 20:56
@bastimeyer bastimeyer mentioned this pull request Jan 7, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant