It is currently December 10th, 2018, 8:56 pm

Issue with ImageCrop [Rainmeter 4.3 beta]

Testing and discussion of the conversion of Rainmeter to D2D.
Marian
Posts: 5
Joined: March 19th, 2017, 8:14 am

Issue with ImageCrop [Rainmeter 4.3 beta]

Marian » December 2nd, 2018, 1:13 pm

Hi,
in the new version 4.3 r3266, function "ImageCrop" probably works badly compared to older versions.
TestImageCrop.gif
I found a way to fix this bug in version 4.3 (below) but it's not an ideal solution because not compatible with previous versions.

Code: Select all

[Icon_Reflection]
Meter=Image
ImageName=opera.png
TransformationMatrix=1;0;0;-1;0;(#H#+[MeasureReflectionHeight])
X=0
Y=0
W=#W#
H=#H# -----------> H=[MeasureReflectionHeight]
ImageCrop=0,(#H#-[MeasureReflectionHeight]),#W#,#H#
ImageAlpha=128
DynamicVariables=1
You do not have the required permissions to view the files attached to this post.
Marian
Posts: 5
Joined: March 19th, 2017, 8:14 am

Re: Issue with ImageCrop [Rainmeter 4.3 beta]

Marian » December 6th, 2018, 4:52 pm

For me, unfortunately, this is a problem, because I have to make compatibility with version 4.3 in my skin. Although I'm prepared to do so I do not like the authors' approach to backward compatibility. Someone will say something ? :)
User avatar
Brian
Developer
Posts: 1793
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Issue with ImageCrop [Rainmeter 4.3 beta]

Brian » December 6th, 2018, 6:01 pm

We are aware of the issue and are working toward a solution.

In the meantime I would like to point out a few things.
1. When developing Rainmeter, our first and most important goal to preserve backwards compatibility with older skins. This means that a skin made 10 years ago should look and operate in the exact same way today as it did 10 years ago. We work really hard to accomplish this, sometimes even giving up performance to do so. In very rare cases some options no longer work, or need to be changed (or fixed?) that causes some older skins to function improperly. These cases are usually very rare and we will document and inform everyone when making that change.

2. The beta cycle. Like all software, we go through a beta cycle. In most cases, major bugs have already been fixed before a beta release. However, in the 4.3 beta cycle, we have had two major improvements that have fundamentally changed our code base enough that it has been really difficult to "catch" some of these bugs before we decided to do a beta release. Since there are so many options and different ways of manipulating Rainmeter objects, we have to rely on bug reports (like this one) in order to help prioritize which bugs get worked on first.

Suffice to say, we will get to this issue (hopefully soon), and have a remedy before we do a 4.3 final version of Rainmeter. Again, backwards compatibility is our #1 goal, so I wouldn't recommend publishing a "special" skin for 4.3 users until we have worked out all the kinks.

3. Time. Our development team are volunteers and spend their free time contributing to this project for free. Work, school, and family will always take priority in our lives and finding the free time to work on this great project can be difficult at times.

-Brian
Marian
Posts: 5
Joined: March 19th, 2017, 8:14 am

Re: Issue with ImageCrop [Rainmeter 4.3 beta]

Marian » December 6th, 2018, 6:27 pm

I understand it perfectly well as a programmer. I was surprised that no answer to this request :)
I've already prepared a skin that adapts itself to the Rainmeter version, but it required build a plugin to check the version of file (in this case Rainmeter.exe). Due to the fact that it affects the responsiveness of the skin, I don't want to use this solution for the time being.

By the way, it is a pity that the current version of the Rainmeter cannot be read as built-in variables.

I wanted to provoke a discussion writing this post. Have a nice evening! ;-)