(for debian-gtk-gnome@lists.debian.org readers, Julien Blache and me triggered a bug in Zim (also present in Dia and which was present in Nautilus 2.8 iirc) where the delete key was binded as a gtk accelerator to the Delete action. Problem is that gtk doesnt handles this correctly with some keybindings.
In our case, Shift+Backspace is binded to Delete (mac laptop users don't have a delete key). But in that case, the gtk shift handling causes the Backspace key to be treated as if it was a Shift+Backspace. On Sun, 2006-06-11 at 12:28 +0200, Julien BLACHE wrote: > > It might not necessarily be a bug, probably more something of an > > undocumented feature. Looking at other gtk programs I notice that > > This is a bug in the way the accel code handles the modifiers, and has > been brought up several times already as the original submitter found > out :/ > > They're basically trying to make it so that ctrl-z and ctrl-Z both > trigger a ctrl-z accel, etc. And obviously, they've got it wrong on > occasion... Yes, this is why, when I removed the Shift+Backspace binding to Delete in my keymap it restarted to work. And the same occurs in Dia and I guess it was the problem in nautilus too, but I didn't find a changelog entry saying they had removed the Delete accelerator. This only shows on powerpc laptops because we are the only one (i guess) to have delete binded on Shift+Backspace. > > > almost non have an accelerator (keybinding) for the "Delete" menu > > entry. The default 'gtk-delete' stock item does not add a > accelerator > > to the menu. > > I'm told those keys (delete, backspace, some others) are special-cased > in the accel code, though it seems the special-casing is broken :) So maybe opening a bug on gtk would be an option (CC:ing debian-gtk-gnome@lists.debian.org ) > > > Could you instead of removing the menu entre just change the label > and > > the accelerator to 'undef' (in PageView.pm) ? This should remove the > > keybinding. If this works I'll commit it for the next release. > > It works as expected removing the label and the accel. > > Now zim will be usable again as my scratchpad/todolist :) Removing the accel (pressing backspace when the "Delete" menu entry is selected, while having editable menu accelerators) work. But it'd be nice if those settings were saved somewhere :) Regards, -- Yves-Alexis Perez -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]