[Okular-devel] [okular] [Bug 359016] New: Setting annotation opacity lower than 100% results in 0% opacity

via KDE Bugzilla bugzilla_noreply at kde.org
Fri Feb 5 10:56:31 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=359016

            Bug ID: 359016
           Summary: Setting annotation opacity lower than 100% results in
                    0% opacity
           Product: okular
           Version: 0.21.3
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: opensuse.lietuviu.kalba at gmail.com

Editing default opacity of annotation, results to creating invisible
anotations, if opacity is not equal 100%.

Reproducible: Always

Steps to Reproduce:
1. Open Okular
2. Press F6 to show annotations bar
3. rigth-click annotations bar to configure it
4. Edit some item by changing opacity value, e.g. set 30%
5. Save changes
6. Try use edited annotation by highlighting some text

Actual Results:  
Annotation is invisible, but if you rigth-click in text, you can edit
anotation. You see 0% value for opacity.

Expected Results:  
Opacity value is same as defined (e.g. 30%)

If I open ~/.kde4/share/config/okularpartrc
I see strange opacity="0\\,3" value:

[Reviews]
AnnotationTools=<tool type="strikeout" id="13"><engine type="TextSelector"
color="#ff0000"><annotation opacity="0\\,3" type="StrikeOut"
color="#ff0000"/></engine></tool>

But the correct one should be:
[Reviews]
AnnotationTools=<tool type="strikeout" id="13"><engine type="TextSelector"
color="#ff0000"><annotation opacity="0.3" type="StrikeOut"
color="#ff0000"/></engine></tool>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list