Skip to main content

Topic: foo_title, new version for 0.9 (Read 220945 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • TheQwertiest
  • [*][*]
Re: foo_title, new version for 0.9
Reply #375
Version: 0.9.4
Link: https://github.com/TheQwertiest/foo_title/releases
Changelog:
    Added
    • Added ability to display tooltip (docs).
    • Added align attribute to minimal geometry (docs).
    • Added skin loading time logging to foobar2000 console.
    Changed
    • Reduced CPU usage.
    • Renamed dotnet_title.dll to foo_title.dll.
    • Skin's name for preferences page is taken from skin.xml now, rather than from directory's name.
    • Added skin's author's name to the skin list.
    Fixed
    • Disabled foo_title window dragging when the mouse is over button layer, thus preventing accidental button presses.
    • Preferences page now displays only folders containing skin.xml.
    • Fixed anchor drawing.


  • TheQwertiest
  • [*][*]
Re: foo_title, new version for 0.9
Reply #376
FYI: I've updated documentation on the wiki ( http://wiki.hydrogenaud.io/index.php?title=Foobar2000:0.9_Titlebar_(foo_title) ), so it should be a little bit easier to find various info on component usage and it's features.

  • TheQwertiest
  • [*][*]
Re: foo_title, new version for 0.9
Reply #377
Version: 0.9.4a
Link: https://github.com/TheQwertiest/foo_title/releases
Changelog:
  • Fixed crash on exit from foobar2000.

  • TheQwertiest
  • [*][*]
Re: foo_title, new version for 0.9
Reply #378
Version: 1.0.0
Link: https://github.com/TheQwertiest/foo_title/releases/tag/v1.0.0
v1.0.0 Changelog:
    Added
    • Added >>gallery<< showcasing stock and user-created skins.
    • Updated various user-created skins for v1.0.0 (see git directory).
    • Added 'speed' property to animation (see docs).
    Changed
    • Greatly reduced CPU usage: now UI is redrawn only on request and won't be redrawn if there is nothing to do.
    • Renamed "Update Interval" in Preferences to "Maximum refresh rate" to better reflect it's new meaning.
    • Skin list loading is now asynchronous.
    • Tweaked skin list for cleaner look.
    • Updated to .NET 4.5.
    Fixed
    • Fixed bug: foo_title might move beyond screen borders, when changing to skin with different anchor position.
    • Fixed bug: inconsistent fade-out animation when mouse is leaving foo_title.

v0.9.5 Changelog:
    Added
    • Added 'clip' property to skin element: set to false to disable clipping (see docs).
    • Added 'no-content' layer type: this layer has no contents itself and is used solely for positioning other layers, it is also transparent for tool-tip layer detection (see docs).
    Changed
    • Updated Milk Plate skin.
    Fixed
    • Fixed tool-tip behavior on complex skins.
    • Fixed 'minimal' type geometry behavior on complex skins.
    • Fixed error that prevented the filling of the skin list, when one of the skins is not parsable.
    • Fixed clipping not being applied.
  • Last Edit: 17 August, 2017, 10:37:53 AM by TheQwertiest

Re: foo_title, new version for 0.9
Reply #379
Version: 1.0.0

Nice to see someone else still developing this plugin!

I have also been using it all the while, but have recently found that it broke partially on Windows 10 resolution scaling screens (such as most modern laptops). The font size gets scaled but the window size does not, making the skins look terrible.

I tried downloading your version, but it was giving me the error:

Failed to load DLL: foo_managed_wrapper.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000.

Attempting to install it on a portable version results in the error:


I am on Windows 10 and have .NET 4.5 installed (along with the .NET 2.0,3.0 and 3.5 from the old foo_title. )  Do you have any idea what else I can do to fix it, such as a debug version or debug log that I should look at?

I'm guessing that it's some old part of foo_title that is interfering with the install? FWIW, the plugin does work on a FB2k fresh install on a different computer, so it's almost certainly something on my laptop that's causing the issue.
  • Last Edit: 10 September, 2017, 11:42:30 AM by mindtempest

  • marc2003
  • [*][*][*][*][*]
  • Developer
Re: foo_title, new version for 0.9
Reply #380
Looks like it needs VS2015 C++ redist (x86).

  • TheQwertiest
  • [*][*]
Re: foo_title, new version for 0.9
Reply #381
@mindtempest I've never tried running foo_title with different resolution scalings, but I will look into it.

@marc2003 Yes, you are right, I should've added it to installation instructions. If it won't bloat component size by much though, I'll just use the static run-time next release.

Re: foo_title, new version for 0.9
Reply #382
Looks like it needs VS2015 C++ redist (x86).

Thanks, that was exactly what was needed!

@TheQwertiest , thanks for the work so far! The mismatch in album art (and the inability to display embedded art) was pretty annoying, so thanks so much for fixing that!
I guess implementing proper scaling in a plugin with so many moving parts is a nontrivial issue (if what happened after Apple decided to implement Retina displays on iPhones is any indication). For one, all of the bitmaps are going to be messed up by the scaling (I used raster art for my skins' buttons), and would likely have to be moved to some kind of vector drawing system in order to work properly with scaling.
I'd guess that allowing the scale variable to be passed to the skin would allow for the best performance, since the skin author would then be able to handle it themselves (perhaps with multiple sets of raster art). Also, the issue can be addressed (albeit in a sub-par manner) by allowing a flag for the font to not scale as per the system's scaling settings.

  • TheQwertiest
  • [*][*]
Re: foo_title, new version for 0.9
Reply #383
The mismatch in album art (and the inability to display embedded art) was pretty annoying, so thanks so much for fixing that!
Can't take credit for this one. It was LepkoQQ (https://github.com/LepkoQQ), who fixed it =)

I guess implementing proper scaling in a plugin with so many moving parts is a nontrivial issue
I would rather say built-in DPI support (i.e. without rewriting the skins) is impossible without creating some cumbersome and non-intuitive logic.

all of the bitmaps are going to be messed up by the scaling
They shouldn't be: in the worst case they just will be stretched (if the original image size was too small).

I'd guess that allowing the scale variable to be passed to the skin would allow for the best performance, since the skin author would then be able to handle it themselves (perhaps with multiple sets of raster art).
It will require some sort of math engine to make calculations and some way to pass the DPI/scale value.  I had some thoughts about adding simple math engine not so long ago, so I might do it some time in the future.

Also, the issue can be addressed (albeit in a sub-par manner) by allowing a flag for the font to not scale as per the system's scaling settings.
Heh, that's exactly what I've done, actually. I will release a version with fix after I sort out the problem with preferences page on high-DPI screens.
  • Last Edit: 11 September, 2017, 11:44:42 AM by TheQwertiest

Re: foo_title, new version for 0.9
Reply #384
They shouldn't be: in the worst case they just will be stretched (if the original image size was too small).

Yeah, exactly. If you've used a Retina iPhone in the time when the App Store's apps were still transitioning to support the new phones, you would see exactly that: stretched images. They looked horrible next to the crisp fonts and vector art since they were at the wrong resolution and were stretched to fit. I guess in the larger scheme of things it's a minor concern, but I'd prefer for that not to happen, especially since it's 2017.

It would definitely be great if this great plugin can be refreshed for the high-resolution screen era :)

  • TheQwertiest
  • [*][*]
Re: foo_title, new version for 0.9
Reply #385
Version: 1.0.1
Link: https://github.com/TheQwertiest/foo_title/releases/tag/v1.0.1
Changelog:
    Added
    • Added 'scaleable' attribute to text layers (see docs).
    Fixed
    • Text is not scaled with DPI by default now, thus preserving skins, that are not compatible with scaling, from breaking on high DPI screens.
    • Fixed preferences page being cut-off, when resolution scaling is above 100%.
  • Last Edit: 14 September, 2017, 10:03:59 AM by TheQwertiest

  • TheQwertiest
  • [*][*]
Re: foo_title, new version for 0.9
Reply #386
[!] Reuploaded 1.0.1 version: now it displays text layer correctly.
Fixed version's build number is 1.0.1.34648.
  • Last Edit: 14 September, 2017, 12:23:26 PM by TheQwertiest

  • Air KEN
  • [*]
Re: foo_title, new version for 0.9
Reply #387
How can I check the version of foo_title?
The version of foo_managed_wrapper.dll (0.7.1) is the same.
It is hard to understand.
SHURE SRH1840, SENNHEISER HD650, Beyerdynamic DT 1990 PRO, B&W P7, HIFIMAN HE400i, Ultrasone Performance 880, AKG K712 PRO, SONY MDR-1ABT, Bose QuietComfort 35 wireless, SENNHEISER HD 4.50BTNC (made a Upgrade/Balanced Cable by myself)

  • TheQwertiest
  • [*][*]
Re: foo_title, new version for 0.9
Reply #388
How can I check the version of foo_title?
The version of foo_managed_wrapper.dll (0.7.1) is the same.
It is hard to understand.
Sorry about that.

TLDR:
Spoiler (click to show/hide)

Full story: the component itself is composed of two parts:
  • foo_managed_wrapper: this one actually is just a C# wrapper on foobar2000 calls and does nothing by itself. It could be used to load other C# modules apart from foo_title. It is loaded through standard foobar2000 component mechanisms. It's version is displayed on the main components page (Preferences -> Components)
  • foo_title: the actual implementation of foo_title popup, where all the (C#) magic lies. It is loaded through foo_managed_wrapper and not directly via foobar2000 components interface. It's version is displayed in the bottom left corner of foo_title preferences (Preferences -> Display -> foo_title -> Main).
  • Last Edit: 15 September, 2017, 10:44:55 AM by TheQwertiest

  • Air KEN
  • [*]
Re: foo_title, new version for 0.9
Reply #389
Many Thanks.  ;)
SHURE SRH1840, SENNHEISER HD650, Beyerdynamic DT 1990 PRO, B&W P7, HIFIMAN HE400i, Ultrasone Performance 880, AKG K712 PRO, SONY MDR-1ABT, Bose QuietComfort 35 wireless, SENNHEISER HD 4.50BTNC (made a Upgrade/Balanced Cable by myself)

  • TheQwertiest
  • [*][*]
v1.0.2
Reply #390
Version: 1.0.2
Link: https://github.com/TheQwertiest/foo_title/releases/tag/v1.0.2
Changelog:
    Added
    • Added foo_title to Preferences -> Components menu. Thus it's possible to view foo_title's version from the same menu as other components.
    Changed
    Fixed
    • Fixed bug: 'enable when minimized' was not working at all.
    • Fixed inconsistent fade-in/fade-out animations (hopefully for the last time).
  • Last Edit: 22 September, 2017, 10:29:15 AM by TheQwertiest