[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Bug#4656: konqueror : Default keys to delete files
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2000-06-18 1:59:04
[Download RAW message or body]

On Sat, 17 Jun 2000, David Faure wrote:
> > I propose to put the following shorcuts under the edit menu
> > (so that Windows users can do a easier transition):
> > 
> > Move to trash    Del
> > Delete           Shift+Del
> > Shred            Ctrl+Shift+Del
> 
> IIRC there was a problem with Del, that's why I chose Ctrl+Del.
> The problem being: when one hit 'del' to correct a URL in the location bar,
> it triggered the action. That may be a flaw in the accel mechanism
> (they are be triggered whichever widget has the focus), but... well...
> this goes deep down into Qt AFAIK.
> 
> Oh... how much this triggers bad memories from kfm.... :(
> 
> Does anyone else know if there is a way to avoid triggering the
> "del" action when the focus is in the location bar ?

Okay I run one test on this and it does not make sense.  Since we now use
KComboBox in konqy,  I trapped the "Delete" key after manually performing the
delete action.  I returned from the ::keyPressed method consuming the event
( e-accept() ).  However I get the same result, i.e. it tries to delete the
entry in the icon-view.  I do not understand why the event propagation would
first get to the icon-view when the combobox has focus!!!  Is this a focus
management problem in Qt ???  I am still investigating.  We definitely need to
get rid of this problem as I remember this issue from the days of kfm...

Regards,
Dawit A.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic