RE: Delete action, hotkey

CARVALHO Luis Passos <[email protected]>
Newsgroups gmane.comp.kde.devel.kpovmodeler
Message-ID <[email protected]>
Hi!

> 
> Has anyone bound the delete action to the delete key?
> 

Nope. But sometimes I wish I did. :)

> A user requested recently to bind it by default to the delete 
> key. IIRC the 
> active object was deleted sometimes when pressing the delete 
> key in the 
> object properties view.
> 
> Has anyone experienced such problems or does it work correctly?
> 

I never tried it so I don't know, but that sounds strange. The key is only
sent to the widget with the focus and then sent upwards in the hierarchy
until it finds a widget that takes care of it.

Could it be that you had the focus on some widget that doesn't handle
delete, like a button or something like that. Then it's sent to the
PMObjectEdit, then to PMDockManager and before it gets to KApplication it
passes through PMDialogView?

In that case we could filter the delete key on the PMObjectEdit widget
always treating it there. 

By the way, the tree view, at least for me, doesn't handle Shift+Down and
Shift+Up for selections. That's very handy too. Is it just a case of
configuring it or doesn't PMTreeView allow it?

Regards,
Luis

List archive and information: http://mail.kde.org/mailman/listinfo/kpovmodeler-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.