HOST-Oman/scribus

Flip horizontal text cursor is incorrectly placed

Opened this issue · 11 comments

MrB74 commented

Reopening #231 but in a different context. We want mirroring capability, but not for text layout (ie to attempt a right to left text language layout as such). Eg for writing mirrored text. We'd even want that for CTL potentially . Eg, you know when someone prints something that is expected to be read in a mirror like stickers stuck on the front

However, the Flip Horizontal function for the entire frame will suffice, but the cursor placement function does not know about it so you need to click on the left of the frame when the text is on the right. It also travels in the opposite direction to the text (ie normal direction) when the frame is flipped.

aoloe commented

(copied and aadapted from #231)

@MrB74 do we really need to support this use case?

I know that somebody might want to write "ɘɔnɒludmɒ" on her car, but i fear that scribus is not the right tool for such jobs...
(a sticker seems to be a vector graphics job...)

IMO if somebody wants to mirror some text, she can convert it to vectors and mirror it. that should be enough.

currently, this feature seems to be deceiving our users more than it's helping them to achieve any goal...

MrB74 commented
aoloe commented

btw, mirroring the full frame is probably a better solution and is harder to be misunderstood.

still... i wonder if the feature will ever be used in production...

MrB74 commented

@MrB74 what is the right approach to do that? IMHO, leave it as it, if the user want to edit the text, [s]he should use story Editor. The user should don't forget that he use Flipped frame.

MrB74 commented
MrB74 commented

This is a bug, not an enhancement, as the cursor placement used to work in this case.

I think you should just disable on canvas editing of any flipped text frame. It is such an exotic case that is not worse making the code any harder to support it. The story text editor should be fine here, who wants to edit text backwards any way.

I think you should just disable on canvas editing of any flipped text frame. It is such an exotic case that is not worse making the code any harder to support it. The story text editor should be fine here, who wants to edit text backwards any way.

good idea

MrB74 commented

Fahad: This needs fixing for editing on canvas (its just reverse cursor placement after all, ie value *-1 potentially).

However, I do not consider it a blocker for CTL merge or even release of 1.5.3.

(its just reverse cursor placement after all, ie value *-1 potentially).

That is already used (reserved) for RTL cursor movement and this is what khaled meant by making the code harder and complex