-
Notifications
You must be signed in to change notification settings - Fork 602
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
Menu tweaks #224
Menu tweaks #224
Conversation
-doesnt include main menu template anymore
add "Use Proxy" checkbox
in-app-menu updates menu only if needed
This reverts commit 8b6c60b.
This somehow fix "did-fail-load" being called on song start, with in-app-plugin-activated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small nits but otherwise looks good! Removing plugins from the tray menu is a breaking change but it simplifies the code and not sure it was very useful (it's still possible to show the app and the main menu when changing plugins).
Thanks for the PR, feel free to address the comments, otherwise I can merge it and make the changes as a follow up!
Co-authored-by: th-ch <[email protected]>
Co-authored-by: th-ch <[email protected]>
…into menu-fixes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few additional comments after some testing, feel free to address them, otherwise I am fine merging as is and making changes as a follow up!
directly preload front-logger simplify front-logger
@th-ch I just realized this whole front-logger thing fixed the There is an unknown bug with in-app-menu causing did-fail-load to be called with error code -3 on song start.
Since I was unable to find the source of the event (anonymous), and it doesn't seem to be an actual error: After the last commit, It all works well for me. |
bug with in-app-menu
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for the contribution, merging! ✅
Follows-up PR #215
2b3a20c :
🔽
That fixes the visual bug that cause desync between checkbox/radio buttons in tray menu and main app menu
(could be tweaked, but I'm not sure if any other buttons are needed there)
80a7d2c :
5524a14 :
a194046 .
win.once()
instead ofwin.on
in multiple places fixes callbacks being called twice and frees up redundant listeners2162052 :
28d366a Fix a critical bug⚠️ :
it seems there is an unknown bug with in-app-menu causing did-fail-load to be called with error code -3 , its seems to be some kind of false positive (it doesn't actually fail to load anything and also error code -3 means "ABORTED" )
so now it only loads
error.html
if not in this exact false-positive case (in-app-menu active + error code -3)Sorry that it ended up being a long PR. I tried making it readable.
If needed, I could split it