-
-
Notifications
You must be signed in to change notification settings - Fork 470
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
fix: special shortcut for Windows live notifications #5975
base: master
Are you sure you want to change the base?
Conversation
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.
clang-tidy made some suggestions
@Nerixyz there might be a bug with pinning c2 to the taskbar. Steps
-> Tested the Taskbar shortcut, and it don't include the AUMI Questions: |
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.
We can just change all AUMI/AppNames to "Chatterino", feel free to do that in this PR - I'm assuming that should not break anything. Rather that be changed now than before we start creating shortcuts
settings.append(this->createCheckBox( | ||
"Create start menu shortcut (requires " | ||
"restart)", | ||
getSettings()->createShortcutForToasts, | ||
"When enabled, a shortcut will be created inside your " | ||
"start menu folder if needed by live notifications." | ||
"\n(On portable mode, this is disabled by " | ||
"default)")); |
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.
You can use SettingWidget
here, which means you wouldn't have to update the createCheckBox
implementation - see
chatterino2/src/widgets/settingspages/GeneralPage.cpp
Lines 1231 to 1235 in 7fee3f7
SettingWidget::dropdown("Show blocked term automod messages", | |
s.showBlockedTermAutomodMessages) | |
->setTooltip("Show messages that are blocked by AutoMod for containing " | |
"a public blocked term in the current channel.") | |
->addTo(layout); |
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.
on the NotificationPage i can't do ->addTo(layout) using SettingWidget::checkbox
What do i need to change?
This worked for me. I'd advocate for this. Honestly, I now think this should be disabled by default. From what we know: installations with the installer (probably the majority) aren't affected. But we add a shortcut there by default. In Chatterino7, for example, the created shortcut is named |
Does it show the correct name and icon for you on stable 2.5.2 installed with its installer?
Should I then undo the changes to the installer and make the setting disabled by default? |
Hmm, no, it doesn't. The installer changes are good, though, I'm fine with them. I guess we could enable it by default... But we should definitely change the name that we give to WinToast then. Because the installer creates |
Fixes #5954