Summary: | bug in review bar, custom tool, text comment color gets reverted | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | severin.kunz |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | nate, oliver.sander, simgunz |
Priority: | NOR | ||
Version: | 1.6.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
severin.kunz
2019-11-01 06:49:05 UTC
Update: I just noticed that the appropriate color will be displayed when I move the textfield. Simone, will this be fixed by your rewrite of the annotation tools? I cannot reproduce it in the current okular version (1.8.2). Just to be clear, with 'text comment' you mean 'Typewriter', right? Can you: - post the result of `grep Annotation ~/.config/okularpartrc` when the problem occurs - create a text annotation (it is displayed black), right click on it > Properties and check what color is displayed there (if the correct one blue/red or black) - try to backup and delete `~/.config/okularpartrc` and try to reproduce the bug FWIW I can't reproduce either. Actually, I can reproduce it. > Just to be clear, with 'text comment' you mean 'Typewriter', right? Yes > Can you: > - post the result of `grep Annotation ~/.config/okularpartrc` when the problem occurs AnnotationTools=<tool id="1" type="note-linked"><engine color="#ffffff00" type="PickPoint" hoverIcon="tool-note"><annotation icon="Note" color="#ffffff00" type="Text"/></engine><shortcut>1</shortcut></tool>,<tool id="2" type="note-inline"><engine block="true" color="#ffffff00" type="PickPoint" hoverIcon="tool-note-inline"><annotation width="1" font="Noto Sans\\,8\\,-1\\,5\\,50\\,0\\,0\\,0\\,0\\,0\\,Regular" color="#ffffff00" type="FreeText"/></engine><shortcut>2</shortcut></tool>,<tool id="3" type="ink"><engine color="#ffff0000" type="SmoothLine"><annotation width="1" color="#ffff0000" type="Ink"/></engine><shortcut>3</shortcut></tool>,<tool id="4" type="highlight"><engine color="#ffffff00" type="TextSelector"><annotation color="#ffffff00" type="Highlight"/></engine><shortcut>4</shortcut></tool>,<tool id="5" type="straight-line"><engine points="2" color="#ffff5500" type="PolyLine"><annotation startStyle="5" width="1" endStyle="1" color="#ffff5500" type="Line" leadFwd="10" leadBack="10"/></engine><shortcut>5</shortcut></tool>,<tool id="6" type="polygon"><engine points="-1" color="#ff007eee" type="PolyLine"><annotation width="1" color="#ff007eee" type="Line"/></engine><shortcut>6</shortcut></tool>,<tool id="7" type="stamp"><engine block="true" type="PickPoint" hoverIcon="okular" size="64"><annotation icon="okular" type="Stamp"/></engine><shortcut>7</shortcut></tool>,<tool id="8" type="underline"><engine color="#ff000000" type="TextSelector"><annotation color="#ff000000" type="Underline"/></engine><shortcut>8</shortcut></tool>,<tool id="9" type="ellipse"><engine block="true" color="#ff00ffff" type="PickPoint"><annotation width="5" color="#ff00ffff" type="GeomCircle"/></engine><shortcut>9</shortcut></tool>,<tool id="10" type="typewriter"><engine block="true" type="PickPoint"><annotation textColor="#0000ff" width="0" color="#00ffffff" type="Typewriter"/></engine></tool> > - create a text annotation (it is displayed black), right click on it > Properties and check what color is displayed there (if the correct one blue/red or black) blue > - try to backup and delete `~/.config/okularpartrc` and try to reproduce the bug The problem persists. The settings look correct. The fact that when the annotation is moved the color is set to the correct one suggests that it is something related to how the annotation is rendered. The new annotation toolbar is not going to fix this. |