Both customized "heading" formatting and customized "strong" formatting are displayed wrong.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Invalid
|
Undecided
|
Unassigned |
Bug Description
---> INFO:
OS version: Fedora 16 ; kernel: 3.6.11-
Zim version: 0.59
DEBUG: Python version is sys.version_
DEBUG: Platform is posix
pygtk2-
gtk+-1.
---> PROBLEM:
I have changed the default coloring for the "headings" [1-5] and for the "strong", "emphasis" and "mark".
Below is part of the ~/.config/
===
#mainly i have changed the colors, not the font (type|size).
[Tag strong]
weight=
foreground=#FF0000
[Tag emphasis]
weight=
foreground=#000000
[Tag mark]
background=#FF0000
foreground=#FFFFFF
weight=
# this is a sample of just one heading, but the rest are the same
[Tag h4]
foreground=#000000
weight=
scale=1.15
===
-> Steps to replicate:
1. Change your settings as above.
2. Type a sentence, lets say: Today is Friday.
3. Highlight the sentence, then choose Heading 4 (all sentence should be black colored)
4. Highlight the word "Friday" and apply the "strong" filter (that will make it red)
5. Now we should have the "Today is" in black "heading" formatting, and "Friday" in red.
6. Close zim and reopen it.
7. Now you see the Today is on one line, and the Friday being on the line beneath. Example:
Today is
Friday.
---> RESOLUTION
n/a
What you see has nothing to do with the custom colors. It is current behavior of zim that if you make something "strong" it can not be a "heading" at the same time. So by formatting part of the heading as "strong" it is no longer part of the heading.
Agreed that this may be unexpected behavior, but at the moment this is expected behavior.
REgards,
Jaap