manuskript icon indicating copy to clipboard operation
manuskript copied to clipboard

Formatting text with e.g.ctrl-i "fades" properties-area

Open paulkater opened this issue 3 years ago • 1 comments

I selected a bit of text: man01

The properties area is normal, with character info, revisions etc: man05 man02

I press ctrl-i to italicise the text: man03

In the properties area the notes/references info vanishes man04

Also the character properties are 'faded': man06

Typing a letter or simply pressing ENTER/RETURN will immediately restore the properties area to its normal values/view.

This happens with CTRL-I, CTRL-B, CTRL-+ and CTRL-- as far as I have seen. Selecting the formatting from the menu and applying it that way doesn't change the view of the properties area.

CTRL-D and CTRL-SHIFT-C, and also CTRL-ALT-x for Headers do not have this effect.

OS: Ubuntu 22.04 Manuskript: 0.14.

paulkater avatar Aug 27 '22 12:08 paulkater

I can reproduce that. Looks rather inconsistent in handling those changes to the text. I might look into it.

TheJackiMonster avatar Aug 28 '22 19:08 TheJackiMonster

I'm sorry but unfortunately while I can reproduce it, I have no idea how to fix it because this seems to be caused by some delayed event logic which I'm not seem to be able to find in the code (it's a mess...). ^^'

So I'm putting this issue in the "future" queue. This might sound frustrating but at least I am sure we will try to avoid a bug like this in the current efforts refactoring Manuskript with GTK. That means even though I'm not sure how to fix it in the current code base, we might solve this issue in the future anyway. I'll keep it open until we have a release fixing this.

TheJackiMonster avatar Feb 09 '23 21:02 TheJackiMonster

Thanks for having a look at it. And good luck cleaning up the code; I know how bad a pot of spaghetti some people can make it.

paulkater avatar Feb 10 '23 04:02 paulkater