[okular] [Bug 508735] Opening a PDF with text added by Firefox, Okular shows said text as an "inline note" with a transparent background.

Unlisted Person bugzilla_noreply at kde.org
Tue Oct 7 15:39:16 BST 2025


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

--- Comment #8 from Unlisted Person <kdemail at jeo.net> ---
(In reply to Albert Astals Cid from comment #7)
> So left is firefox, right is okular
> 
> https://i.imgur.com/F8CxjfT.png
> 
> I can't see what the difference is.
> 
> Please help me figure it out

See https://imgur.com/a/tlofFCJ with explanations below

Step 1. Edit text in Firefox (see Image 1) You can see past the text . I moved
the text  over the green drawing for clarity.  Save the file. 

Step 2. Open that file in Okular. Note that the text is NOT "Typewriter" but
"Inline Note"  Edit the "inline Note" properties  in Okular. Note that in
editing the properties of that Inline note  There is no "transparent" option
for the background color (or perhaps "no background color"?). Once you've
picked any color and hit "apply" the inline note box covers everything behind
it.  (See image 2 with Right click on the text and select properties and select
"Color:" . )


Key points: 
  *  "transparent" or "no background" is NOT one of the possible options. 
  * If one clicks "Apply" with any changes affecting the background, you cannot
get back to text with a transparent background in Okular.   

Save the file. 

Step 3. Edit the saved file in Firefox. The text now shows up with a
transparent background again.  (not shown, but essentially the same as Image 3
below) . Save the file. 

Step 4. Edit that file again in Okular. (See image 3).  Note that the text
background shows as  transparent again in Okular. 

Step 5. Just move that text box in Okular.  Only move it, nothing else.
Suddenly the background is no longer transparent (See image 4) 

A PDF editing program (it's Firefox for me) that adds text  as an "inline note
with a transparent background"  (or perhaps with the background color as
unset?) makes Oklular give odd behavior when encountering that PDF. 

----
Updates since last note: 

Browser: firefox  143.0.1-1  6836  latest/stable  mozilla
Kernel: 6.14.0-29-generic

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


More information about the Okular-devel mailing list