Summary of NWI -- the page

Maciej Pilichowski bluedzins at wp.pl
Tue May 19 15:40:38 CEST 2009


On Monday 18 May 2009 20:19:13 Matthew Woehlke wrote:

> >> Okay... from a technical standpoint the WM and app have to
> >> cooperate for 'close document' (it may be possible for the WM to
> >> accept the key combo and decide if it should send the app a
> >> close document or close window signal, which would be ideal;
> >> better integration with non-KDE apps, less app code needs to
> >> change), but then ctrl-w can't be used :-(.
> >
> > Why?
>
> ctrl-<anything> can't be used as global shortcuts; 

Like ctrl+c for copy? 

> they break 
> terminal emulators. You must either implement it at application
> level and let the application work with the WM, or else add another
> modifier.

I don't think WM should care about any app specific issues. It should 
be quite in reverse -- app should provide means to make other use of 
this or that shortcut.

Btw. I use Konsole all the time but I don't think it is _that_ 
important that shape of DE should be dependant of it. And to speak 
more strictly -- it would be unwise to care about this or that app.
DE leads the way, apps follow.

> The reason you need the app to cooperate is because otherwise the
> best the WM can do when you /don't/ want to close the window is
> push a predefined key combination to the app's event queue and hope
> for the best.

That's right. App should cooperate. In games single ctrl is used to 
fire, or something but it is not the reason we should not use ctrl 
key at DE level.

Btw. ctrl+w is current default shortcut for document close.

> >> Currently it's up to the app to implement this, but come to
> >> think of it, it may be possible for the WM to do it, which might
> >> make it more consistent (but I think wouldn't actually quit apps
> >> that don't go away when all their windows are closed, e.g.
> >> systray apps).
> >
> > But you can close such app (and then it stays), quit means quit
> > (like today).
>
> What I mean is there is no way for the WM to get an app to quit;

Ok, but can WM _ask_ app to quit? 
WM: please, quit
app: no
WM: ok, bye bye anyway, you are on your own

Cheers,


More information about the Kde-usability-devel mailing list