Opened 10 years ago

Last modified 10 years ago

#3222 new bug

Wrong gradients

Reported by: humdinger Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/Icon-O-Matic Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

This is hrev28717.

Have a look at the attached two images. Both show two rectangles using the same gradient style from white to black.

Picture 1: Shouldn't the upper rect be completely white at the left edge and should the deepest black be much nearer the right edge? The frame you see around the canvas is the size-box of the gradient style.

Picture 2: See the changed size-box of the gradient style. I squeezed it horizontally until the white appears at the left edge of the upper rect. This is actually how I imagine the left of the rect should look in the gradient configuration of picture 1. Also, note that the right, black side of the rect hasn't changed.

Something's wrong here. Could it be something with Artur's gradient work?

Attachments (2)

Icon-O-Matic-1.png (12.2 KB) - added by humdinger 10 years ago.
Icon-O-Matic-2.png (11.4 KB) - added by humdinger 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by humdinger

Attachment: Icon-O-Matic-1.png added

Changed 10 years ago by humdinger

Attachment: Icon-O-Matic-2.png added

comment:1 Changed 10 years ago by stippi

Yes, it's a known problem in Icon-O-Matic. The transformation box wraps wrongly around linear gradients. It has nothing to do with Artur's gradient work. I need to fix it in a way, though, that does not break all existing icons, but that should be doable by fixing both the initial transformation and how the transform box wraps around linear gradients. By the way, the wrong wrapping happens in this way: The gradient start is where the right edge of the box is mirrored at the left edge:

          .---------.
          |         |
|---------+----o----|
          |         |
          .---------.

Note: See TracTickets for help on using tickets.