1.2 rc1 - Modern Skin Bug in the Main Menu

1.2 rc1 - Modern Skin Bug in the Main Menu

Postby eltomito » 25 Jul 2020, 22:23

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.
User avatar
eltomito
 
Posts: 300
Joined: 15 Mar 2013, 09:25

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

Postby benau » 26 Jul 2020, 02:57

cannot reproduce on my own, you always reproduce it?
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

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

Postby eltomito » 26 Jul 2020, 07:53

Yes, it's always like that. Here's a video: https://vimeo.com/441730559
User avatar
eltomito
 
Posts: 300
Joined: 15 Mar 2013, 09:25

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

Postby benau » 26 Jul 2020, 09:55

can you post your config.xml and last stdout.log here?
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

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

Postby eltomito » 26 Jul 2020, 13:47

Here it is.
Attachments
config.xml
the config
(17.22 KiB) Downloaded 157 times
stdout.log
shell output
(13.41 KiB) Downloaded 161 times
User avatar
eltomito
 
Posts: 300
Joined: 15 Mar 2013, 09:25

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

Postby forum » 26 Jul 2020, 21:21

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.
Best regards, 7wells
forum
 
Posts: 176
Joined: 04 May 2020, 12:29

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

Postby eltomito » 26 Jul 2020, 21:47

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
User avatar
eltomito
 
Posts: 300
Joined: 15 Mar 2013, 09:25

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

Postby jin » 26 Jul 2020, 22:40

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/
jin
 
Posts: 23
Joined: 29 May 2013, 17:53

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

Postby eltomito » 27 Jul 2020, 00:34

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.
Attachments
stdout-2.log
(13.5 KiB) Downloaded 154 times
User avatar
eltomito
 
Posts: 300
Joined: 15 Mar 2013, 09:25

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

Postby benau » 27 Jul 2020, 01:13

last stdout.log is just stdout.log, not stdout-2.log....
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

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

Postby benau » 27 Jul 2020, 01:16

i also see .svg stuff in your latest log...
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

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

Postby benau » 27 Jul 2020, 01:18

because it will not do any bad or good when adding 1 more new skin forum
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

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

Postby jin » 27 Jul 2020, 03:22

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.
jin
 
Posts: 23
Joined: 29 May 2013, 17:53

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

Postby eltomito » 27 Jul 2020, 11:31

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.
User avatar
eltomito
 
Posts: 300
Joined: 15 Mar 2013, 09:25

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

Postby eltomito » 27 Jul 2020, 13:27

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!
User avatar
eltomito
 
Posts: 300
Joined: 15 Mar 2013, 09:25

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

Postby benau » 27 Jul 2020, 14:32

Make install wont touch .local folder
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Who is online

Users browsing this forum: Bing [Bot] and 1 guest