Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_title, new version for 0.9 (Read 279466 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

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.


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.


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.

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.

Re: foo_title, new version for 0.9

Reply #380
Looks like it needs VS2015 C++ redist (x86).

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.

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.

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 :)

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%.

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.

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 HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HIFIMAN ANANDA, HIFIMAN Arya, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7, FiiO FT5, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself) Shall I write more?

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).

Re: foo_title, new version for 0.9

Reply #389
Many Thanks.  ;)
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HIFIMAN ANANDA, HIFIMAN Arya, AKG K712 PRO, SONY MDR-1AM2, Bowers & Wilkins P7, FiiO FT5, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself) Shall I write more?

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).

Re: foo_title, new version for 0.9

Reply #391
Version: 1.0.3
Link: https://github.com/TheQwertiest/foo_title/releases/tag/v1.0.3
Changelog:
    Added
    • Added 'persistent' attribute to layer (see docs).
    • Added animated .gif support to 'absolute-images' layer.
    Changed
    • Updated Milk Plate skin to make use of new 'persistent' attribute: now the panel's state is persistent across fb2k launches.
    • Updated White skin to make use of .gif support.

Re: foo_title, new version for 0.9

Reply #392
Version: 1.0.4
Link: https://github.com/TheQwertiest/foo_title/releases/tag/v1.0.4
Changelog:
    Added
    • Added in-built DPI scaling, which is enabled by default (see docs).
    Changed
    • Removed 'scaleable' attribute from text layer.
    Fixed
    • Fixed bug: preferences changes were not always reverted, when exiting without applying those changes.

PS: @mindtempest no .svg support (yet?) though :P

Re: foo_title, new version for 0.9

Reply #393
Version: 1.0.4a (1.0.4.32228)
Link: https://github.com/TheQwertiest/foo_title/releases/tag/v1.0.4a
Changelog:
    Fixed
    • Fixed text truncation when DPI scaling is enabled.
    • Fixed invalid height of the default text in flourish skin (link).

PS: foo_title version can be checked in Preferences > Components > foo_title.

Re: foo_title, new version for 0.9

Reply #394
Version: 1.0.5
Link: https://github.com/TheQwertiest/foo_title/releases/tag/v1.0.5
Changelog:
    Changed
    • Rebuilt with the latest fb2k SDK (2018-02-05).

This also fixed some crashes in foo_title on fb2k exit.

Re: foo_title, new version for 0.9

Reply #395
Hi there @TheQwertiest ,

It appears the View > 'Activate and Hide' / 'Hide' menu command only works in foo_title if the user has 'Minimize hides, close exits' set in Preferences >> Background and Notifications. With either of the other two settings, it Activates fine, but refuses to Hide, although the commands work fine directly from the (shift key-) View menu. I hope you can fix as it becomes a slight nuisance to skin functionality. (FB 1.4.2 / .3 and Win10)

Also while I'm here, if you are open to feature requests, an option under foo_title 'Enabled' preferences for "Show and hide with foobar" would be handy. The scenario being I was thinking of using it as an overlay to the DUI to fancy it up some.

I've had quite the fun messing around with this component, lots of possibilities. :)

Thanks

 

Re: foo_title, new version for 0.9

Reply #396
Thanks for your kind words :)
Regretfully, I currently don't have enough time to develop this component, so I can't provide any ETA on fixing bugs or adding new features =(
I really do want rewrite big chunks of it to make it more stable...

Re: foo_title, new version for 0.9

Reply #397
how come white text (FFFFFFFF) ends up as a"grey-ish" e4e4e4 even though I've set color="FFFFFFFF"?

Code: [Select]
    <layer name="background" type="fill-images">
        <geometry type="full">
            <padding left="0" top="0" right="0" bottom="0"/>
        </geometry>
        <contents>
            <image position="left" src="left.png" />
            <image position="center" repeat="true" src="middle.png" />
            <image position="right" src="right.png" />
        </contents>

    </layer>

    <layer name="text1" type="text">
        <geometry type="full">
            <padding left="0" top="2" right="72" bottom="0" />
        </geometry>
        <contents  font="Semplice Regular" size="6">
            <label position="left" color="FFFFFFFF" bold="false">  %artist% - %title%</label>
        </contents>
    </layer>
<layer name="text2" type="text">
        <geometry type="absolute">
<size x="200" y="13" />
<position x="-4" y="2" align="right" />
</geometry>
        <contents spacing="10" font="Semplice Regular" size="6">
            <label position="right" color="FFFFFFFF" bold="false">[-%playback_time_remaining% / ]%_length%  </label>
        </contents>
    </layer>

    <layer name="fill" type="absolute-images">
        <geometry type="absolute">
            <size x="100" y="20" />
            <position x="0" y="0" align="left" />
        </geometry>
        <contents>
        </contents>
    </layer>

Re: foo_title, new version for 0.9

Reply #398
Looks white to me, depends on surrounding colors as well, as far as appearance goes.

Re: foo_title, new version for 0.9

Reply #399
"Looks white to me". ::)
FFFFFFFF should give fully opaque white text according to the documentation.
When I set to my actual desired color, FFF5F5F5 it ends up as #DBDBDB