<table><tr><td style="">dileepsankhla edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-fjjluro5ta2rms7/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13203">View Revision</a></tr></table><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Test for forwards and backwards compatibility of #AARRGGBB and #RRGGBB color formats.<br />
<br />
1.1. Test for backwards compatibility:<br />
<br />
1. open a test.txt file in older Okular (i.e. compiled from master branch)<br />
2. add some annotations (inline note, eclipse, ...)<br />
3. save the document to test.okular document archive<br />
4. unpack the okular archive<br />
    `unzip test.okular`<br />
5. open metadata.xml and check if all <annotation> ...color=... </annotation> attributes are in #RRGGBB format<br />
6. pack the archive again<br />
    `zip test_rrggbb.okular content.xml test.txt metadata.xml`<br />
7. open test_rrggbb.okular in Okular with D13203 applied<br />
8. check if annotations are painted with colors as expected. It should work!<br />
<br />
1.2. Test for forwards compatibility:<br />
<br />
1. open a test.txt file in Okular with D13203 applied<br />
2. add some annotations (inline note, eclipse, ...)<br />
3. save the document to test.okular document archive<br />
4. unpack the okular archive<br />
    `unzip test.okular`<br />
5. open metadata.xml and check if all <annotation>...color=...</annotation> attributes are in #AARRGGBB format<br />
6. pack the archive again<br />
    `zip test_aarrggbb.okular content.xml test.txt metadata.xml`<br />
7. open test_aarrggbb.okular in older Okular (i.e. compiled from master branch)<br />
8. check if annotations are painted with colors as expected. It should work!</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13203">https://phabricator.kde.org/D13203</a></div></div><br /><div><strong>To: </strong>dileepsankhla, tobiasdeiminger<br /><strong>Cc: </strong>ltoscano, ngraham, tobiasdeiminger, aacid, okular-devel<br /></div>