Bug 285034

Summary: opacity tag in tools.xml not works properly
Product: [Applications] okular Reporter: dinya <sidorovdi>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dinya 2011-10-26 19:07:05 UTC
Version:           unspecified
OS:                Linux

Part from tools.xml

<annotatingTools>
...
  <tool id="3" name="Green Freehand Line" pixmap="tool-ink-okular">
  <tooltip>Green Ink</tooltip> 
  <engine type="SmoothLine" color="#00FF00">
  <annotation type="Ink" color="#00FF00" width="3" opacity="40" /> 
  </engine>
  <shortcut>3</shortcut> 
  </tool>
...
</annotatingTools>

If opacity="0" in okular line will be not shown. If opacity > 0, then it automatically sets to 100%.

Reproducible: Always

Steps to Reproduce:
If opacity="0" in okular line will be not shown. If opacity > 0, then it automatically sets to 100%.


Expected Results:  
opacity value in tools.xml must affect okular opacity on desirable way.
Comment 1 Albert Astals Cid 2011-10-26 20:09:35 UTC
PBKAC opacity range goes from 0 to 1
Comment 2 dinya 2011-10-26 20:23:28 UTC
Sorry :-[. Is it from CSS?

(In reply to comment #1)
> PBKAC opacity range goes from 0 to 1