gmusicbrowser Forum

Main board => Questions => Topic started by: DonVla on December 31, 2020, 13:02:44

Title: Control icons are not displayed correctly
Post by: DonVla on December 31, 2020, 13:02:44
Hi all!

Since upgrading to gtk3 control icons are not displayed correctly. I attached a screenshot to visualize the problem.
The layout is a self-made layout called "TabbedPlaylist". But I think it has anything to do with the layout, since I used this layout with former gtk2 versions. Everything worked fine. Though i do not know if settings have changed with the transition to gtk3.

I do not know if it's a bug or else. I also cannot get custom icons to work.
I tried to install these icons: https://gitlab.com/JustPerfection/Platinum-Icon-set-for-GMusicbrowser/-/tree/master. They do not even show up in the "Layouts" options.

Has this occurred to anybody else? Any ideas?

Thanks in advance,

Vlad


PS: I am using gmb on archlinux. Current gmb version is 1.1.99.1.
Title: Re: Control icons are not displayed correctly
Post by: Quentin Sculo on December 31, 2020, 17:57:03
It's a known issue, it's only if you're not using a gmb icon theme I think (changing the icon theme requires a restart because it's currently a mess) it's affecting the gtk theme icons that have a direction (left-to-right or right-to-left) because my code tries to check if the icon exists but it doesn't work for them.
The whole icon code needs fixing, I'll focus on it soon.
Title: ReĀ : Control icons are not displayed correctly
Post by: DonVla on December 31, 2020, 18:24:06
Using the default gmb icon theme solves this issue.
Thank you very much, Quentin!
Title: Re: Control icons are not displayed correctly
Post by: DonVla on January 01, 2021, 13:26:50
Quote from: Quentin Sculo on December 31, 2020, 17:57:03It's a known issue, it's only if you're not using a gmb icon theme I think (changing the icon theme requires a restart because it's currently a mess) it's affecting the gtk theme icons that have a direction (left-to-right or right-to-left) because my code tries to check if the icon exists but it doesn't work for them.
The whole icon code needs fixing, I'll focus on it soon.
Do you actually need a hand?
I have some programming experience though not in Perl but Java and Python. Do you have a good starting point to get used to Perl and particularly to your code?