Bug 285034 - opacity tag in tools.xml not works properly
Summary: opacity tag in tools.xml not works properly
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 19:07 UTC by dinya
Modified: 2011-10-26 20:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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