HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: grimes on 2018-10-03 21:21:27

Title: Win 10 1809: Rating stars
Post by: grimes on 2018-10-03 21:21:27
The rating stars in foobar2000 are not working anymore with new Windows 10 Version 1809.
Title: Re: Win 10 1809: Rating stars
Post by: Decalicatan_Decalicatan on 2018-10-03 22:31:21
Yep, same issue here (also with Windows 10 Version 1809)
Title: Re: Win 10 1809: Rating stars
Post by: Case on 2018-10-04 06:26:10
Unfortunately it appears 1809 broke system-wide font substitution. Programs that do substitution in code, like browsers and Office, can display the unicode characters that aren't present in the active font. But majority of programs rely on the OS doing this automatically. For example Explorer can no longer show the characters.
Title: Re: Win 10 1809: Rating stars
Post by: Rollin on 2018-10-06 06:24:32
What if use $char(9733) instead of ★ and $char(9734) instead of ☆ in tittle formatting and set Segoe UI for playlist (or where stars should be displayed) in File->Preferences>Default user interface->Colors and fonts->Fonts?
I don't have windows 10 so i can't test this myself.
Title: Re: Win 10 1809: Rating stars
Post by: grimes on 2018-10-06 12:35:38
$char(9733) doesn't work. The correct characters from font Segoe UI Symbol are:  (full star) and  (empty star). Please copy and paste these characters in your foobar2000.
The complete syntax is:
Code: [Select]
$repeat(,%rating%)$repeat(,$sub(5,%rating%))
(Maybe the browser can't display the characters correctly, but Win 10 can do)
Title: Re: Win 10 1809: Rating stars
Post by: Rollin on 2018-10-06 14:34:50
Don't know how badly windows 10 is broken, but
http://www.fileformat.info/info/unicode/char/2606/index.htm
http://www.fileformat.info/info/unicode/char/2605/index.htm
Title: Re: Win 10 1809: Rating stars
Post by: Case on 2018-10-06 22:05:40
Using the unicode character directly or with $char() method makes no difference to the problem. I have stars visible in playlist just by switching from Segoe UI to Segoe UI Symbol without altering the characters. The characters grimes linked are larger stars than the regular ones.
Title: Re: Win 10 1809: Rating stars
Post by: spottedmahn on 2018-10-07 03:24:31
(Maybe the browser can't display the characters correctly, but Win 10 can do)

FYI, the characters display properly (https://github.com/spottedmahn/my-blog/issues/21#issuecomment-427620292) on GitHub:
(https://user-images.githubusercontent.com/14079228/46577485-7f31c880-c9b6-11e8-9041-4d97c35a5504.png)
Title: Re: Win 10 1809: Rating stars
Post by: kode54 on 2018-10-07 22:13:18
Another lovely thing contributing to why 1809 was pulled.
Title: Re: Win 10 1809: Rating stars
Post by: spottedmahn on 2018-10-11 13:40:09
The workaround has some issues:


(https://user-images.githubusercontent.com/14079228/46804566-f48ff700-cd30-11e8-85b9-8e4b94ee9125.png)
Title: Re: Win 10 1809: Rating stars
Post by: grimes on 2018-10-11 15:38:16
I found other stars, that don't have that glitch:
Code: [Select]
$pad($repeat(,%rating%), 5,)

You have to add the code also to Preferences | Display | Default User Interface
Title: Re: Win 10 1809: Rating stars
Post by: spottedmahn on 2018-10-18 05:01:15
Yep, you're right, thanks! 👍

GTG 😊
Title: Re: Win 10 1809: Rating stars
Post by: kutuzof on 2018-10-18 06:33:26
And how to be with NG Playlist

(https://s8.hostingkartinok.com/uploads/images/2018/10/d8c6f1b751647e05aeee6aab2f60cee4.png)
Title: Re: Win 10 1809: Rating stars
Post by: Sergey77 on 2018-10-18 13:23:19
And how to be with NG Playlist
You can try "[%rating_stars%]" or "[%rating_stars_fixed%]".
Title: Re: Win 10 1809: Rating stars
Post by: kutuzof on 2018-10-19 08:13:21
And how to be with NG Playlist
You can try "[%rating_stars%]" or "[%rating_stars_fixed%]".

Thanks, but it doesn't work.
Title: Re: Win 10 1809: Rating stars
Post by: PeterMac on 2018-10-28 04:35:06
Same problem

(https://i.postimg.cc/JnSQHGsC/Bez-nazwy-2.png)
Title: Re: Win 10 1809: Rating stars
Post by: PeterMac on 2018-10-30 00:58:37
...
Title: Re: Win 10 1809: Rating stars
Post by: gob on 2018-11-17 21:22:35
Another easy work around is to change your playlist font to Segoe UI Symbol. I use CUI, but I'm pretty sure it can be done in DUI as well. And it likely wont work if you have rating stars in the titlebar either.
Title: Re: Win 10 1809: Rating stars
Post by: Kougeru on 2018-11-29 19:01:51
sadly changing to Segoe UI symbol did not resolve it for me
Title: Re: Win 10 1809: Rating stars
Post by: anamorphic on 2018-11-29 20:23:19
sadly changing to Segoe UI symbol did not resolve it for me
Did you also try the alternate stars from reply #10 or #4 above?
Title: Re: Win 10 1809: Rating stars
Post by: simcut on 2019-01-20 18:02:07
Damn it, Microsoft are taking their sweet time to fix something which seems so simple.... :S
Title: Re: Win 10 1809: Rating stars
Post by: VEG on 2019-01-20 20:44:21
Probably, they are just not willing to fix it =)
Title: Re: Win 10 1809: Rating stars
Post by: Case on 2019-01-21 07:01:15
Unfortunately Microsoft doesn't seem to do behavior changing fixes until a version changes. I fear the font issue won't be solved until version 1903. Can someone running Insider builds of the future release verify if the issue even is fixed there?
Title: Re: Win 10 1809: Rating stars
Post by: musicmusic on 2019-01-21 17:18:59
It seems to now be working correctly on my laptop with the 17763.288 preview update. Perhaps someone else on the release preview ring could check if they're seeing the same.

[Edit] The latest preview cumulative update is in fact 17763.292.
Title: Re: Win 10 1809: Rating stars
Post by: musicmusic on 2019-01-22 23:00:06
The update is now official: https://support.microsoft.com/en-gb/help/4476976

Mentioned there is:
Quote
Addresses an issue that causes some symbols to appear in a square box on a text control.
Title: Re: Win 10 1809: Rating stars
Post by: im_special on 2019-01-23 05:05:08
Yup, today's update fixed this, can confirm. :P
Title: Re: Win 10 1809: Rating stars
Post by: Case on 2019-01-23 06:39:11
Nice to be positively surprised. I really expected the fix to require the next version upgrade.
Title: Re: Win 10 1809: Rating stars
Post by: Kischa on 2019-01-23 18:13:47
The update is now official: https://support.microsoft.com/en-gb/help/4476976

Mentioned there is:
Quote
Addresses an issue that causes some symbols to appear in a square box on a text control.

Great thanks for the link!
Title: Re: Win 10 1809: Rating stars
Post by: Aiki on 2019-03-10 11:49:36
Hello, since update Win 10 1809, impossible to connect with my android tablet to my computer. Someone has advice. Thank you