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

          Priority: medium
            Bug ID: 80294
          Assignee: [email protected]
           Summary: FORMATTING: Confusing two different types of
                    "transparency" for images and strange influence on
                    background color
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.3.0.1 rc
         Component: Writer
           Product: LibreOffice

Created attachment 101438
  --> https://bugs.freedesktop.org/attachment.cgi?id=101438&action=edit
Test document, corresponds to the result after step 5.

Playing a bit with image formatting I encountered something I felt was rather
unintuitive and confusing.

To reproduce:
1. Insert an image into an empty writer document and position it in front of
text (with text running behind it).
2. Double-click the image in order to bring up the image properties dialog.
3. Change to the "Crop" tab and enter *negative* values to for, lets say, left
and right side. 
4. Klick OK. The image frame now becomes wider than the image (as expected and
shown on the preview.).
5. Re-open the same dialog and change to the 8th tab ("Bereich" in German,
probably "Area" in English.) Choose a nice color for the background, e.g.
green. Klick OK to close the dialog. 

Expected result: The area between frame and image turns green.
Actual result: Nothing happens. (Actually, if you have a border around the
image, that border will now get a slight green inner border.)

Lets continue:
6. Click on the image and make sure the "Image" toolbar is visble
7. In the image toolbar, there is a spinner text field for transparency, by
default set to 0%. Change it to 1%.

Expected result: Almost no difference
Actual result: Now the green border left and right of the image becomes
visible. The one I found missing after step 5.

Lets continue:
8. Increase the transparency to 50% and watch how the image turns more and more
green. OK.
9. Remove the green background. Now the image becomes semi-tramsparent and the
text behind it can be seen. Makes sense.
10. Set the transparency in the image toolbar to 1% (not 0!).
11. Open up the image properties dialog. Again set the background color to
green
12. Change to the adjacent "transparency" tab and change the transparency to
50%.

Expected result: The same as in step 8: The image becomes rather greenish.
Actual result: The green background becomes semi-transparent.

Conclusion:
The "Transparency" section in the image properties only controls the
transparency of the background color (if any). Without a background color it
has no effect.
The "Transparency" in the image toolbar, however, effects the image itself.
The different effect of the two is completely undocumented. Even the LibO help
does not make it clear, the transpacency of *what* is actually changed.

Proposed changes:
1. The background transparency settings should be located in the same tab as
the background color. These settings should only be visible if the user has
selected a background at all (since, as we saw, it has no effect otherwise).
2. If there is to be a separate "Transparency" setting at all in the image
properties dialog, it should imho have the same effect as the transparency
spinner on the toolbar, that is, it should control the transparency of the
image itself.
4. The help should make it clear to the user what objects are affected by which
transparency setting.
5. For reasons of consistency the image background must be also visible if the
image transparency is set to 0%, not just if it is set to 1% or above.

Does this make sense?
Operating System: Windows 7
Version: 4.3.0.1 rc

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

Reply via email to