aoloe / scribus-ui-concept

0 stars 0 forks source link

Do not change the font when overwriting existing text #3

Open probonopd opened 5 years ago

probonopd commented 5 years ago

Selecting text (here I am using Ctrl-A to select all text) and typing new text should not change the formatting of the text, even if the formatting was applied not to the whole text box but rather just to the text inside it:

probonopd commented 5 years ago

If the formatting was applied to the whole frame rather to the text inside it, then it behaves well:

works

However, even in this case it does not work correctly when using Python to replace the text:

from scribus import *
setText("Hello", "Text1")

results in the wrong formatting, even in this case.

aoloe commented 5 years ago

This is a bigger issue that probably needs a new definition of how formatting is applied to frames and text. This is the source of several bugs.

aoloe commented 5 years ago

remove the text formatting part for the text tool in the document settings https://bugs.scribus.net/view.php?id=14949