Review Request 114686: Do not use a standard shortcut for KMessageWidget's "close" action

Frank Reininghaus frank78ac at
Fri Dec 27 17:29:09 GMT 2013

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs and Aurélien Gâteau.

Bugs: 317306

Repository: kdelibs


KMessageWidget uses KStandardAction::close() to create its "close" action. This automatically sets Ctrl+W as the shortcut for that action. Unfortunately, this shortcut may conflict with application-specific shortcuts. E.g., Dolphin uses Ctrl+W for closing tabs, which means that the user will get an annoying "shortcut conflict" error message if Ctrl+W is pressed while multiple tabs are open, and the current tab has a message shown in a KMessageWidget.

I propose to solve this problem by not using a default shortcut for KMessageWidget's "close" action. I'd prefer to change this in master only to prevent causing trouble for people who might rely on the current behavior.


  kdeui/widgets/kmessagewidget.cpp e5143cc 



I don't get a dialog showing the "Ambiguous shortcut" message any more in the described use case.


Frank Reininghaus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list