NiyaShy / XB1ControllerBatteryIndicator

A tray application that shows a battery indicator for an Xbox-ish controller and gives a notification when the battery level drops to (almost) empty.
GNU General Public License v2.0
715 stars 51 forks source link

Make toast vanish after a few seconds #24

Closed NiyaShy closed 2 years ago

NiyaShy commented 5 years ago

As asked by @buzzcola107 here:

And I have a feedback/suggestions: The other day I was playing GTAV and the warning (toast) appeared in mission over the map ( and I fail the mission lol ). And if i click on the button Shut up!, its minimizes the game (risk of crash in some game).
I ask if it is possible to just make the warning appear only for a few seconds ( like 7 seconds )

NiyaShy commented 5 years ago

I'll see what I can do about that. Was already thinking about adding a way to disable the toast completely if you prefer just audio hints (possible now that the notification sound was added), so it might be possible to add a menu for selecting

buzzcola107 commented 5 years ago

Have 3 choice of toast+ audio on/off will be great. Just audio, if have loud sound in game like explosive or big, action you mabey not ear the warning., but is always good to have choice.

Good day !

Jackenmen commented 4 years ago

Considering that on other issue you mentioned that people showing interest might convince you, I want to +1 this, it's very annoying for me, when I'm playing Rocket League considering that the location of Windows's toast hides the boost level perfectly and it doesn't auto-hide after few seconds 😄

NiyaShy commented 4 years ago

Hey, this is already on my list of things to implement since I got feedback here and on reddit that there are situations where the toast is disturbing and an option to disable it would be nice. Just haven't had the time to get into this yet.

It's planned for the next (non-language-addition) update, hence the milestone tag 😉 But there's no release schedule of it (yet).

NiyaShy commented 3 years ago

So, a lot has happened in the last months, new features were submitted to the testing branch (aka, they aren't in the released main version yet) that affect the notifications. You can now disable the toasts completely, and in addition to the already released notification sound there's a new overlay/popup that shouldn't steal focus from fullscreen games.

The new overhauled context menu: image The new popup: image Configuration dialogue for the popup: image

The big question is: would that be enough already, or do you still want an option to hide the toast messages after a while? The big advantage of toasts is that they can stay on screen for more than just a few seconds, so if you just want a quick "hey, battery is getting low" the popup should be more than enough.