[scribus-dev] Disaster DEL key

JLuc jluc at no-log.org
Fri Sep 5 17:18:50 UTC 2014


Le 05/09/2014 17:58, JLuc a écrit :
> It looks like rev 19294
> http://scribus.net/websvn/comp.php?repname=Scribus&compare[]=/trunk/@19293&compare[]=/trunk/@19294
> introduced a sometime very painfull issue.
>
> When editing the content of a text frame, DEL deletes the frame itself.
>
> http://bugs.scribus.net/view.php?id=12498 describe some specific situations where it happens,
> but it happens in other random cases, and depending on the machine it can happen very often
> in allmost all DEL text frame edit mode uses.
>
> ATM, solution for user seems to use scribus Preferences so as to not bind DEL to OBJECT > DELETE
> (one can suppress the binding, or bind CTRL+DEL or SHIFT+DEL instead)

Note that even when the binding is deleted in the preferences,
when not in text edit mode, the DEL key deletes the frame as it should.
So this binding seems to be ALSO hardcoded somewhere.

> So as to fix the code, it could be that the "Object delete" action
> on a frame should first check that scribus is not in "Content edit" mode.
>
> JL





More information about the scribus-dev mailing list