many are annoyed by the continuous display of messages in the Notification bar in version 4.7 and higher that there is no connection with the SC.
This simple modification will delete each message after being read once.
All future messages will be displayed as normal but also deleted after being read.
Make the following change in the file /qmf/qml/qb/notifications/NotificationsBar.qml:
onAction: {
if (canvas.dimState)
screenStateController.wakeup();
if (actionUrl.toString().length)
notificationBar.hide();
else if (model.uuid)
notifications.remove(model.uuid);
else if (model.type)
notifications.removeByType(model.type);
}
onAction: {
if (canvas.dimState)
screenStateController.wakeup();
if (model.uuid)
notifications.remove(model.uuid);
else if (model.type)
notifications.removeByType(model.type);
}
The messages will show up again after a reboot but can be removed again by clicking on it.
This workaround should be acceptable for now.
I expect quby to make improvements to this functionality in future releases.
Ì seem to have screwed up something... only getting a white screen without any information.
Ofcourse I forgot to make a backup of the file.... can someone please make a copy for me?
Michel was kind enough to supply me with his file. But still I get a white screen. As if I deleted some file by accident or something...
Now I've got a white screen. A hard reset doesn't work, but everything in the background seems to work fine. I can still change things through domoticz.
Also the screen doesn't go into a dimmed state. I hope someone can help me with this. I am going to make a dump of the files.
It's working again! It turned out the text editor I used (included in WinSCP) turned all tabs into gibberish. When I opened the file with 'vi' I noticed it.
Copy pasted Michel's file in it trough vi and rebooted without a problem.
I have another idea to suppress the notifications, this one is a bit more intrusive because you will never see any notifications again
In the file NotificationsBar.qml replace all occurrences of ' notificationBar.show()' by 'notificationBar.hide()'
I cannot test this myself as I don't get these notifications anymore.
If someone is willing to try just give your feedback here. Much appreciated.
function show(expanded) {
cancelHideTimer();
if (!expanded)
collapse();
if (state === "hidden") {
notificationColumn.animateAddItem = false;
if (notifications.count === 1)
addNextItem();
else if (expanded)
//MR expand();
state = "shown";
}
// added MR
collapse();
state = "hidden";
// end add
}
This removes notifications altogether, just need to get rid of the systray icon as well, this is easily handled by setting the number of notifications required for display to an insane amount, in NotificationSystray.qml.
function show(expanded) {
cancelHideTimer();
if (!expanded)
collapse();
if (state === "hidden") {
notificationColumn.animateAddItem = false;
if (notifications.count === 1)
addNextItem();
else if (expanded)
//MR expand();
state = "shown";
}
// added MR
collapse();
state = "hidden";
// end add
}
This removes notifications altogether, just need to get rid of the systray icon as well, this is easily handled by setting the number of notifications required for display to an insane amount, in NotificationSystray.qml.
I have another idea to suppress the notifications, this one is a bit more intrusive because you will never see any notifications again
In the file NotificationsBar.qml replace all occurrences of ' notificationBar.show()' by 'notificationBar.hide()'
I cannot test this myself as I don't get these notifications anymore.
If someone is willing to try just give your feedback here. Much appreciated.
I updated my Toon yesterday to version 4.9.23 but this notification icon stays on the upper right ( image below ).
This is because it can not connect to the service center error d03 no internet.
Does somebody know how hide this icon?
It is only the icon, there is no notification white balk.
Attachments
2017-12-04_18-34-51.jpg (9.72 KiB) Viewed 17294 times
This is not a Notification icon, it is your internetsettings icon.
Two options here:
1. In the topic manuals is described how to get rid of this error caused by the fact that you have no VPN open to Eneco.
2. Another option, more convenient in my humble opinion, is to completely disable this icon. Saves space in your systray for other more useful icons.
To get rid of the icon comment out the following line in /HCBv2/qml/apps/internetSettings/InternetSettingsApp.qml:
registry.registerWidget("systrayIcon", p.internetSystrayUrl, this);