Page 1 of 1

1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 25 Jul 2020, 22:23
by eltomito
Hi!

I just tried the 1.2-rc1 real quick and the main menu looks wrong with the modern skin (the angular circles one). Everything's fine until you hover the mouse over a button. It makes the button image get bigger but it's cropped inside its original rectangle so the right and bottom sides of the enlarged button get cut off.

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 26 Jul 2020, 02:57
by benau
cannot reproduce on my own, you always reproduce it?

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 26 Jul 2020, 07:53
by eltomito
Yes, it's always like that. Here's a video: https://vimeo.com/441730559

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 26 Jul 2020, 09:55
by benau
can you post your config.xml and last stdout.log here?

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 26 Jul 2020, 13:47
by eltomito
Here it is.

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 26 Jul 2020, 21:21
by forum
Erm, maybe I am impolite to ask this: Why was this new skin added? It is so different compared to the other skin (which has nice different colour flavours) and does not so easily fit to the overall theme of STK. I know that I am uttering only my personal flavour/feeling and really do not want to offend anybody. There is maybe a good reason to have a modern skin, too, but please do not abondon the other skin. Thanks for your kind consideration and for accepting my apologies to have chimed in here.

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 26 Jul 2020, 21:47
by eltomito
forum {l Wrote}:Erm, maybe I am impolite to ask this: Why was this new skin added? ...

Could you start a new thread for this? I think it'll be an interesting discussion but I'd like to keep this thread for dealing with this bug. Thanks! :D

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 26 Jul 2020, 22:40
by jin
Hi, looking at your log, you are using the SVG version of the modern skin.But stk 1.2 rc1 uses the PNG version of the modern skin. So you must load a different modern skin somewhere else.You can check
- <stk install directory>/data/skins
- ~/.local/share/supertuxkart/addons/

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 27 Jul 2020, 00:34
by eltomito
jin {l Wrote}:Hi, looking at your log, you are using the SVG version of the modern skin.But stk 1.2 rc1 uses the PNG version of the modern skin. So you must load a different modern skin somewhere else.You can check
- <stk install directory>/data/skins
- ~/.local/share/supertuxkart/addons/


I deleted the relevant .svg files and tried again but no luck. The main menu looked exactly the same. The new stdout.log is attached.

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 27 Jul 2020, 01:13
by benau
last stdout.log is just stdout.log, not stdout-2.log....

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 27 Jul 2020, 01:16
by benau
i also see .svg stuff in your latest log...

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 27 Jul 2020, 01:18
by benau
because it will not do any bad or good when adding 1 more new skin forum

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 27 Jul 2020, 03:22
by jin
Hi eltomito, If you see something like
{l Code}: {l Select All Code}
[warn   ] Material: Missing container id for xxx.svg, no texture compression for it will be done.

It means you are using a SVG skin. Maybe try searching by name to locate the svg files.

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 27 Jul 2020, 11:31
by eltomito
benau {l Wrote}:last stdout.log is just stdout.log, not stdout-2.log....


I know. I renamed it "stdout-2.log" to show it's a different file than the previous attachment.

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 27 Jul 2020, 13:27
by eltomito
Okay, problem solved: There was a copy of an older version of the modern theme in my ~/.local/share/supertuxkart/addons/skins folder and it didn't work with the new version of stk.

Is it okay that this happened? I installed 1.2-rc1 by compiling the git branch from source and then doing
{l Code}: {l Select All Code}
sudo make install
.
Shouldn't it rewrite the old stuff in my local stk folder? Or is it intentional that whatever is there stays there?

And thank you for your help, benau & jin!

Re: 1.2 rc1 - Modern Skin Bug in the Main Menu

PostPosted: 27 Jul 2020, 14:32
by benau
Make install wont touch .local folder