Bug 324941

Summary: kconf update script to remove/clean ~/.kde/share/config/kwin.notifyrc required
Product: [Plasma] kwin Reporter: Marcelo Sales <mmtsales>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kde
Priority: NOR Flags: thomas.luebking: ReviewRequest+
Version: 4.11.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
URL: https://git.reviewboard.kde.org/r/113213/
Latest Commit: Version Fixed In:
Attachments: System notifications for kwin in SystemSettings are missing

Description Marcelo Sales 2013-09-15 19:54:45 UTC
After upgrading to KDE 4.11.0, all system notification sounds for kwin events became mute. In SystemSettings -> System Notifications -> Manage notifications -> Applications -> KWin Window Manager, the titles and descriptions for all events are missing, except for [The composition was suspended] and [Graphic restart].
In the events that played sound there is still the icon that indicates that there were sounds assigned to the events, but the field where there should the file name of the sound file is empty.
Since then I've upgraded KDE to 4.11.1 and the problem persists.
See attached screenshot.
System notification events for other applications are working fine and their titles and descriptions are correct in SystemSettings.

Reproducible: Always

Steps to Reproduce:
1. Open SystemSettings -> System Notifications -> Manage notifications -> Applications -> KWin Window Manager

Actual Results:  
All events are empty, except for the two mentioned, and that no sound is played when kwin events occur

Expected Results:  
There should be titles, descriptions and other properties for Kwin system notification events in SystemSettings, and sounds should be played when those events occur.
Comment 1 Marcelo Sales 2013-09-15 19:55:57 UTC
Created attachment 82330 [details]
System notifications for kwin in SystemSettings are missing
Comment 2 Kai Uwe Broulik 2013-09-16 10:22:04 UTC
Most of the notifications, except for the two you see properly (Compositing suspended and Graphics reset) were removed from KWin. There are probably some config entries left in your configuration.
Comment 3 Thomas Lübking 2013-09-16 12:38:11 UTC
we lack a kconf update script to remove ~/.kde/share/config/kwin.notifyrc (resp. remove all removed keys... wouldn't it be great if KDE would ship a kconfig tool that could do this by a one-liner?)
Comment 4 Marcelo Sales 2013-09-16 17:56:56 UTC
Sorry to hear that, I was specially kin to the "desktop #" notifications (triggered when you changed your active desktop). Are they coming back in the future?
Anyway, how do I clean my config files to remove the events that do not exist anymore? Is it safe to just remove ~/.kde/share/config/kwin.notifyrc? Won't this break anything related to the two remaining events?
Comment 5 Martin Flöser 2013-09-16 18:37:47 UTC
> Sorry to hear that, I was specially kin to the "desktop #" notifications
> (triggered when you changed your active desktop). Are they coming back in
> the future?
This can be implemented using the KWin scripting interface. So if you need it 
just hack together a script.

It will not come back, it was a deliberate decision to remove it as it had a 
strong runtime impact due to D-Bus communication and the fact that none of the 
notifications was enabled at all. Thus we penalized all users for a very small 
number of users actually enabling it.
> Anyway, how do I clean my config files to remove the events that do not
> exist anymore? Is it safe to just remove ~/.kde/share/config/kwin.notifyrc?
yes that's safe.
> Won't this break anything related to the two remaining events?
no, because it's also system wide installed.
Comment 6 Marcelo Sales 2013-09-17 12:14:15 UTC
Ok, thank you all for the info.
Comment 7 Martin Flöser 2015-01-13 08:35:14 UTC
With change to kf5 our settings are cleared.