[PATCH] "close" action shortcut

Jarosław Staniek js at iidea.pl
Sat Dec 3 19:25:04 GMT 2005

Nicolas Goutte said the following, On 2005-12-03 19:17:

> On Saturday 03 December 2005 19:13, Jaroslaw Staniek wrote:
>>Gary Cramblitt said the following, On 2005-12-03 00:57:
>>>On Friday 02 December 2005 06:36 pm, Jarosław Staniek wrote:
>>>>A patch for 3.5.1 and trunk:
>>>>FIX1. win32 only:
>>>>CTRL+F4 shortcut is well known and expected to work on win32: added it as
>>>>default shortcut; CTRL+W moved as alternative.
>>>>FIX2. After FIX1, "close_window" action in KMDI can just use
>>>I have no problem with the patch but just wanted to mention that if you
>>>go into K Control Center | Regional and Accessibility | Keyboard
>>>Shortcuts, and choose the Windows theme, Ctrl+F4 is already assigned to
>>>File | Close.
>>OK, thanks for the hint. Now I decided to give up with altering KStdAccel
>>and instead alter default kdeglobals file:
>>Please could anyone tell me: is there a template for (global, not user's)
>>kdeglobals file created somewhere by KDE scripts?
>>If not, I guess we will keep such a template in win/ subdir so one day it
>>can be added to our official KDE/win32 package.
> But people using Linux would perhaps want Windows key bindings too. So I do 
> not understand why you do not want to add it to the normal key bindings, 
> especially that as far as I see, it is already there. 

 > (I really doubt that a
> Windows user will want to select the KDE key bindings, except if he knows KDE 
> beforehand.)

CTRL+W is there already on windows used in some apps, e.g. in Mozilla. It's 
all about sane defaults.

> In KDE 3.5, kdebase/kcontrol/keys:
> win3.kksrc
> win4.kksrc

This is what I've already looked at. These settings are copied to kdeglobals 
[Shortcuts] section if differ from KDE defaults.
Since typical user on win32 will not be interested in "Shortcuts" section of 
KControl, what I planned is to have [Shortcuts] section preinstalled for this 
target. I guess the same is true for MacOSX.

regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska
  Kexi Developer:
      http://www.kexi-project.org | http://koffice.org/kexi
  Kexi support:
  KDE3, KDE4 libraries for developing MS Windows applications:

More information about the kde-core-devel mailing list