It is currently March 29th, 2024, 8:08 am

[BUG] Shape Meter Fill Gradient - random behavior

Report bugs with the Rainmeter application and suggest features.
User avatar
protator
Posts: 26
Joined: October 14th, 2014, 11:15 pm

[BUG] Shape Meter Fill Gradient - random behavior

Post by protator »

I've tried to get this to work in several different ways but just can't get more than two identical shape meters with linear fill gradients to display properly.

These four should look identical :

Image


I tried this :

Code: Select all

[Rainmeter]

  Update              = -1
  MiddleMouseUpAction = [!Refresh]
  DynamicWindowSize   = 1
  
[Meter1]

  Meter = Shape
  
  X = 0
  Y = 0
    
  SharedModifiers = StrokeWidth 2 | Stroke LinearGradient Gradient_Stroke | Fill LinearGradient Gradient_Fill
  Gradient_Stroke = 200 | 255,255,255,255 ; 0.0 | 255,255,255,0 ; 0.5
  Gradient_Fill   =  50 | 255,255,255,255 ; 0.0 | 255,255,255,0 ; 0.5
  
  Shape  = Path Path1 | Extend SharedModifiers
  Path1  = 20,20  | LineTo 170,20 | LineTo 170,520 | LineTo 20,520  | ClosePath 1
  
  Shape2 = Path Path2 | Extend SharedModifiers
  Path2  = 180,20 | LineTo 330,20 | LineTo 330,520 | LineTo 180,520 | ClosePath 1
 
  Shape3 = Path Path3 | Extend SharedModifiers
  Path3  = 340,20 | LineTo 490,20 | LineTo 490,520 | LineTo 340,520 | ClosePath 1
  
  Shape4 = Path Path4 | Extend SharedModifiers
  Path4  = 500,20 | LineTo 650,20 | LineTo 650,520 | LineTo 500,520 | ClosePath 1
  
and this

Code: Select all

[Rainmeter]

  Update              = -1
  MiddleMouseUpAction = [!Refresh]
  DynamicWindowSize   = 1
  
[Style]
  
  X = 0
  Y = 0
    
  SharedModifiers = StrokeWidth 2 | Stroke LinearGradient Gradient_Stroke | Fill LinearGradient Gradient_Fill
  Gradient_Stroke = 200 | 255,255,255,255 ; 0.0 | 255,255,255,0 ; 0.5
  Gradient_Fill   =  50 | 255,255,255,255 ; 0.0 | 255,255,255,0 ; 0.5
  
[Meter1]
  
  Meter = Shape
  MeterStyle = Style
  
  Shape = Path Path1 | Extend SharedModifiers
  Path1 = 20,20 | LineTo 170,20 | LineTo 170,520 | LineTo 20,520 | ClosePath 1

[Meter2]
  
  Meter = Shape
  MeterStyle = Style
  
  Shape = Path Path2 | Extend SharedModifiers
  Path2 = 180,20 | LineTo 330,20 | LineTo 330,520 | LineTo 180,520 | ClosePath 1
  
[Meter3]
  
  Meter = Shape
  MeterStyle = Style
  
  Shape = Path Path3 | Extend SharedModifiers
  Path3 = 340,20 | LineTo 490,20 | LineTo 490,520 | LineTo 340,520 | ClosePath 1
  
[Meter4]
  
  Meter = Shape
  MeterStyle = Style
  
  Shape = Path Path4 | Extend SharedModifiers
  Path4 = 500,20 | LineTo 650,20 | LineTo 650,520 | LineTo 500,520 | ClosePath 1
  
and of course fully defining all shapes wihout using any styles or shared modifiers.


But the result is always like in the screeshot. And it's not always the first two instnces that are displayed wrong.
When I define a different number of shape meters/ shapes, the pattern changes.

With twelve of these frames for example the first five will look normal and the remaining seven will look like the first two in the screenshot.

:???:
User avatar
Brian
Developer
Posts: 2674
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: [BUG] Shape Meter Fill Gradient - random behavior

Post by Brian »

Thank you for reporting, this should be fixed by the next beta release.

-Brian
User avatar
protator
Posts: 26
Joined: October 14th, 2014, 11:15 pm

Re: [BUG] Shape Meter Fill Gradient - random behavior

Post by protator »

And Thank you for the work you're putting into all these features.