<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Libre Office Draw: OCR text jump to front of image"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138810">138810</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Libre Office Draw: OCR text jump to front of image
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.1.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Draw
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ajku500@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I am using Libre Office Version: 7.0.1.2 Build ID: 00(Build:2) CPU threads: 2;
OS: Linux 4.15; UC:\fakepath\Sample-raster-OCRmypdf-pdf.odfI render: default;
VCL: gtk3 Locale: en-IN (en_IN); UI: en-US Ubuntu package version:
1:7.0.1_rc2-0ubuntu0.18.04.1 Calc: threaded

I noted that whenever I open a pdf file made of image + OCR in Libre Office
Draw for editing the last most text/or text in a line/ or complete text on a
page on every page is visible above the image. This cause lot of problem if I
am working with 100s of pages. I have to select image on every page and move it
to front. 

I further noted in my system I scanned image using HP deskjet 1050 scanner
using Xsane.:
(Condition-1) If I open this image for editing in Gimp or okular and ocr
resulting pdf. The resultant pdf show problem as described above.
(Condition-2) If I just OCR my scanned pdf file(without editing with any other
siftware) and then open resulting file in Libre Office Draw it shows such
issues.
I also downloaded .pdf with OCR files from various websites and found similar
problem as described above.


Steps to Reproduce:
1. take a image or .pdf file open it with okular/ gimp and print it as .pdf
file using option force rasterization.
2. ocr resulting .pdf file using any ocr software in my case ocrmypdf. 
3. open resulting .pdf file in Libre Office Draw. Any of the ocr text will be
visible above the image. 
4. export .pdf from Libre Office Draw. the resulting .pdf will also have same
issue. 

Actual Results:
The ocr text must be on back of image as it was in source pdf. But opened file
and resulting .pdf both have any of the ocr text visible on front of the image. 

Expected Results:
The ocr text must be on back of image as it was in source pdf.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Discussion about problem here:
<a href="https://ask.libreoffice.org/en/question/281660/libre-office-draw-ocr-text-jump-to-front-of-image/">https://ask.libreoffice.org/en/question/281660/libre-office-draw-ocr-text-jump-to-front-of-image/</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>