https://bugs.freedesktop.org/show_bug.cgi?id=34585

--- Comment #12 from tmacalp <tmac...@gmail.com> ---
I just marked another report as a dupe of this one.  The interesting thing
about that report is that the no-fill frame inherited its background from a
table's cell's background color.  

No-Fill frames seem to behave very differently based on where they are
anchored. Here is a list of how a no-fill frame behaves when anchored to a...

1 Page with no set background
  The page background is ultimately white, so the inserted frame sets its
background color to white, obscuring objects arranged behind it.

2 Page with set color background
  The frame takes background color of the page. This frame will obscure any
objects behind it. 

3 Page with graphic background
  The inserted frame does some magic and changes its background to be a cutout
of the page's background image.  This means it will *appear* to be transparent
until you arrange the frame on top of another object.  Then it shows straight
through to the page's background.

4 Another frame with no set background
  The inserted frame takes background color (white if that frame didn't inherit
a background from its anchor point). This frame will obscure objects/page
background behind it. 

5 Another frame with set color background
  The inserted frame takes background color. This frame will obscure
objects/page background behind it. 

6 Another frame with 100% transparent background
  The inserted frame takes background color from its anchor point, which was
transparent, and works like we would expect. Both frames now work like we would
expect a no-fill frame to, and show through to objects in the background.

7 Another frame with graphic background
  The inserted frame behaves kind of like it does when anchored to a page with
a graphic background.  It changes its background to be cutout of anchor point's
background.  Again, this means it will *appear* to be transparent until you put
it on top of another object. It does something REALLY funky when the no fill
frame that runs outside the parent graphic frame.  Since it's just inheriting
the background frame's graphic, it will tile that graphic instead of showing
through to the actual page's background.

8 Frame with gradient background
  The inserted frame changes background to be the same as anchor point's
background.  At the least, it should be set to behave like if it were anchored
to a frame with a graphic background, with pseudo-transparency.  But it does
something even worse--it sets its background to the same style of gradient but
reproduces it on the scale of the inside frame.

9 Table with no background
  The frame takes background color (white if default). This frame will obscure
objects/page background behind it.

10 Table with set color background
  The frame takes background color. This frame will obscure objects/page
background behind it.

11 Table with graphic background
  The frame behaves like it does when anchored to a frame with a graphic
background.  It changes its background to be cutout of anchor point's
background.  Again, this means it will *appear* to be transparent until it runs
out of the table. It then does the same funky thing a no fill frame does when
anchored to another frame with a graphic background and tiles the graphic,
obscuring any objects/page background behind it.

12 Paragraph with background set to color  (the case of this bug report!)
  The frame uses the anchor point's background color.  The paragraph style
overrides any other container style (page/frame/table), so the no fill frame
will have a background of the paragraph style, even if it's in a container with
another background.  This will obscure any objects behind the no-fill frame.

13 Paragraph with graphic background
  The frame uses the anchor point's background color, which is a graphic.  I'm
not sure when you would ever use a graphic as a background for a paragraph, but
that's another story.  Just like with the paragraph with a colored background,
the inserted frame will override any container backgrounds.  It will act like a
no fill frame inserted into a frame or table with a background, and begin to
tile the image when it's stretched.  It too will obscure any objects behind the
frame. 

14 Character style with any background
  The inserted frame falls back to the paragraph style, not using the character
style's background.  It doesn't inherit the character's style, even when
anchored to character.

I'm sure there are more cases of things that frames can be anchored to/inherit
its background from, but these were the only examples I could think of.  I
could even create a sample document with examples if needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to